Desicion varible adding problem
AnsweredI am trying to get this variable into my model.
I put the Job (i,j) into a multidict and the machines are in a list.

How can I add this desicion variable into my model?
I am pretty new to Gurobi so I would really appreciate any advice here.
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Dear Maureen,
Please check out this post:
Adding Consecutive Shifts Constraint – Gurobi Support PortalThis example should also be applicable to your problem.
Cheers,
Matthias0
Post is closed for comments.
Comments
2 comments