Represent in linear programming equations

43 Views Asked by At

If $B=1$, $A=0$

If $B=0$, $A$ can be 1 or 0.

Both $A$ and $B$ are binary variables.

How to represent these in linear programming equations?

1

There are 1 best solutions below

4
On BEST ANSWER

Just let $$B \le 1-A$$

If $B=1$, $1-A$ is forced to take value $1$.