State the problem
Enter the objective function and constraints. With 2 variables the feasible region and optimum will be shown; with more variables Simplex will be used and, if applicable, the projection onto x₁, x₂.
Problem editor
Use "Apply changes" to create a snapshot (undo/redo).
Bounds per variable
Form a ≤ xᵢ ≤ b. Leave empty = no bound (∞ or −∞). Default: 0 ≤ xᵢ.
Objective function
Constraints
Result
Feasible region and optimum
What is linear programming?
Linear programming (LP) is an optimization technique for problems with a linear objective function and linear constraints. It is used in logistics, production, finance and many engineering fields.
This calculator solves linear programming problems in an educational way: with the graphical method for 2 variables (feasible region, vertices, optimum) and with the Simplex algorithm step by step for any number of variables, showing the tableau, pivoting and each elementary operation.
dalsegno · Linear Programming Calculator
Educational tool to solve linear optimization problems with the Simplex method (step by step) and the graphical method in 2D.
- Step-by-step Simplex method— Tableau, Big-M, pivoting and detection of optimum, infeasibility or unboundedness.
- 2D Graphical method— Feasible region, vertices and optimal point for two-variable problems.