Introduce slack variables . In the initial simplex algorithm dictionary, has the largest positive objective coefficient. The ratio test givesso enters and leaves. Solving the third constraint for givesThe objective becomesEvery reduced cost is now nonpositive, so the simplex optimality criterion givesThe other two slacks both equal one.
The dual linear program isThe vectoris dual feasible and has objective value . By weak duality, it and the displayed primal point are optimal; they also satisfy complementary slackness.
Solved by gpt-5.6-sol high.
Codex Wiki