Simon Bowly
-
Gurobi Staff
- Total activity 145
- Last activity
- Member since
- Following 0 users
- Followed by 1 user
- Votes 0
- Subscriptions 74
Activity overview
Latest activity by Simon Bowly-
Simon Bowly commented,
Hi Brannon,Thanks for your comments. First: if what you're after is simply a way to disable all output from all models, without dealing with Env objects at all, you can just do the following:import...
-
Simon Bowly commented,
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 ...
-
Simon Bowly commented,
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 ...
-
Simon Bowly created an article,
Resolved in gurobipy v12.0.0: Memory leak in gurobipy with Python 3.12
Affected versions: v11.0.0, v11.0.1, v11.0.2, v11.0.3Resolved in version: Gurobi v12.0.0In certain circumstances a memory leak can occur when using gurobipy 11.0.x and Python 3.12. The issue only a...
-
Simon Bowly commented,
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...
-
Simon Bowly created an article,
Resolved in gurobipy v11.0.3: Compatibility issues with numpy 2.0
Affected versions: v10.0.x, v11.0.0, v11.0.1, v11.0.2Resolved in version: Gurobi v11.0.3The matrix-friendly API in gurobipy is not yet compatible with numpy version 2.0. If you have installed gurob...
-
Simon Bowly commented,
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...
-
Simon Bowly commented,
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...
-
Simon Bowly commented,
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...
-
Simon Bowly commented,
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...