
Jonasz Staszek
-
Community Moderator
- Total activity 306
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 14
- Subscriptions 125
Comments
Recent activity by Jonasz Staszek-
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...
-
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...
-
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...
-
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...
-
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 - ...
-
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 \( ...
-
You need to change the lower bound of your continuous variable. Have a look at my first answer - I modified it accordingly. Best regardsJonasz
-
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...
-
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...
-
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...