
Ryuta Tamura
-
Gurobi Staff
- 合計アクティビティ 86
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 1
- サブスクリプション 32
アクティビティの概要
Ryuta Tamuraさんの最近のアクティビティ-
Ryuta Tamuraさんがコメントを作成しました:
Thank you for sharing your logs! I will take a look.
-
Ryuta Tamuraさんがコメントを作成しました:
Hi Xintong Zhou,Could you also provide a Gurobi Log showing this situation?Thanks,Ryuta
-
Ryuta Tamuraさんがコメントを作成しました:
Hi Ethan, As you saw in the error, Gurobi accepts a linear or quadratic function as the objective function. NLExpr is only available for constraints. However, you can use auxiliary variables to set...
-
Ryuta Tamuraさんがコメントを作成しました:
Any easy way to debug it? For example, you can do it by fixing ub and lb of all variables to their values and then use computeIIS to see which parts are violated. This article might be helpful. ...
-
Ryuta Tamuraさんがコメントを作成しました:
Hi,"var.X" attribute cannot be referenced directly in the callback. In your code, the return value of GetNodeRel, “x”, seems to have the values of the node solution. Please check the value of the v...
-
Ryuta Tamuraさんがコメントを作成しました:
Hi, But I still do not understand, why gurobi does not accept the complete solution? Have you checked the return value of cbUseSolution? If the given solution is not accepted, the value will be...
-
Ryuta Tamuraさんがコメントを作成しました:
Hi Noah, This article might be useful. This means that adding the constraint for the case of the binary variable is 0. For example: model.addGenConstrIndicator(CL_time_bin[i, (t_start, t_end)], Tru...
-
Ryuta Tamuraさんがコメントを作成しました:
This model will be Infeasible: m = gp.Model()x = m.addVar(lb=10, ub=10, name="x")y = m.addVar(lb=0,ub=0, name="y")z = m.addVar(name="z")m.addGenConstrNL(z,x/y)m.optimize() As this description stat...
-
Ryuta Tamuraさんがコメントを作成しました:
Hi, Please see this description. Gurobi implicitly tries to avoid division by zero. However, to avoid unexpected behavior, it is recommended to explicitly constrain the denominator to be non-zero s...
-
Ryuta Tamuraさんがコメントを作成しました:
Hi Audrius, As the error message states, the objective function must be linear or quadratic. This can be resolved using auxiliary variable and addGenConstrNL method: obj = m.addVar(name="obj")m.add...