conditional constraints
AnsweredI encounter a question
it's about inequality as below:
"if a<=b , then c=0"
but I don't really understand how to model it in Gurobi python
Can anyone assist in me, thx!
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?. -
Hi,
The math stackexchange post How to write if else statement in Linear programming? should be what you are looking for.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments