Conditional constraint mixed integer programming
4 visualizaciones (últimos 30 días)
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
0 comentarios
Respuestas (0)
Ver también
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!