![](https://support.gurobi.com/system/photos/360590794798/sb-headshot.jpeg)
Simon Bowly
- Total activity 149
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 75
Comments
Recent 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 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...
-
This deprecation warning comes from newer versions of numpy, please see https://support.gurobi.com/hc/en-us/articles/16534198159889 for further information. Your code in the screenshot looks correc...
-
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...
-
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 term-based modelin...
-
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...