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!
-
Hi,
The math stackexchange post How to write if else statement in Linear programming? should be what you are looking for.
Best regards,
Jaromił
Please sign in to leave a comment.
Comments
1 comment