
Marika Karbstein
-
Gurobi Staff
- Total activity 534
- Last activity
- Member since
- Following 1 user
- Followed by 1 user
- Votes 2
- Subscriptions 263
Comments
Votes on activity by Marika Karbstein-
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...
-
Could you provide more details about the problem? It may have multiple solutions. As long as the optimal objective value is the same (w.r.t. some tolerance), there is nothing to worry about if two ...
-
Hi Thomas, The function Model.setAttr() already exists. Cheers,Marika
-
Hi Marco, In the conditional statement if dist0 < r[s] and dist0 < r[x]: g.add_edges_from([(s, x), (x, s)]) # g is the graph nx.set_edge_attributes(g, {(s, x): {"V": 0}, (x, s): {"V": 0}}) only d...
-
Can you please confirm whether you use an Anaconda environment?If so could you please run conda list and check whether there is an entry called krb5? You may need to install this if it's not there.
-
We have seen this issue before when installing Gurobi from conda, this makes Gurobi not able to retrieve your username. Leading grbgetkey and grbprobe to fail. Could you please try installing the f...
-
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 ...