Maximise 5x + 4y subject to linear constraints
Solve a two-variable linear program by the graphical method.
Solution
- Objective max z = 5x + 4y
- Constraints x + 2y <= 14; 3x - y >= 0; x - y <= 2; x >= 0; y >= 0
- Method Find intersections of every pair of boundary lines, keep the feasible ones, evaluate z at each vertex.
- Feasible vertices V1 = (2, 6), z = 34; V2 = (6, 4), z = 46; V3 = (0, 0), z = 0; V4 = (2, 0), z = 10
- Optimum (max) (6, 4), z = 46
Try a similar problem yourself
Use the Linear Programming Solver (2 variables) to solve a similar problem with your own values.
Open the solver