Conditional constraint mixed integer programming

4 visualizaciones (últimos 30 días)
Nana
Nana el 10 de Jun. de 2016
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 Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by