Linear Programming Calculator (Graphical Method)
Maximise or minimise z = ax + by subject to up to three linear constraints and x, y ≥ 0 using the corner-point (graphical) method.
Maximise or minimise z = ax + by subject to up to three linear constraints and x, y ≥ 0 using the corner-point (graphical) method.
Results
About This Calculator
The optimum of a linear objective over a polygon is always at a corner. The calculator intersects every pair of boundary lines, keeps the feasible points and picks the best. Set a constraint's coefficients to 0 to leave it out.
Example
Example: maximise 3x + 5y with x ≤ 4, 2y ≤ 12, 3x + 2y ≤ 18 → z = 36 at (2, 6).
Assumptions
Two decision variables, non-negative. Unbounded regions aren't detected automatically.
Frequently Asked Questions
What is the feasible region?
The set of points that satisfy every constraint at once.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile