
Yutian He
- 合計アクティビティ 25
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 2
- サブスクリプション 7
アクティビティの概要
Yutian Heさんの最近のアクティビティ-
Yutian Heさんが投稿を作成しました:
Gurobi solving SOCP problem
ユーザーの入力を待っています。Hi, I'm using Gurobi to solve an SOCP problem and have tried two different formulations. In the first approach, I define the constraint directly as follows: m.addConstrs(v[k,q,i,h]**2- (4*(1 + 1) *...
-
Yutian Heさんがコメントを作成しました:
Hi Riley, That works! Thank you so much! Best regards, Yutian
-
Yutian Heさんが投稿を作成しました:
Gurobi Constraints - 'gurobipy.LinExpr' object has no attribute 'shape'
回答済みHi, I'm working on an optimization problem in Gurobi where x and pi are the only variables. However, when defining the following constraints, I encountered the error: "'gurobipy.LinExpr' object has...
-
Yutian Heさんがコメントを作成しました:
Thank you so much Eli, that works!
-
Yutian Heさんがコメントを作成しました:
Got it! Thank you so much.
-
Yutian Heさんが投稿を作成しました:
Model too large for size-limited license
回答済みHi, Thank you so much for your continued help. I tried to solve a large model with Gurobi and I got the error said the model is too large. Then I applied for a WLS license and click the link https:...
-
Yutian Heさんがコメントを作成しました:
Hi Eli, Here is the minimal example I have for the quadratic constraint: b= array([0. , 0.125 , 0.14285714, 0.25 , 0.28571429, 0.375 , 0.42857143, 0.5 , 0.57142857,...
-
Yutian Heさんがコメントを作成しました:
Hi Eli, Thank you so much, this worked! And I have a general question about model.write(). I usually get this comment called: Warning: Q constraint 0 doesn't have a name I tried addQConstr, but st...
-
Yutian Heさんがコメントを作成しました:
Hi! I also got the same error here, I'm going to set this constraint: \sum_{i from 1 to m-1} ((b_{i+1} - b_i)*eta_i^2) <= nu. Could you please help me to check this? var_new = list(range(m-1)) var...
-
Yutian Heさんがコメントを作成しました:
Hi Riley, m1.addConstr(pi_a1@vector_a1 == 1) This code works very well with the previous definition of the pi_a1, thank you! Now I have two questions: When I changed pi to the new definition you w...