Introduce nonnegative slack variables , a nonnegative surplus variable , and an artificial variable . Phase I of the two-phase simplex method minimizes . The initial simplex dictionary is
With the nonbasic variables zero this is feasible for the artificial problem. Enter ; the minimum ratios are , so leaves. Solving its row for and substituting gives
Now enter . The ratios from decreasing basic variables are and , so leaves. The resulting dictionary is
Setting the nonbasic variables zero gives , so Phase I has reached its minimum and found feasibility. Remove and reinstate the true objective . Substitution of the basic variables gives
Enter . The decreasing rows give ratios for and for , so leaves. Phase II then has
Every nonbasic variable is nonnegative and every reduced cost is positive. Thus the simplex optimality criterion proves
All three original constraints are active. Positivity of all three reduced costs also proves uniqueness: equality in the objective lower bound forces , which fixes the displayed solution.