Eli Towle
-
Gurobi Staff
- Total activity 1295
- Last activity
- Member since
- Following 0 users
- Followed by 4 users
- Votes 3
- Subscriptions 508
Comments
Recent activity by Eli Towle-
Hi Jonathan, Ah, yes, you're right that this is because you are passing an \( \texttt{MVar} \) object instead of a \( \texttt{Var} \) object. I missed that in my first (hasty) reading of your post....
-
Hi Jonathan, Can you try calling grbModel.update() before changing the coefficient? You can read more about this in the "Lazy Updates" section here. Essentially, if you want to immediately access a...
-
Hi Carlos, There's no way to change OutputFlag on a system level. An alternative approach (that may better fit your usage) is to create a \( \texttt{gurobi.env} \) file (see here) in the current wo...
-
This behavior was corrected by upgrading from Gurobi 7.5.2 to Gurobi 9.0.2. Eli
-
Hi Carlos, You could set the OutputFlag parameter before the Gurobi environment is even started. E.g.: import gurobipy as gpwith gp.Env(empty=True) as env: env.setParam('OutputFlag', 0) env.s...
-
Hi Barak, The best way to handle this on your end is to simply set the lower and upper bounds of those variables to the same value. Before doing anything else, Gurobi performs a "presolve" step tha...
-
Hi, How is this risk calculation performed? It would be helpful to see a short, self-contained code snippet. If the risk calculation depends on the variables of the MIP model, I don't see why it is...
-
Hi Philip, We would like to investigate this. I'll open up a support ticket for you in our online support portal. Thanks, Eli
-
Hi Sneha, I think there should be a space between \( \texttt{=} \) and \( \texttt{0} \) in constraints \( \texttt{C0} \) and \( \texttt{C1} \). There may be other similar spacing problems in the LP...
-
Hi Sneha, Introducing auxiliary variables seems like a good way to do this. We can create a new \( t \) variable for each inventory day, then base each day's inventory off of the previous day's inv...