Jonasz Staszek
Community Moderator- Total activity 309
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 16
- Subscriptions 126
Comments
Votes on activity by Jonasz Staszek-
Hi Phillip, you can model this via indicator constraints. Perhaps these two posts (here and here) will be helpful. Best regardsJonasz
-
I can't see any obvious red flags from afar. In the future, we will be better able to help you if you paste your code (and format it as such) in the post, rather than pasting a screenshot. To asses...
-
Dear Mohamad, I believe these resources (here and here) should be of help to you. Best regardsJonasz
-
Hi Andres, AFAIK both constraints and variables are specific to each model object in Gurobi. To get around this, you could for example declare your variables and constraints using only their indice...
-
Dear Micha, I recommend you familiarize yourself with these two (link, link) webinars about the basics of the use of Gurobi with Python. These should help you a great deal to arrive at the first im...
-
Hi Ethan, as Jaromił pointed out in his contribution some time ago, the network simplex routine will be officially released with Gurobi 10.0. Perhaps someone from Gurobi team can comment further? B...
-
Dear Marika, dear Morris, as a workaround, one can try to use indicator variables and constraints to model the desired behaviour (have a look here for an example). This will most likely not scale w...
-
I'm not sure I understood your question, but let me give it a try. Each variable has a VarName attribute. You could iterate over all the variables of the model, and check if "Journey2" is included ...
-
Hi Yikun, below comes my idea for tackling the problem you see. Perhaps someone from the Gurobi team can suggest a better approach? Generally, the idea would be to reformulate the model in such a w...
-
Hi Tanmoy, I am afraid you cannot delete variables when the optimization is running. Judging from the context of your post I assume you would like to remove variables after one optimization call ha...