Linear Programming Models: Graphical and Computer Methods: Eaching Uggestions
Linear Programming Models: Graphical and Computer Methods: Eaching Uggestions
Linear Programming Models: Graphical and Computer Methods: Eaching Uggestions
TEACHING SUGGESTIONS model). Here, the issue is the source of data. When accountants
tell you a profit contribution is $8.50 per unit, is that figure
Teaching Suggestion 7.1: Draw Constraints for a
accurate within 10% or within 10¢? The solution to an LP problem
Graphical LP Solution.
can change dramatically if the input parameters are not exact.
Explain constraints of the three types (S, =, S) carefully the first
time you present an example. Show how to find the X , X inter- Mention that sensitivity analysis also has other names, such as
1 2
right-hand-
side ranging, post-optimality analysis, and parametric programming.
cepts so a straight line can be drawn. Then provide some practice
in determining which way the constraints point. This can be done
by picking a few X1, X2 coordinates at random and indicating ALTERNATIVE EXAMPLES
which direction fulfills the constraints. Alternative Example 7.1: Hal has enough clay to make 24 small
Teaching Suggestion 7.2: Feasible Region Is a Convex Polygon. vases or 6 large vases. He only has enough of a special glaz- ing
Explain Dantzing’s discovery that all feasible regions are convex compound to glaze 16 of the small vases or 8 of the large vases.
(bulge outward) polygons (many-sided figures) and that the opti- Let X1 = the number of small vases and X2 = the number of large
mal solution must lie at one of the corner points. Draw both con- vases. The smaller vases sell for $3 each, while the larger vases
vex and concave figures to show the difference. would bring $9 each.
Teaching Suggestion 7.3: Using the Iso-Profit Line Method. (a) Formulate the problem.
This method can be much more confusing than the corner point ap- (b) Solve graphically.
proach, but it is faster once students feel comfortable drawing the SOLUTION:
profit line. Start your first line at a profit figure you know is lower (a) Formulation
than optimal. Then draw a series of parallel lines, or run a ruler
paral- lel, until the furthest corner point is reached. See Figures 7.6 OBJECTIVE FUNCTION:
and 7.7. Maximize $3X1 + $9X2
Teaching Suggestion 7.4: QA in Action Boxes in the LP Subject to : Clay constraint: 1X1 + 4X2 “
Chapters. There are a wealth of motivating tales of real-world LP 24 Glaze constraint: 1X1 + 2X2 “ 16
applica- tions in Chapters 7–9. The airline industry in particular is
(b) Graphical solution
a major LP user.
Teaching Suggestion 7.5: Feasible Region for
15
the Minimization Problem.
Students often question the open area to the right of the
constraints in a minimization problem such as that in Figure 7.10.
You need to explain that the solution is not unbounded in a
X2 = Number of Large Vases
fifth constraints are nonlinear because they contain terms to the 7-14.
second degree and one-half degree, respectively.
140
7-9. For a discussion of the role and importance of sensitivity
analysis in linear programming, refer to Section 7.8. It is needed
especially when values of the technological coefficients and con- b
120
tribution rates are estimated—a common situation. When all
model values are deterministic, that is, known with certainty, sen- Drilling Constraint
sitivity analysis from the perspective of evaluating parameter ac- 100
curacy may not be needed. This may be the case in a portfolio se-
Number of Fans, X2
lection model in which we select from among a series of bonds
whose returns and cash-in values are set for long periods. 80 Optimal Solution
7-10. If the profit on X is increased from $12 to $15 (which is (X1 = 40, X2 = 60)
less than the upper bound), the same corner point will remain opti- c
mal. This means that the values for all variables will not change 60
from their original values. However, total profit will increase by
$3 per unit for every unit of X in the original solution. If the profit
is increased to $25 (which is above the upper bound), a new 40
Wiring Constraint
corner point will be optimal. Thus, the values for X and Y may Feasible Region
change, and the total profit will increase by at least $13 (the
amount of the increase) times the number of units of X in the 20
original solution. The increase should normally be even more than
this because the original optimal corner point is no longer optimal. a d
0
Another corner point is optimal and will result in an even greater 0 20 40 60 80 100 120
profit.
7-11. If the right-hand side of the constraint is increased from 80 Number of Air Conditioners, X1
to 81, the maximum total profit will increase by $3, the amount of
the dual price. If the right-hand side is increased by 10 units (to
Let: X1 = number of air conditioners to be produced
90), the maximum possible profit will increase by 10(3) = $30
and will be $600 + $30 = $630. This $3 increase in profit will re- X2 = number of fans to be
sult for each unit we increase the righthand side of the constraint produced Maximize profit = 25X1 +
until we reach 100, the upper bound. The dual price is not relevant 15X2
beyond 100. Similarly, the maximum possible total profit will de- subject to 3X1 + 2X2 “ 240 (wiring)
crease by $3 per unit that the right-hand side is decreased until 2X1 + 1X2 “ 140 (drilling)
this value goes below 75.
X1, X2 “ 0
7-12. The student is to create his or her own data and LP formula- Profit at point a (X1 = 0, X2 = 0) = $0
tion. (a) The meaning of the right-hand-side numbers (resources) Profit at point b (X1 = 0, X2 = 120)
is to be explained. (b) The meaning of the constraint coefficient
= 25(0) + (15)(120) = $1,800
(in terms of how many units of each resource that each product re-
quires) is also to be explained. (c) The problem is to be solved Profit at point c (X1 = 40, X2 = 60)
graphically. (d) A simple sensitivity analysis is to be conducted by = 25(40) + (15)(60) = $1,900
changing the contribution rate (Cj value) of the X1 variable. For Profit at point d (X1 = 70, X2 = 0)
ex- ample, if C1 was $10 as the problem was originally formulated,
the student should resolve with a $15 value and compare = 25(70) + (15)(0) = $1,750
solutions. The optimal solution is to produce 40 air conditioners and 60 fans
during each production period. Profit will be $1,900.
7-13. A change in a technological coefficient changes the feasi-
ble solution region. An increase means that each unit produced re-
quires more of a scarce resource (and may lower the optimal
profit). A decrease means that because of a technological
advance- ment or other reason, less of a resource is needed to
produce 1 unit. Changes in resource availability also change the
feasible re- gion shape and can increase or decrease profit.
CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS 91
7-15.
140
T 80
120 Constraints
(57.14, 57.14)
100
(26.67, 80)
b Isoprofit Line
80
e
X2
c Optimal Solution
60 175.,10
10
40 10 200
R
Feasible Region
20
Optimal corner point R = 175, T = 10,
Audience = 3,000(175) + 7,000(10) = 595,000 people
0 a d 7-17. X1 = number of benches produced
0 20 40 60
80 100 120 X2 = number of tables produced
X1
Maximize profit = $9X1 + $20X2
Maximize profit = 25X1 + subject to 4X1 + 6X2 “
15X2 subject to 3X1 + 2X2 “ 1,200 hours 10X1 + 35X2
240 “ 3,500 pounds
X,X “
0
1 2
2X1 + 1X2 “ Profit at point a (X = 0, X = 100) = $2,000
140
1 2
X1 “ Profit at point b (X = 262.5, X = 25) = $2,862.50
20
X2 “ 80 1 2
X,X“ 0 Profit at point c (X1 = 300, X2 = 0) = $2,700
12
Profit at point a (X1 = 20, X2 = 0)
= 25(20) + (15)(0) = $500 300
Profit at point b (X1 = 20, X2 = 80)
= 25(20) + (15)(80) = $1,700
250
Profit at point c (X1 = 40, X2 = 60)
= 25(40) + (15)(60) = $1,900
Profit at point d (X1 = 70, X2 = 0) 200
= 25(70) + (15)(0) = $1,750
Profit at point e (X1 = 26.67, X2 = 80)
X2 150
= 25(26.67) + (15)(80) =
$1,867
Hence, even though the shape of the feasible region changed from a
Problem 7-14, the optimal solution remains the same. 100
Optimal Solution,
7-16. Let R = number of radio ads; T = number of TV ads. $2862.50 Profit
Maximize exposure = 3,000R + 7,000T
50
Subject to: 200R + 500T “ 40,000
Feasible Region b
(budget)
R “ 10 0 c
T “ 10 0 50 100 150 200 250 300 350 400
R“ T X1
R, T “
0
92 CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS
Isoprofit line
0
0 10
20 30 40
50000,0
X1
33,333.34 50,000
P
CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS 93
0.12P + 0.06U “ 0.08(50,000) return must be at Note that this problem has one constraint with a negative sign.
least 8% This may cause the beginning student some confusion in plotting
P, U “ 0 the line.
Corner points 7-23. Point a lies at intersection of constraints (see figure
RISK = below): 3X + 2Y = 120
P U 9P + 4U X + 3Y = 90
50,000 0 450,000 Multiply the second equation by —3 and add it to the first (the
16,666.67 33,333.33 283,333.3 method of simultaneous equations):
The minimum risk is 283,333.33 on $50,000 so the average risk is 3X + 2Y = 120
283,333.33/50,000 = 5.67. The return would be —3X — 9Y = —270
0.12(16,666.67) + 0.06(33,333.33) = $4,000 (or 8% of — 7Y = —150 Y = 21.43 and X = 25.71
$50,000) Cost = $1X + $2Y = $1(25.71) + ($2)(21.43)
7-22. = $68.57
50 7-24. X1 = $ invested in Louisiana Gas and Power
X2 = $ invested in Trimex Insulation
5X + 3Y S 150
Co. Minimize total investment = X1 +
40 X2 subject to $0.36X1 + $0.24X2 “
Isoprofit Line Indicates that Optimal Solution Lies at Point a $720
$1.67X1 + $1.50X2 “ $5,000
30
Y
(X = 18 34 , Y = 18 34 , Profit = $150 ) 0.04X1 + 0.08X2 “ $200
20 Investment at a is $3,333.
a X – 2Y S 10 Investment at b is $3,179. k optimal
solution Investment at c is $5,000.
10 Feasible Region
3X + 5Y S 150 Short-term growth is $926.09.
Intermediate-term growth is $5,000.
Dividends are $200.
0
0 10 20 30 40 50 See graph.
X
60
Feasible Region
Y 40
20 a
X + 3Y 90
3X + 2Y 120
0
0 20 40 60 80 100
X Isoprofit Line Indicates
That Optimal Solution
Lies At Point a
94 CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS
a (X1 = 0, X2 = 3,333)
1,000
c (X1 = 5,000, X2 = 0)
0
0 1,000 2,000 3,000 4,000 5,000
X1
125
0.8330.9
B
0.75, 0.25 100
b
The feasible corner points are (0.75, 0.25) and (1,0). The mini- 75
c
Optimal Solution
mum cost solution X2
B = 0.75 pounds of beef, G = 0.25 pounds of grain, cost =
50
$0.825,
Vitamin 1 content = 10(0.75) + 6(0.25) = 9 Feasible Regiond
Vitamin 2 content = 12(0.75) + 9(0.25) = 11.25
25
7-26. Let X1 = number of barrels of pruned olives
X2 = number of barrels of regular olives a e
0
Maximize profit = $20X1 + $30X2 0
25 50 75 100 125 150
subject to 5X1 + 2X2 “ 250 (labor hours)
X1
CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS 95
7-27. Formulation 4:
Formulation 1: 8
6
Infeasible Solution Region
X2 4
X2 4 Feasible Region
2
2 1
0
0 1 2 3 4 6 8 10 12
0
X1
0 2 4 6 8 10 12
X1
Formulation 4 appears to be proper as is. Note that the constraint
Formulation 2: 4X1 + 6X2 ÷ 48 is redundant.
7-28. Using the isoprofit line or corner point method, we see that
2 point b (where X = 37.5 and Y = 75) is optimal if the profit
= $3X + $2Y. If the profit changes to $4.50 per unit of X, the opti-
mal solution shifts to point c. If the objective function becomes P
= $3X + $3Y, the corner point b remains optimal.
X2 1
150
Profit Line for 3X1 + 3X2
X2
2
0
0 1 2 3 4 5 6
X1
96 CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS
7-29. The optimal solution of $26 profit lies at the point X = 2, 7-30.
Y = 3.
12
8
10
6
8 6X + 4Y = 36
Y 6
Y 4
(X = 5, Y = 11/2 ; Profit = $29 )
Profit = 4X + 6Y = $26 4
2 2 1X + 2Y = 8
0
0 2 4 6 8 10 12
0
0 2 4 6 8 X
X
Using the corner point method, we determine that the optimal so-
lution mix under the new constraint yields a $29 profit, or an in-
If the first constraint is altered to 1X + 3Y S 8, the feasible region
crease of $3 over the $26 profit calculated. Thus, the firm should
and optimal solution shift considerably, as shown in the next
column. not add the hours because the cost is more than $3.
7-31. a. The corner points and profits are
8
X = 0, Y = 0, profit = 0
X = 60, Y = 0, profit = 300
X = 30, Y = 60, profit = 510 k Optimal solution
6 X = 0, Y = 80, profit = 480
b. If profit = 8X + 6Y, the optimal solution is at the
Profit = 4X + 6Y = $21.71 same corner point but profit increases.
X = 0, Y = 0, profit = 0
Y 4
X = 60, Y = 0, profit = 480
Optimal solution at X = 30, Y = 60, profit = 600 k Optimal solution
X = 26/7, Y = 1 5/7
X = 0, Y = 80, profit = 480
2 1X + 3Y = 8
Y
120
0
0 2 4 6 8
X
80
60
30 60 120
X
CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS 97
c. If profit = 3X + 6Y, a new corner point is optimal. a. The feasible corner points and their profits are:
X = 0, Y = 0, profit = 0 Feasible corner points Profit = 8X1 + 5X2
6,4
Isoprofit line
6 10
X1
98 CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS
7-36. Let: X1 = number of coconuts carried 7-39. a. Let: X1 = number of pounds of stock X purchased per
X2 = number of skins carried cow each month
Maximize profit = 60X1 + 300X2 (in rupees) X2 = number of pounds of stock Y purchased per
subject to 5X1 + 15X2 S 300 pounds cow each month
1
8X1+ 1X S 15 cubic feet X3 = number of pounds of stock Z purchased per
X1, X2 S 0 cow each month
At point a: (X1 = 0, X2 = 15), P = 4,500 rupees At Four pounds of ingredient Z per cow can be transformed to:
point b: (X1 = 24, X2 = 12), P = 1,440 + 3,600 4 pounds × (16 oz/lb) = 64 oz per cow
= 5,040 rupees At 5 pounds = 80 oz
point c: (X1 = 60, X2 = 0), P = 3,600 rupees 1 pound = 16 oz
The three princes should carry 24 coconuts and 12 lions’ skins. 8 pounds = 128 oz
This will produce a wealth of 5,040 rupees. 3X1 + 2X2 + 4X3 “ 64 (ingredient A
requirement) 2X1 + 3X2 + 1X3 “ 80 (ingredient
20 B requirement) 1X1 + 0X2 + 2X3 “ 16
(ingredient C requirement) 6X1 + 8X2 + 4X3 “
128 (ingredient D requirement)
a X3 S 5 (stock Z limitation)
15 Minimize cost = $2X1 + $4X2 + $2.50X3
Number of Lion Skins, X2
250
20
200
a
c
X2 150
0
b 0 20 40 60
X1
100
7-47.
0 200,000
0 50 100 150 200c 250 300 350 X1 = 125,000
X1
X1 = number of model A tubs
150,000
produced X2 = number of model B X2 = 100,000
X2
tubs produced Maximize profit = a
90X1 + 70X2 100,000 Feasible Region
subject to 125X1 + 100X2 “ 25,000 is this Line
(steel)
20X1 + 30X2 “ 6,000 (zinc)
X1, X2 “ 0
50,000
Profit at point a (X1 = 0, X2 = 200) = $14,000
Profit at point b (X1 = 85.71, X2 = 142.86) = $17,714.10
Profit at point c (X1 = 200, X2 = 0) = $18,000 0 b
a
a
X1 = 0, X2 = 390, profit = $21,450
optimal solution
X1 = 240, X2 = 150, profit = $21,930
Point b (X1 = 250,000, X2 = 0), ROI = $20,000
Students should point out that those three options are so close in
7-48. profit that production desires and sensitivity of the RHS and cost
coefficient are important issues. This is a good lead-in to the dis-
3,000X1 + 1,250X2 100,000
80
cussion of sensitivity analysis. As a matter of reference, the right-
X1 5
X1 25 hand side ranging for the first constraint is a production limit
b
Optimal Exposure Rating from 384 to 400 units. For the second constraint, the hours may
range only from 936 to 975 without affecting the solution.
60 The objective function coefficients, similarly, are very sensi-
tive. The $57 for X1 may increase by 29 cents or decrease by $2.
The $55 for X2 may increase by $2 or decrease by 28 cents.
X2 40
SOLUTION TO MEXICANA WIRE WORKS CASE
1. Maximize P = 34 W75C + 30 W33C + 60 W5X + 25 W7X
20 Feasible Region X2 10 subject to:
c
1 W75C S 1,400
a d
1 W33C S 250
0 1 W5X S 1,510
0
5 10 15 20 25 30 35 1 W7X S 1,116
X1 1 W75C + 2 W33C + 0 W5X + 1 W7X S 4,000
Let: X1 = number of TV spots 1 W75C + 1 W33C + 4 W5X + 1 W7X S 4,200
X2 = number of newspaper ads 1 W75C + 3 W33C + 0 W5X + 0 W7X S 2,000
Maximize exposures = 35,000X1 + 20,000X2 1 W75C + 0 W33C + 3 W5X + 2 W7X S 2,300
subject to 3000X1 + 1,250X2 “ $100,000 1 W75C S 150
X1 S5 1 W7X S 600
X1 S 25 Solution: Produce:
X2 “ 10 1,100 units of W75C—backorder 300 units
Point a (X1 = 5, X2 = 10), exposure = 250 units of W33C—backorder 0 units
375,000 Point b (X1 = 5, X2 = 68), 0 units of W5X—backorder 1,510 units
exposure = 175,000 600 units of W7X—backorder 516 units
+ Maximized profit will be $59,900. By addressing quality
1,360,000 problems listed earlier, we could increase our capacity by up to
= 1,535,000 3% reducing our backorder level.
(optimal) 2. Bringing in temporary workers in the Drawing Department
Point c (X1 = 25, X2 = 20), exposure = would not help. Drawing is not a binding constraint. However, if
875,000
+ 400,000
= 1,275,000
Point d (X1 these former employees could do rework, we could reduce our re-
= 25, = 10), exposure = 875,000
work inventory and fill some of our backorders thereby increasing
X2 + 200,000 profits. We have about a third of a month’s output in rework inven-
= 1,075,000 tory. Expediting the rework process would also free up valuable
cash.
102 CHAPTER 7 LINEAR PROGRAMMING MODELS : GRAPHICAL AND COMPUTER METHODS
3. The plant layout is not optimum. When we install the new X3 S 490 X7 S 1,280
equip- ment, an opportunity for improving the layout could arise.
X4 S 160 X8 S 840
Exchang- ing the locations for packaging and extrusion would
create a better flow of our main product. Also, as we improve our Current natural gas usage = 85,680 cu. ft. × 103/day
20 percent curtailment = 68,554 cu. ft. × 103/day
quality and re- duce our rework inventory, we could capture some of
Hence, the ninth constraint is:
the space now used for rework storage and processing and put it to
8X1 + 10X2 + 12X3 + 12X4 + 7X5 + 18X6 + 20X7 + 14X8
productive use.
Our machine utilization of 63% is quite low. Most manufac- S 68,544
turers strive for at least an 85% machine utilization. If we could The following is the production schedule (tons/day);
determine the cause(s) of this poor utilization, we might find a key X1 = 1,200 X5 = 560
to a dramatic increase in capacity. X2 = 540 X6 = 1,200
X3 = 490 X7 = 423.2
INTERNET CASE STUDY: X4 = 160 X8 = 840
AGRI-CHEM CORPORATION Objective function value = $487,192
This case demonstrates an interesting use of linear programming Because of the natural gas curtailment, the caustic soda pro-
in a production setting. duction is reduced from 1280 tons/day to 425 tons/day.
Let X1 = ammonia For a 40 percent natural gas curtailment, the ninth constraint is:
X2 = ammonium phosphate 8X1 + 10X2 + 12X3 + 12X4 + 7X5 + 18X6 + 20X7 + 14X8
X3 = ammonium nitrate S 51,408
X4 = urea The optimal solution results in the following production
X5 = hydrofluoric acid schedule:
X6 = chlorine X1 = 1200 X5 = 560
X7 = caustic soda
X2 = 540 X6 = 718,2
X8 = vinyl chloride monomer Objective
X3 = 490 X7 = 0
function:
X4 = 160 X8 = 840
Maximize Profit = 80X1 + 120X2 + 140X3 + 140X4 + 90X5
+ 70X6 + 60X7 + 90X8 Objective function value: $428,075.6
Subject to the following constraints: The caustic soda production is eliminated completely and the
chlorine production is reduced from 1,200 to 720 tons/day.
X1 S 1,200 X5 S 560
X2 S 540 X6 S 1,200