Simranjit Kaur
-
Gurobi Staff
- 合計アクティビティ 5520
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 4ユーザー
- 投票 4
- サブスクリプション 2737
コメント
Simranjit Kaurによる最近のアクティビティ-
Hi Jirayu, The error you are seeing is coming from another part of your code. First, let's note that gp.max_ method takes a variable, a list of variables, or a tupledict of variables as arguments. ...
-
Hi, To find the maximum completion time for each machine, you can use the following code: Max_Completion_Time = m.addVars(Machines, vtype=GRB.CONTINUOUS, name="Max_Completion_Time")completion_ti...
-
Thanks, Enprimarika. It is a good step to name the constraints. However, without knowing the coefficients and the RHS of the constraints in the IIS, it is hard to tell what is leading to the infeas...
-
You can obtain additional information about the constraints R769 and R823 in the IIS by exporting an .ilp format file using model.write("conflict.ilp")
-
Hi, The model.write() call implicitly updates the model and processes all pending model modifications. In your example, when you add the lazy constraints using model.addConstr() and write the lp fi...
-
Hi Purnima, I don't see any errors in your code. The KeyError is raised because you are attempting to access a key that is not present in a dictionary. Please crosscheck that the data is read from ...
-
Hi, To use the gurobi_ml module, please ensure that you have installed the gurobi-machinelearning package. The package can be installed easily via pip: pip install gurobi-machinelearning For more ...
-
Hi, Unfortunately, it is not possible to write lazy constraints or user cuts added via callback with Model.write() function directly. However, you can workaround this by tracking the lazy constrain...
-
Hi, The behaviour you are observing occurs mostly when a model has numerical issues. Numerical issues can sometimes result in the simplex algorithm declaring the model infeasible while the IIS cons...
-
Hi Ramesh, To ensure that D is zero when the binary variable C is zero, you can add another indicator constraint: m.addConstr( (C==0) >> (D==0) ) Alternatively, you can add a Big-M constraint, m.a...