
Christian Perau
- Total activity 10
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Activity overview
Latest activity by Christian Perau-
Christian Perau commented,
Hi Jaromil, That´s what I expected. I guess that´s another downside of using python. Thank you very much for your explanation!Best regards,Christian
-
Christian Perau commented,
Hi Jaromil,sure! I was working with gurobi 9.5.2. Updating to 10.0 did however only slightly increase the memory usage. Here is an example. It definetly does not make any sense but will show the me...
-
Christian Perau created a post,
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...
-
Christian Perau commented,
Hi Tobias,I was wondering if you could also post an equivalent formulation for the solution for the python API as I am not too familiar with C.Thank you in advance! Best, Christian
-
Christian Perau commented,
Thanks for the quick response! I´m not sure I got this right, though. The problem is the implementation via gurobipy or in gurobi itself? Do you know where I could have a look in the future if I wa...
-
Christian Perau commented,
Sure, following code will raise the described error: import gurobipy as gpimport scipy.sparse as spimport numpy as npmodel = gp.Model()n = 1000data = np.full(n, 1)row = np.arange(n)col = np.arange(...
-
Christian Perau created a post,
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...