Qiru MA
- 合計アクティビティ 8
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 2
- サブスクリプション 2
アクティビティの概要
Qiru MAさんの最近のアクティビティ-
Qiru MAさんが投稿を作成しました:
Adding conditional constraints to the model
回答済みI have trouble with implementing the conditional constraint: # when E_i[i] == m, we want to let G_i_m[i, m] == 1# when E_i[i] != m, we want to let G_i_m[i, m] == 0 I got this error: gurobipy.Gurobi...
-
Qiru MAさんがコメントを作成しました:
Hi Simranjit, Problem solved. As a novice for Gurobi, I appreciate your help. Best, Qiru
-
Qiru MAさんがコメントを作成しました:
Hi Simranjit, Thanks for your reply. I consider this transformation brilliant. However, when I modify the code and rerun it, the following error occurs: MODEL.addConstr(b[2]*e1 + b[4]*e2 + b[7]*e3 ...
-
Qiru MAさんが投稿を作成しました:
Got error when using the variable as the index for accessing another new variable
回答済みIt seems that I use the variable as the index for accessing another new variable. But I don't know how to solve it. Thanks for your help. import gurobipy as gbMODEL = gb.Model()e1 = MODEL.addVar(vt...