Marika Karbstein
Gurobi Staff- Total activity 465
- Last activity
- Member since
- Following 1 user
- Followed by 1 user
- Votes 1
- Subscriptions 230
Comments
Recent activity by Marika Karbstein-
Hi Jonas, I think you can use the Multiple Objectives feature of Gurobi. With Model.setObjectiveN() (for example for python) you can add your different objectives. By setting the same priority for ...
-
Could it be that this "external factor" is some data you read and that this differs in both scripts?
-
Hi Yaroslav, Since you noticed that the fingerprints are different, this is an indication that different models are solved.Did you try to export the model for both scripts to check if they indeed r...
-
Hi Sophie, Maybe the Gurobi example callback.py is helpful to see how a callback is included. Best regards,Marika
-
Hi María, How did you add your auxiliary variables?Doing like this import gurobipy as gpm = gp.Model("abs")x = m.addVars(5, vtype = gp.GRB.CONTINUOUS, name = "x")Iabs = m.addVar(vtype = gp.GRB.CON...
-
Hi, If you set the parameter PoolSearchMode to a non-default value, Gurobi tries to find n solutions where n equals PoolSolutions. If the MipGap is reached before n solutions are found, Gurobi cont...
-
Hi, gurobi_write(model, 'mymodel.mps.bz2') writes the model as mps and then compresses it. It is probably not necessary to use both commands: gurobi_write(model, 'mymodel.mps');gurobi_write(model, ...
-
Yes, you can use for loops and if statements to set the variables for i in N: for l in L: for k in K: if Z[i] > top_edge[l]: x[k,l,i].UB = 0 It is also possible ...
-
Hi Natalie, you do not need constraints. You can change the bounds of your variables, ie., x[k,l,i].UB= 0 for the respective cases. Maybe a look at the Gurobi examples also helps do get further ide...
-
Hi Natalie, You force some variables to be one but simultaneously create infeasible constraints. zMoveLimitLower[0,0,0]: 1.486237670110135 x[0,0,0] >= 0zMoveLimitLower[0,1,0]: 1.486237670110135 x[0...