Math · Optimization

Simplex Method Calculator

Maximize a linear objective under ≤ constraints with two decision variables. Watch every pivot of the simplex tableau until the optimum.

Optimal value Z
—
Standard form: maximize c₁x₁ + c₂x₂ subject to A x ≤ b, x ≥ 0.
Pivot rule: entering variable = most negative value in the Z-row; leaving variable = minimum ratio b/a for a > 0. Repeat until no negative entries remain in the Z-row.

Full tableaus

Every iteration shown with pivot highlighted in pink.

Basic variables

Optimal solution read directly from the final tableau.

Up to 4 constraints

Two decision variables, two to four constraints.

Step-by-step

Entering and leaving variables explained per pivot.

More Math Tools

Explore algebra and calculus calculators.