Simon Bowly
Gurobi Staff- Total activity 144
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 72
Activity overview
Latest activity by Simon Bowly-
Simon Bowly created an article,
Memory leak in gurobipy with Python 3.12
Affected versions: v11.0.0, v11.0.1, v11.0.2, v11.0.3To be resolved in version: Gurobi v12.0.0 In certain circumstances a memory leak can occur when using gurobipy 11.0.x and Python 3.12. The issue...
-
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.3 The matrix-friendly API in gurobipy is not yet compatible with numpy version 2.0. If you have installed guro...
-
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...
-
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 term-based 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 matrix-friendly API for sc...