Christian Perau
- Total activity 28
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 7
Posts
Recent activity by Christian Perau-
Out of memory though memory is not exceeded
Awaiting user inputI am trying to solve a MILP using Bender's decomposition. Since there are many binary decision variables in the master, I need a lot of iterations. In the first iterations everything works just fin...
-
Modelling squared euclidean distance in objective function (C-API)
AnsweredI want to implement the following objective function in the C-API: min (x²-1) + (y²-1) As far as I see it in the documentation I would need to reformulate the objective function to min x²-2x+1 + y²...
-
ValueError using model.addMConstr since gurobipy 11.0.0
AnsweredSince updating to gurobipy I receive an ValueError when I try to use addMConstr if I include constraint names. Here is a minimal reproducible example: import gurobipy as gpfrom gurobipy import GRBi...
-
using cmake -H. -Bbuild fails
AnsweredHi, I am trying to use CMake to use gurobi in C like described in https://support.gurobi.com/hc/en-us/articles/360039499751-How-do-I-use-CMake-to-build-Gurobi-C-C-projects-. However, when I try to ...
-
Reduce memory usage of gurobipy Model
AnsweredHello, I am working with quite large linear models and finding myself with problems regarding memory usage. Building the model I observe a huge increase in memory consumption when I use model.addMV...
-
Gurobipy addMConstr() raises GurobiError: Name too long when passing list of names
AnsweredI am trying to add constraints via the model.addMConstr() method. For debugging purposes I want to add names to the variables (so I can use them in e.g. a .lp file). However when I try to pass a li...