Académique Documents
Professionnel Documents
Culture Documents
MODULE
Models
© 2014
© 2014
Pearson
Pearson
Education
Education MB - 1
Outline
► Why Use Linear Programming?
► Requirements of a Linear
Programming Problem
► Formulating Linear Programming
Problems
► Graphical Solution to a Linear
Programming Problem
▶ Sensitivity Analysis
▶ Solving Minimization Problems
▶ Linear Programming Applications
▶ The Simplex Method of LP
Decision Variables:
X1 = number of x-pods to be produced
X2 = number of BlueBerrys to be produced
Second Constraint:
Assembly is ≤ Assembly
time used time available
2X1 + 1X2 ≤ 100 (hours of assembly time)
© 2014 Pearson Education MB - 15
Graphical Solution
▶ Can be used when there are two decision
variables
1. Plot the constraint equations at their limits by
converting each equation to an equality
2. Identify the feasible solution space
3. Create an iso-profit line based on the
objective function
4. Move this line outwards until the optimal
point is identified
100 –
–
80 –
Number of BlueBerrys
Assembly (Constraint B)
–
60 –
–
40 –
– Electronic (Constraint A)
20 Feasible
–
region
–
–
| | | | | | | | | | |
X1
0 20 40 60 80 100
Figure B.3 Number of x-pods
© 2014 Pearson Education MB - 17
Graphical Solution
X
Iso-Profit Line Solution Method
2
100 –
Choose a possible
– value for the objective
function 80 –
Number of BlueBerrys
Assembly (Constraint B)
–
60 – $210 = 7X1 + 5X2
–
100 –
–
80 –
Number of BlueBerrys
–
60 –
$210 = $7X1 + $5X2
–
(0, 42)
40 –
–
20 – (30, 0)
–
–|
| | | | | | | | | |
X1
0 20 40 60 80 100
Figure B.4 Number of x-pods
© 2014 Pearson Education MB - 19
Graphical Solution
X2
100 –
– $350 = $7X1 + $5X2
80 –
Number of BlueBerrys
100 –
– Maximum profit line
80 –
Number of BlueBerrys
–
60 – Optimal solution point
– (X1 = 30, X2 = 40)
40 –
–
$410 = $7X1 + $5X2
20 –
–
| –| | | | | | | | | |
X1
0 20 40 60 80 100
Figure B.6 Number of x-pods
© 2014 Pearson Education MB - 21
Corner-Point Method
X2
100 –
2 –
80 –
Number of BlueBerrys
–
60 –
–
3
40 –
–
20 –
–
–
1
| | | | | | | | | | |
X1
0 20 40 60 80 100
4
Figure B.7 Number of x-pods
© 2014 Pearson Education MB - 22
Corner-Point Method
X2
► The optimal value will always be at a corner
100 –
point – 2
► Find the objective
80 – function value at each
Number of BlueBerrys
2X1 –+and
1X2 choose
≤ 100 (assembly
corner point the onetime)
with the
highest4Xprofit
60 –
1 + 3X
– 2 = 240 4X1 + 3(40) = 240
3
40 –
– 4X1 – 2X2 = –200 4X + 1 120 = 240
Point 1 : (X1 = 0,– X2 = 0) Profit $7(0) + $5(0) = $0
Point 2 : (X1 20
+ 1X =
= 0,– X22 = 80)
40 X = 30
1
Profit $7(0) + $5(80) = $400
–
Point 4 : (X1| = 50,
– X| 2 =| 0) | Profit $7(50) + $5(0) = $350
1
| | | | | | |
X1
0 20 40 60 80 100
4
Figure B.7 Number of x-pods
© 2014
© 2014
Pearson
Pearson
Education
Education MB - 24
Corner-Point Method
X2
► The optimal value will always be at a corner
100 –
point – 2
► Find the objective
80 – function value at each
Number of BlueBerrys
50 –
40 – Feasible
region
30 –
20 – b
10 –
a
– X1 = 30 X2 = 20
| | | | | | |
X1
0 10 20 30 40 50 60
© 2014 Pearson Education MB - 35
Minimization Example
FEED
INGREDIENT STOCK X STOCK Y STOCK Z
A 3 oz 2 oz 4 oz
B 2 oz 3 oz 1 oz
C 1 oz 0 oz 2 oz
D 6 oz 8 oz 4 oz
F = Full-time tellers
P1 = Part-time tellers starting at 9 AM (leaving at 1 PM)
P2 = Part-time tellers starting at 10 AM (leaving at 2 PM)
P3 = Part-time tellers starting at 11 AM (leaving at 3 PM)
P4 = Part-time tellers starting at noon (leaving at 4 PM)
P5 = Part-time tellers starting at 1 PM (leaving at 5 PM)
© 2014 Pearson Education MB - 41
LP Applications
Minimize total daily = $75F + $24(P + P + P + P + P )
1 2 3 4 5
manpower cost
F + P1 ≥ 10 (9 AM - 10 AM needs)
F + P1 + P2 ≥ 12 (10 AM - 11 AM needs)
1/2 F + P1 + P2 + P3 ≥ 14 (11 AM - 11 AM needs)
1/2 F + P1 + P2 + P3 + P4 ≥ 16 (noon - 1 PM needs)
F + P2 + P3 + P4 + P5 ≥ 18 (1 PM - 2 PM needs)
F + P3 + P4 + P5 ≥ 17 (2 PM - 3 PM needs)
F + P4 + P5 ≥ 15 (3 PM - 7 PM needs)
F + P5 ≥ 10 (4 PM - 5 PM needs)
F ≤ 12
4(P1 + P2 + P3 + P4 + P5) ≤ .50(10 + 12 + 14 + 16 + 18 + 17 + 15 + 10)