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}
Note that M can be any continuous number. Thanks.
Regards,
Aucun commentaire:
Enregistrer un commentaire