Marika Karbstein
Gurobi Staff- Total activity 498
- Last activity
- Member since
- Following 1 user
- Followed by 1 user
- Votes 1
- Subscriptions 244
Comments
Recent activity by Marika Karbstein-
In your example, it was not clear that "3" is an index of first_set and that you need a variable for each pair of first_set, second_set. Did you try x = m.addVars(first_set, second_set, vtype=GRB.C...
-
You probably wanted to do something like x[3] = m.addVars(second_set, vtype=GRB.CONTINUOUS) which adds multiple variables without defining specific bounds?
-
Hi Jonas, The lines for j in second_set: x[3,j] = m.addVar(3,j, vtype=GRB.CONTINUOUS) add variables with lower bound 3 and upper bound j=0/1/2 which is infeasible. In general, the article How do...
-
Hi Jan, It is not possible to retrieve the sub-optimal pool solutions during a callback since it is not possible to change parameters in a callback. You can only access the values for the current b...
-
I think to set solver-specific options in Pyomo, add a line like solver.options['DualReductions'] = 0 before solving the model.
-
Hi Jonas, You can access the solution value of a variable using the attribute X.Yes, the attribute Pi is not available when using the multi-objective feature.If you need the shadow prices and since...
-
Hi Anne, did you set the DualReductions parameter to 0, call reset on the model, and optimize once again as discussed here? Since you have the output "Model is infeasible or unbounded" you have to...
-
Hi Anne, I recommend checking this article How do I resolve the error "Model is infeasible or unbounded"? first. If your model is infeasible, attributes associated with a solution like ObjVal have ...
-
Hi Jonas, I do not know whether I understand you correctly. If you add the individual objectives with setObjectiveN() you can give the weight to be used for the blended multi-objective optimization...
-
Hi Thunwa, I am not quite sure about your model. But you need to use the m.addVars() method to create variables for Aux_Expo_noise1[k] and Aux_Expo_noise2[k] and also for Expo_noise_matrix[k] (if t...