D1, L9 Solving Linear Programming Problems
D1, L9 Solving Linear Programming Problems
D1, L9 Solving Linear Programming Problems
Solving Linear
Programming problems
Final - Problem
Lets consider the example we looked at in lesson 7.
Maximise the profit function.
P = 60x + 84y
Subject to the constraints
2x + 3y 30
5x + 5y 60
x 0, y 0
The Graph
(drawing the lines)
x=0 y=12 and y=0 x=12 the line joins (0,12) and (12,0).
And
x=0 y=10 and y=0 x=15 the line joins (0,10) and (15,0)
The Graph
(shading inequalities)
The Graph
(shading inequalities)
Questions
1 Indicate on a diagram the region for which
5x + 3y 15
x 0, y 0
2 - Indicate on a diagram the region for which
4x + 3y 12
2x + 5y 10
x 0, y 0
3 - Indicate on a diagram the region for which
2x + y 8
y 7, x 3
x 0, y 0
Questions
4 Indicate on a diagram the region for which
y + 2x 12
x 2, y 4
5 - Indicate on a diagram the region for which
3x + 2y 12
3x + y 6
x+y4
6 - Indicate on a diagram the region for which
3x + 2y 6
y 2x
y0
The feasible region is all of the co-ordinates that lie in the un-
The vertices of the feasible region are: (0,0), (12,0), (6,6) and (0,10).
The co-ordinate (6,6) can be found by solving the simultaneous
Simultaneous Equations
(6,6) is found by solving 2x+3y=30 and 5x+5y=60
simultaneously.
2x + 3y = 30
5x + 5y = 60
2x + 3y = 30
3x + 3y = 36
x=6
2 x 6 + 3y = 30
12 + 3y = 30
3y = 18
y=6
of the vertices.
We can now find the value of the profit function at each of these
points:
x
0
12
6
0
y
0
0
6
10
P =60x+84y
0
720
864
840
You draw the object function 60x + 84y = P. (here pick P to be any
Once you have drawn the line move it to the last point available in