Tested tool guide
Tested browser tools
Checked August 16, 2026
What Linear Programming Solver does, with a checked example
This solver turns a two-variable linear program into a plane geometry problem. Enter a linear objective in x and y, choose maximization or minimization, and add linear inequality constraints. It plots the constraint boundaries, shows their common feasible region, and identifies the vertex that optimizes the objective. The objective slider relates objective levels to the graph. A frequent surprise is that the best solution may not be unique: if the objective is parallel to a feasible edge, every point along that edge can share the optimal value.
Worked example
A concrete input and expected output from the current implementation.
Input
Maximize: 3x + 2y
Constraints:
x + y <= 4
x <= 2
x >= 0
y >= 0
->
Expected output
Optimal vertex: (2, 2)
Maximum objective value: 10
The feasible vertices are (0, 0), (2, 0), (2, 2), and (0, 4). Their objective values are 0, 6, 10, and 8, respectively, so (2, 2) gives the maximum.