Simon Bowly
Gurobi Staff Total activity 100
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 0
 Subscriptions 51
Activity overview
Latest activity by Simon Bowly
Simon Bowly commented,
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...

Simon Bowly commented,
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. ...

Simon Bowly commented,
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...

Simon Bowly commented,
Hi Jiang, I believe you need the following code to model the feasible set as the union of nonoverlapping polytopes: import gurobipy as gpfrom gurobipy import GRBimport numpy as np# Some random dat...

Simon Bowly commented,
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 matrixfriendly API: A = np.array([a1, a2, a3, a4]).transpose() # 5 ro...

Simon Bowly commented,
Hi Jiří, Looking at the IIS you've posted, only the following variables are free (i.e. not constrained as nonnegative): x_in[0] free x_in[3] free x_in[4] free x_in[6] free x_in[7] free In the LP ...

Simon Bowly commented,
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?

Simon Bowly commented,
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 rerunning the `grbgetkey` co...

Simon Bowly created an article,
How do I check the version of my Gurobi installation?
The current release of Gurobi is version 10.0.0. If you see v10.0.0rc2 in the logging output below, you are using the uptodate version. Using gurobi_cl If the full Gurobi package or conda packa...

Simon Bowly commented,
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...