Simon Bowly
Gurobi Staff Total activity 133
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 0
 Subscriptions 67
Activity overview
Latest activity by Simon Bowly
Simon Bowly commented,
This deprecation warning comes from newer versions of numpy, please see https://support.gurobi.com/hc/enus/articles/16534198159889 for further information. Your code in the screenshot looks correc...

Simon Bowly commented,
Hi Richard, Currently, transpose is only implemented for MVars, not the corresponding expression objects (MLinExpr and MQuadExpr). You can work around it in this case by expanding out the transpose...

Simon Bowly commented,
Adding some extra detail here since this question comes up from time to time. The short answer is this: The usual simple tricks for parallelizing Python code do not work for the termbased modelin...

Simon Bowly created an article,
Resolved in Gurobi v10.0.3: Compatibility issues with numpy 1.25 and scipy 1.11
Affected versions: v9.0.x, v9.1.x, v9.5.0, v9.5.1, v9.5.2, v10.0.0, v1 0.0.1 , v10.0.2Resolved in version: Gurobi v10.0.3 Issue with sparse array incompatibility with the matrixfriendly API for sc...

Simon Bowly created an article,
Gurobi OptiMods error: "Given data exceeds Gurobi trial license limits"
When using the Gurobi OptiMods package, you may encounter the following error when attempting to run a Mod: Restricted license  for nonproduction use only  expires 20241028...ValueError: Given...

Simon Bowly commented,
Hi Saeid, If you are looking for a mapping in your model based on this dictionary, i.e. if x = 1 then y = 2, if x = 3 then y = 4, etc, then yes, you would need to introduce binary variables which e...

Simon Bowly commented,
Hi Saeid, No, you cannot use variables as keys. I am not sure I understand how this would help you here, could you clarify what you are trying to achieve? Maybe by writing down the mathematical for...

Simon Bowly commented,
Hi Madhushini, In your initial data setup, you should first create P_initialWt as a pandas series over the same Facility index as your other data: P_initialWt = pd.Series({'a': 0.1, 'b': 0.3, 'c': ...

Simon Bowly commented,
Hi Tanmoy, As noted in Specifying Multiple Objectives, a multiobjective model has only one sense. Negating the objective will certainly do the job, but a better alternative is to use weights. If ob...

Simon Bowly commented,
Hi Youssef, When you install gurobipy using pip, there is a trial license automatically included which is restrictive in terms of the size of the models it can solve. However, any other valid Gurob...