Jonasz Staszek
-
Community Moderator
- Total activity 302
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 13
- Subscriptions 124
Comments
Recent activity by Jonasz Staszek-
Hi Anh, generally you should be able to achieve your objective by setting the SolutionLimit parameter to 1 - Gurobi will then terminate after finding the first integer-feasible solution. I can't pr...
-
Hi Anna, when you deactivate crossover, the barrier method may return a mid-face solution. An interesting discussion on this topic can be found here. Since your problem is MILP, Gurobi will need a ...
-
After a brief Google search I see that ConcreteModel() might be a pyomo-specific constructor. Are you using pyomo? If yes, I would redirect you to consult pyomo's documentation for further clarific...
-
How do you know which \(j\) index is to be used for the \(x\)-variable on the right-hand side of your constraint? This is probably the reason for your difficulties. I am not sure if I understood th...
-
What is your \(model\) object? Is it a gurobipy model? It needs to be one, otherwise the method won't work or its behavior could be different to what we expect to see. Best regardsJonasz
-
Looking from afar it seems to me that there is a problem with your \(j\) index - perhaps the for-loop is in the wrong place? Could you show the mathematical formulation of the constraint you would ...
-
Hi Joana, if you want to add a variable using Gurobi Python API, you need to use its syntax. Adding a single variable is usually done by the command model.addVar(). If you use a different modelling...
-
Hi Norbert, judging by both this question and the other one you posted, your problem seems to be a large and complex one. Without knowing the entire context it is difficult to suggest a single form...
-
Hi Xinshuo, perhaps this post will shed some light. Best regardsJonasz
-
Hi Santanu, I am afraid that the change you request would take a lot of time, and many of the algorithms Gurobi uses would not be as efficient as they are for binary programs. As a workaround, you ...