
Marika Karbstein
-
Gurobi Staff
- Total activity 524
- Last activity
- Member since
- Following 1 user
- Followed by 1 user
- Votes 2
- Subscriptions 258
Comments
Votes on activity by Marika Karbstein-
Thanks for the additional information.Please note that the Matrix Python API is especially for models already given in matrix notation. It is not efficient to use mVars mixed with term-based notati...
-
Did you check the article How do I diagnose a wrong result?A common issue is that the default lower bound in Gurobi is 0.0 and not -INF as in other solvers.
-
Hi Jesse, In the log file, you can see that the best bound does not improve after the root node is solved; it stays at the value 6812335.05. Only incumbents improve the gap from 73% to 3%.You could...
-
I think there is no direct way. You can get the Indicator constraint via GRBModel.GetGenConstrIndicator Optimization then get the value of the linear expression (lhs) with GRBLinExpr.Value and comp...
-
One additional remark: 3. Also I don't know why there are 300 binary variables, because I already removed all binary vanribles I added to reduce calculation time Did you remove the variables comp...
-
Hi Yuri, To identify the RHS and the LHS of the constraint, you need to reformulate the constraint such that all variables are on the left-hand side and all constants are on the right-hand side. Re...
-
The problem is that you want to add a multilinear term.Please have a look How do I model multilinear terms in Gurobi?
-
You defined an unbounded model that is detected to be unbounded in the root relaxation.During presolve a solution is checked in your callback for feasibility. That's why you see the output of lazy ...
-
Hi Kasoer, Your timeBigM-constraints are also defined if j is the depot, this makes the model infeasible. Cheers, Marika
-
You could also check the Model Attributes, for example, MaxRHS. The threshold for the warning is 1e+09 for rhs, bounds, and obj coefficients. It is 1e+08 for matrix coefficients.But we recommend t...