I am asking a follow-up question of this problem. For simplicity, let's say we have a constraint, $I(-a_i x\leq b) \geq m$.
We reformulate it as $$y_i \geq m,\,-a_i x \le b + A(1-y_i) \text{ such that } y_i \in \{0,1\}.$$
As I understood, if $-a_ix-b>0$, then $y_i$ has to be $0$ in the inequality above, else our inequality will not be satisfied. But if $-a_ix-b \leq 0$, I don't see a reason why $y_i$ must be $1$. So, only one condition of the indicator function is satisfied when we construct the inequality. Could someone please tell me what am I missing here?
2026-03-26 19:14:30.1774552470
Indicator function to an Integer linear program
75 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
You are missing two things. First, both of your $\ge m$ constraints should have a $\sum_i$ on the left hand side. Second, the (big-M) constraint $-a_i x \le b + A(1-y_i)$ enforces $y_i = 1 \implies -a_i x \le b$ but not its converse. When $-a_i x \le b$ is satisfied, $y_i$ is free to take either value.