
Marika Karbstein
-
Gurobi Staff
- Total activity 535
- Last activity
- Member since
- Following 1 user
- Followed by 1 user
- Votes 2
- Subscriptions 263
Comments
Recent activity by Marika Karbstein-
As I said I cannot reproduce the error from the code snippet you shared. Please provide a minimal reproducible example.
-
Hi Sam, Could you try to remove the line \(\texttt{price.update()}\)? A model update should not be done in this situation.However, I can only reproduce an error \(\texttt{"AttributeError: Unable to...
-
Hi Anibal, Unfortunately, there is no output for the variable hint with Gurobi version 10. But if you can upgrade to version 11.0, you will see \(\texttt{Using variable hints}\) in the log output. ...
-
Hi Anibal, Setting variable attributes can be done with Gurobi persistent solver, see GurobiPersistent — Pyomo 6.7.1 documentation Here is a small Python example import pyomo.environ as pyo# Defin...
-
Hi Samuel, There is no automatic way in gurobipy. But you can update the model by changing the attribute values, for example, RHS, Obj, LB, or UB using function Model.chgCoeff() to change a co...
-
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...
-
Hi Timothy, It looks like you are mixing matrix-friendly and term-based modeling in Python.Did you try to use Model.addVars() instead of Model.addMVar() ? Best regards,Marika
-
Hi Matthias, The behavior you experience is probably due to parallel solves, which Tobias describes in more detail in this comment. Best regards,Marika
-
Please note that the Pi attribute is only available for linear programs. We discuss this in the Knowledge Base article How do I retrieve the (dual) Pi value for a MIP problem?
-
What environment variables did you check? Did you also check GRB_LICENSE_FILE? It looks like this environment variable points to the old version.