
Simon Bowly
-
Gurobi Staff
- Total activity 147
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 74
Comments
Votes on activity by Simon Bowly-
It's not possible to do this via numpy's type casting functions; you need to construct constraints to specify the relationship between v and k. I'm assuming here that k_i are binary variables in th...
-
In your code, I think there may exist such a condition that: A has 5 rows, in this loop, if A[1,:]@X, A[2,:]@X, A[3,:]@X is smaller than b1[1], b1[2], b1[3] respectively, then z[1]==1 until now. ...
-
Hi Elena, It looks like you have a pandas Series somewhere in your algebraic expression. Are arrival_rate or service_time pandas data structures? If you are building Gurobi models using data stored...
-
Hi Muhummad, What you have here is a standard form matrix constraint, and the ideal way to model this is to use MVars and the matrix-friendly API: A = np.array([a1, a2, a3, a4]).transpose() # 5 ro...
-
Hi Jiří, Looking at the IIS you've posted, only the following variables are free (i.e. not constrained as non-negative): x_in[0] free x_in[3] free x_in[4] free x_in[6] free x_in[7] free In the LP ...
-
Hi Jesse, Can you please include a complete, minimal working example that reproduces the error, including how each of the variables and constants are created?
-
Hi Bryan, We had an issue with our license servers earlier today. If you have just installed your license, the license file may have been corrupted. Can you please try re-running the `grbgetkey` co...
-
Hi Evren, Can you clarify what you mean by "Gurobi returns that this solution is not better than the incumbent solution", when (if I'm reading your message correctly) Gurobi has no incumbent soluti...
-
You should be able to obtain this from the Slack attribute of the relevant capacity constraints. For inequality constraints, Slack reports the difference between the left- and right-hand sides for ...
-
Hi José, "v.index" will give you the index of the variable in the model. This is different from your indices i and j, as it is an internal Gurobi variable counter. I believe what you want is the fo...