I'm not sure if I understand this question and was wondering if anyone could provide any insight to an answer. The only thing I can think of adding is a constraint: "x2 = integer", so I'm clearly missing something. Any help would be appreciated :)
2026-03-30 05:30:38.1774848638
Formulating an optimisation problem into a mixed-integer problem
280 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3

To have a Linear Mixed Integer Programming, replace the second constraint by $$ 4x_1+4(y_1+3y_2+4y_3+10y_4)\ge 10\\ y_1+y_2+y_3+y_4=1\\ y_1,y_2,y_3,y_4 \in \{0,1\} $$
With $y_1+y_2+y_3+y_4=1$, you force exactly one term of the sum $y_1+3y_2+4y_3+10y_4$ to be active. The active term is precisely $x_2$.