A Geometric Approach
• Graphing Systems of Linear Inequalities in
Two Variables
• Linear Programming Problems
• Graphical Solution of Linear Programming
Problems
• Sensitivity Analysis
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.
Graphing Linear Inequalities
Ex. Graph y ≤ 2 x − 1 Notice that the
line (=) is part
y y = 2 x − 1 of the solution
3x + 2 y = 6
Dashed since <
y y
x x
x − 2y =1
y y
x x
Cost to Ship
Plant A B C
I 30 32 38
II 32 28 26
...
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.
We want to minimize the cost function:
C = 30x1 + 32x2 + 38x3 + 32x4 + 28x5 + 26x6
Production constraints:
Plant I x1 + x2 + x3 ≤ 150
Plant II x4 + x5 + x6 ≤ 120
Warehouse constraints:
A x1 + x4 ≥ 70
B x2 + x5 ≥ 70
C x3 + x6 ≥ 80
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.
So the problem is:
Minimize: C = 30x1 + 32x2 + 38x3 + 32x4 + 28x5 + 26x6
Subject to: x1 + x2 + x3 ≤ 150
x4 + x5 + x6 ≤ 120
x1 + x4 ≥ 70
x2 + x5 ≥ 70
x3 + x6 ≥ 80
x1 ≥ 0, x2 ≥ 0,..., x6 ≥ 0
x The maximum is 25 at
(5, 1)
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.
Ex. Minimize C = 10x + 11y
Subject to 20 x + 10 y ≥ 300
15 x + 15 y ≥ 300
10 x + 20 y ≥ 250
y x ≥ 0, y ≥ 0
Check Vertices:
(0,30) : C = 330
Feasible set (10,10) : C = 210
(15,5) : C = 205
(25, 0) : C = 250
Unbounded
Feasible set
No Maximum
No Feasible set – No
overlap
Maximize P = 4 x + 5 y Maximize P = 4 x + 5 y
Subject to: Subject to:
3 x + 5 y ≤ 20 ⇒ 3x + 5 y ≤ 20
4 x + 4 y ≤ 24 x+ y ≤6
x ≥ 0, y ≥ 0 x ≥ 0, y ≥ 0
...
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.
Solution (cont.)
Sketch the graph of the feasible set to locate all
of the corner points.
y
Feasible set – Check Vertices:
candidates for (0, 0) : P = 4(0) + 5(0) = 0
a solution
(0, 4) : P = 4(0) + 5(4) = 20
(5,1) : P = 4(5) + 5(1) = 25
(6, 0) : P = 4(6) + 5(0) = 24
x