How to express a chain of boolean If-then as MIP such as:
If $(x_{10} \ge b_1$ and $x_{11} \le b_1)$ AND $(x_{20} \ge b_2$ and $x_{21} \le b_2)$... AND... then $y_1 = 1$ else $y_1 = 0$.
So basically, if constants are between values of different $x_0$ and $x_1$ (lower and upper bounds for every constant) then $y = 1$, if at least one constant is out of bound then $y = 0$. I need to maximize sum of all $y$.