Chap04-LP Modeling Examples
Chap04-LP Modeling Examples
9th Edition
by Bernard W. Taylor III
Chapter 4
Linear Programming: Modeling
Examples
2007 Pearson Education
Chapter 4 - Linear Programming: Modeling Examples
Chapter Topics
A Diet Example
An Investment Example
A Marketing Example
A Transportation Example
A Blend Example
Exhibit 4.2
Chapter 4 - Linear Programming:
Modeling Examples
Exhibit 4.3
Chapter 4 - Linear Programming:
Modeling Examples
Exhibit 4.4
Chapter 4 - Linear Programming:
Modeling Examples
10
A Diet Example
Data and Problem Definition (1 of 5)
11
A Diet Example
Model Construction Decision Variables (2 of 5)
x1 = cups of bran cereal
x2 = cups of dry cereal
x3 = cups of oatmeal
x4 = cups of oat bran
x5 = eggs
x6 = slices of bacon
x7 = oranges
x8 = cups of milk
x9 = cups of orange juice
Chapter 4 - Linear Programming:
Modeling Examples
12
A Diet Example
Model Summary (3 of 5)
Minimize Z = 0.18x1 + 0.22x2 + 0.10x3 + 0.12x4 + 0.10x5 + 0.09x6
+ 0.40x7 + 0.16x8 + 0.50x9 + 0.07x10
subject to:
90x1 + 110x2 + 100x3 + 90x4 + 75x5 + 35x6 + 65x7
+ 100x8 + 120x9 + 65x10 420
2x2 + 2x3 + 2x4 + 5x5 + 3x6 + 4x8 + x10 20
270x5 + 8x6 + 12x8 30
6x1 + 4x2 + 2x3 + 3x4+ x5 + x7 + x10 5
20x1 + 48x2 + 12x3 + 8x4+ 30x5 + 52x7 + 250x8
+ 3x9 + 26x10 400
3x1 + 4x2 + 5x3 + 6x4 + 7x5 + 2x6 + x7+ 9x8+ x9 + 3x10 20
5x1 + 2x2 + 3x3 + Chapter
4x4+ x4 7- Linear
+ 3xProgramming:
10 12
Modeling Examples
13
A Diet Example
Computer Solution with Excel (4 of 5)
Chapter 4 - Linear
ExhibitProgramming:
4.5
Modeling Examples
14
A Diet Example
Solution with Excel Solver Window (5 of 5)
Exhibit 4.6
Chapter 4 - Linear Programming:
Modeling Examples
15
An Investment Example
Model Summary (1 of 4)
Maximize Z = $0.085x1 + 0.05x2 + 0.065 x3+ 0.130x4
subject to:
x1 14,000
x2 - x1 - x3- x4 0
x2 + x3 21,000
-1.2x1 + x2 + x3 - 1.2 x4 0
x1 + x2 + x3 + x4 = 70,000
x1, x2, x3, x4 0
where
x1 = amount invested in municipal bonds ($)
x2 = amount invested in certificates of deposit ($)
x3 = amount invested in treasury bills ($)
x4 = amount invested in growth stock fund($)
Chapter 4 - Linear Programming:
Modeling Examples
16
An Investment Example
Computer Solution with Excel (2 of 4)
17
An Investment Example
Solution with Excel Solver Window (3 of 4)
Exhibit 4.8
Chapter 4 - Linear Programming:
Modeling Examples
18
An Investment Example
Sensitivity Report (4 of 4)
Chapter 4 -Exhibit
Linear Programming:
4.9
Modeling Examples
19
A Marketing Example
Data and Problem Definition (1 of 6)
20
A Marketing Example
Model Summary (2 of 6)
Maximize Z = 20,000x1 + 12,000x2 + 9,000x3
subject to:
15,000x1 + 6,000x 2+ 4,000x3 100,000
x1 4
x2 10
x3 7
x1 + x2 + x3 15
x1, x2, x3 0
where
x1 = Exposure from Television Commercial (people)
x2 = Exposure from Radio Commercial (people)
x3 = Exposure from Newspaper Ad (people)
Chapter 4 - Linear Programming:
Modeling Examples
21
A Marketing Example
Solution with Excel (3 of 6)
Chapter 4 -Exhibit
Linear Programming:
4.10
Modeling Examples
22
A Marketing Example
Solution with Excel Solver Window (4 of 6)
Exhibit 4.11
Chapter 4 - Linear Programming:
Modeling Examples
23
A Marketing Example
Integer Solution with Excel (5 of 6)
Exhibit 4.12
24
A Marketing Example
Integer Solution with Excel (6 of 6)
Chapter 4 Exhibit
- Linear 4.14
Programming:
Modeling Examples
25
A Transportation Example
Problem Definition and Data (1 of 3)
Warehouse supply of
Retail store demand
Television Sets:
for television sets:
1 - Cincinnati
300
A - New York
150
2 - Atlanta
200
B - Dallas
250
3 - Pittsburgh
200
C - Detroit
200
Total
700
Total
600
26
A Transportation Example
Model Summary (2 of 4)
Minimize Z = $16x1A + 18x1B + 11x1C + 14x2A + 12x2B + 13x2C +
13x3A + 15x3B + 17x3C
subject to:
x1A + x1B+ x1C 300
x2A+ x2B + x2C 200
x3A+ x3B + x3C 200
x1A + x2A + x3A = 150
x1B + x2B + x3B = 250
x1C + x2C + x3C = 200
All xij 0
Chapter 4 - Linear Programming:
Modeling Examples
27
A Transportation Example
Solution with Excel (3 of 4)
Chapter 4 Exhibit
- Linear 4.15
Programming:
Modeling Examples
28
A Transportation Example
Solution with Solver Window (4 of 4)
Exhibit 4.16
Chapter 4 - Linear Programming:
Modeling Examples
29
A Blend Example
Problem Definition and Data (1 of 6)
30
A Blend Example
Problem Statement and Variables (2 of 6)
31
A Blend Example
Model Summary (3 of 6)
Maximize Z = 11x1s + 13x2s + 9x3s + 8x1p + 10x2p + 6x3p + 6x1e
+ 8x2e + 4x3e
subject to:
x1s + x1p + x1e 4,500
x2s + x2p + x2e 2,700
x3s + x3p + x3e 3,500
0.50x1s - 0.50x2s - 0.50x3s 0
0.70x2s - 0.30x1s - 0.30x3s 0
0.60x1p - 0.40x2p - 0.40x3p 0
0.75x3p - 0.25x1p - 0.25x2p 0
0.40x1e- 0.60x2e- - 0.60x3e 0
0.90x2e - 0.10x1e - 0.10x3e 0
x1s + x2s + x3s 3,000
x1p+ x2p + x3p 3,000
Chapter 4 - Linear Programming:
32
Modeling Examples
A Blend Example
Solution with Excel (4 of 6)
Chapter 4 Exhibit
- Linear 4.17
Programming:
Modeling Examples
33
A Blend Example
Solution with Solver Window (5 of 6)
Chapter 4Exhibit
- Linear4.18
Programming:
Modeling Examples
34
A Blend Example
Sensitivity Report (6 of 6)
35
Week
1
2
3
4
5
6
Computer Orders
105
170
230
180
150
250
36
37
38
Chapter 4 Exhibit
- Linear 4.20
Programming:
Modeling Examples
39
Exhibit
4.21Programming:
Chapter
4 - Linear
Modeling Examples
40
41
42
43
ChapterExhibit
4 - Linear
Programming:
4.22
Modeling Examples
44
4.23
Chapter Exhibit
4 - Linear
Programming:
Modeling Examples
45
46
47
48
49
Chapter 4
- Linear
Programming:
Exhibit
4.24
Modeling Examples
50