
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-
The Makefile provided in the examples/build directory of the Gurobi installation is not intended as a template for building a production application. Rather, it is intended as a way to compile and ...
-
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...
-
Hi Jiang, I believe you need the following code to model the feasible set as the union of non-overlapping polytopes: import gurobipy as gpfrom gurobipy import GRBimport numpy as np# Some random dat...
-
Hi Prasanna, IPython/Jupyter displays the result of the last line of a cell by default - this isn't specific to gurobipy or addConstrs. You can suppress this output by ending the line with a semi-c...
-
Hi Daniele, We currently have a few issues with interactions between Var/LinExpr and MVar/MLinExpr. There were some fixes added to the most recent release (version 9.5.1) which should address your ...
-
Hi Ying, Thanks for reporting this. I agree with you that this is not the right behaviour, really any `nan` values in input data should result in an error when building a model. Evidently there is ...
-
Hi all, sorry for the delayed follow-up. Is everyone experiencing this issue using numpy in some way? If anyone has a minimal working example where the memory issue occurs and numpy is *not* involv...
-
Hi Samuel, gurobipy is tightly integrated with the Gurobi C API, so C code is called any time you make a gurobipy API call. For example: gp.Model(...) calls the C API to construct a model x = mode...
-
Hi Artem, The syntax of a generator expression in Python is defined here: https://docs.python.org/3/reference/expressions.html#generator-expressions. It's syntactically very similar to a list compr...
-
Hi Artem, I discovered that `model.addConstrs` does introspection on the provided generator frame. Indeed it does. This is really the only way to pull off this particular bit of magic; as you cor...