Code: Select all
$$\begin{array}[t]{ll}
\min &x_1 - x_2 \\
\textup{s.t.} &\begin{array}{lclll}
5y_1 & \leq & x_1 & \leq & 12y_1+2\\
y_2 & \leq & x_2 & \leq & 9(1-y_2) + 1\\
3y_3 & \leq & x_2 & \leq & 7(1-y_3) + 3\\
5y_4 & \leq & x_2 & \leq & 5(1-y_4) + 5\\
10y_5 & \leq & x_2 & \leq & 10\\
\end{array}\\
&x_1, x_2 \geq 0\\
&x_2 \in \ZZ\\
\end{array}$$
Thanks very much.
Edit by localghost: Preferably no external links (see Board Rules). Attachments go onto the forum server where possible.