conditional constraints
回答済みI 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
-
正式なコメント
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
投稿コメントは受け付けていません。
コメント
2件のコメント