Solution.
First, we need to switch the inequality on the first inequality or \(-y_1 - 2y_2 + 2y_3 \leq -5\) and then we let \(z = -w = -6y_1 - 12y_2 + 2y_3\text{.}\) Adding only a slack variable to the inequality, the tableau can be written
\begin{equation*}
\begin{aligned} \amp \phantom{xxxxxxxxxxi} f \\ \amp \left[\begin{array}{rrr|rr|r} -1 \amp -2 \amp 2 \amp 1 \amp 0 \amp -5\\ 1 \amp -3 \amp 1 \amp 0 \amp 0 \amp 3\\ \hline 6 \amp 12 \amp -2 \amp 0 \amp 1 \amp 0\\ \end{array} \right] \end{aligned}
\end{equation*}
Since there is a free variable \(y_3\) which is not in the basis, then we pivot to bring it into the basis. Weโll use the second line (the equation) to do this.
\begin{equation*}
\begin{aligned} \amp \phantom{xxxxxxxxx} f \\ \text{piv}(2,3)\qquad \amp \left[\begin{array}{rrr|rr|r} -3 \amp 4 \amp 0 \amp 1 \amp 0 \amp -11\\ 1 \amp -3 \amp 1 \amp 0 \amp 0 \amp 3\\ \hline 8 \amp 6 \amp 0 \amp 0 \amp 1 \amp 6\\ \end{array} \right] \end{aligned}
\end{equation*}
This is now in phase I, so we pivot to make it feasible:
\begin{equation*}
\begin{aligned} \amp \phantom{xxxxxxxi} f \\ 1 \mapsto 4\qquad \amp \left[\begin{array}{rrr|rr|r} 3 \amp -4 \amp 0 \amp -1 \amp 0 \amp 11\\ 0 \amp -5 \amp 3 \amp 1 \amp 0 \amp -2\\ \hline 0 \amp 50 \amp 0 \amp 8 \amp 3 \amp -70\\ \end{array} \right] \end{aligned}
\end{equation*}
This might seem like it is still in phase I, however, since \(x_3\) is free, it can be negative, so we are done with phase I. The solution to this is
\begin{equation}
\begin{aligned}
\boldsymbol{y} \amp = \frac{1}{3}\left[ \begin{array}{rrr|r} 11 \amp 0 \amp -2 \amp 0 \end{array}\right] \\
\amp =\left[ \begin{array}{rrr|r} 11/3 \amp 0 \amp -2/3 \amp 0 \end{array}\right]
\end{aligned}\tag{7.3.10}
\end{equation}
with \(z = -70/3\) so \(w = 70/3\text{.}\)
