Simon Bowly
-
Gurobi Staff
- Total activity 145
- Last activity
- Member since
- Following 0 users
- Followed by 1 user
- 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...
-
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 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...
-
Hi Abhishek, The Model.getAttr function expects a list or dictionary of gurobipy modelling objects as its second object, you cannot pass a single variable object. The following will return a list o...
-
Hi Afsoon, Can you please give a minimal, complete, working example here? I am not sure what xi is referring to and it's not clear what your expected result is.