
Jonasz Staszek
- Total activity 288
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 13
- Subscriptions 118
Activity overview
Latest activity by Jonasz Staszek-
Jonasz Staszek commented,
Hi Burcu, adding some meaningful names to your constraints. the documentation of the addConstrs() method mentions the 'name' parameter, which you can use to give your constraints a name. The same...
-
Jonasz Staszek commented,
Hi Burcu, this article should be of help. I would also recommend that you do add some meaningful names to your constraints. This way, it will be easier to analyze the IIS. You should also try gener...
-
Jonasz Staszek commented,
Hi Qiru, as discussed here, indicator constraints require binary variables as indicator variables. You may need to add an auxiliary binary variable to represent the relationship between \( E_i \) a...
-
Jonasz Staszek commented,
We then need more information. There could be many sources of the difficulties you see. What is the mathematical model you are trying to optimize? Which parameters did you already specify? Best reg...
-
Jonasz Staszek commented,
Dear Weng, based on the title of the question and the pasted log I take that you would like to improve the solution time for your model. The first thing I would look at is the MIPFocus parameter - ...
-
Jonasz Staszek commented,
Dear Florian, you seem to be using numpy arrays to come up with an objective statement, which is - in your case - a Gurobi QuadExpr. I would invite you to explore that section and to build your \( ...
-
Jonasz Staszek commented,
You need to change the lower bound of your continuous variable. Have a look at my first answer - I modified it accordingly. Best regardsJonasz
-
Jonasz Staszek commented,
Hi Charitha, it seems to me that you need to redefine your continuous variable to allow it to assume negative values. The default lower bound for continuous variables in Gurobi is 0. Try the follow...
-
Jonasz Staszek commented,
Hi Nan, Does this mean that building the model becomes faster if you use quicksum() or does also solving the model becomes faster when you use quicksum()? In principle, one can hope that building...
-
Jonasz Staszek commented,
Hi Sakir, I'm not sure I got your question right, but let me give it a shot. I would suggest the following approach: # I assume A and b are constants and x is defines as Gurobi variablez = model.ad...