Conditional constraint mixed integer programming

4 ビュー (過去 30 日間)
Nana
Nana 2016 年 6 月 10 日
Hi,
Does anybody know how to write conditional constraint in mixed integer programming for this case:
if a == 0 then b = 1
else b = 0
-M <= a <= M
b={0,1}
Thanks.
Regards, Nana

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by