Conditional constraint mixed integer programming
Mostrar comentarios más antiguos
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
Respuestas (0)
Categorías
Más información sobre Get Started with Optimization Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!