Optimize resource allocation, production planning, or transportation problems using the simplex algorithm. Enter objective coefficients, ≤ constraints, and non‑negativity. Get optimal solution, objective value, and full iteration log.
The simplex method, developed by George Dantzig in 1947, is the classical algorithm for solving linear programming (LP) problems. It systematically examines vertices of the feasible polyhedron, moving along edges to improve the objective function until optimality is reached. The method guarantees convergence for bounded, feasible LPs and remains a cornerstone of operations research, economics, logistics, and engineering.
Standard LP form: Max (or Min) Z = cTx subject to Ax ≤ b, x ≥ 0.
Slack variables transform inequalities into equalities, and the algorithm iteratively pivots between basic and non‑basic variables, guided by reduced costs and the minimum ratio test.
Problem: Max Z = 3x₁ + 5x₂ subject to x₁ ≤ 4, 2x₂ ≤ 12, 3x₁+2x₂ ≤ 18, x₁,x₂ ≥ 0.
After adding slacks s₁, s₂, s₃, the simplex method starts at (0,0). It first enters x₂ (largest coefficient), then pivots to (0,6), and finally to (2,6) with Z=36. Our calculator displays each iteration, the entering/leaving variables, and the final tableau.
This implementation follows the revised simplex logic described in standard textbooks such as Introduction to Operations Research by Hillier & Lieberman and Linear Programming by Vanderbei. Numerical tolerances (ε = 1e-9) prevent cycling. The tool is verified against dozens of test problems from academic sources, including NETLIB LP benchmarks. Each iteration log includes pivot details for educational transparency.
For further reading, consult the Wolfram MathWorld – Simplex Method or the NEOS Guide to Optimization.