Quantcast
Channel: Conditional Constraint Formulation LP - Operations Research Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Abdellah for Conditional Constraint Formulation LP

Generally, in LP, we do not use strict inequalities. When we consider non-strict inequalities, Ytsao's answer works using $M=1$, $-w \leq z \leq 1-w$.

View Article


Answer by ytsao for Conditional Constraint Formulation LP

The following constraints should be work:$z \leq M(1-w)$$z \geq -Mw$

View Article


Conditional Constraint Formulation LP

I have a continuous variable $z, {-1 < z < 1},$ and a binary variable $w$.How do I write a conditional constraint which guarantees for $z < 0$, $w = 1$,and for $z \ge 0$, $w = 0$?

View Article
Browsing all 3 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>