Documente Academic
Documente Profesional
Documente Cultură
Darrell Hicks
Practice Homework Problems Chapter 4
Spring 2013
Chapter 4 Linear Programming: Modeling Examples
(#3)(a) In the investment example in this chapter, how would the solution become affected if the
requirement that the entire $70,000 be invested was relaxed such that it is the maximum
amount available for investment?
(a) Changes to constraints #1 and #3 must be made into algebraic expressions (pgs. 122,
123). Changing constraint #1 to: 0.8x1 - 0.2x2 - 0.2x3 - 0.2x4 0, constraint #3 to: 0.3x1+
0.7x2+ 0.7x3 - 0.3x4 0, and constraint #5 to: x1 + x2 + x3 + x4 70,000produces the
following results: x1 = $0.00, x2 = $0.00,
(b) If the entire amount available for investment does not have to be invested and the
amount available is increased by $10,000 (to $80,000), how much will the total optimal return
increase?
Answer: (c) No, both x3 and x4 increase in the amounts invested respectively: x3 invests
$354.54 more than before and x4 invests $590.91 more (than with $70,000 total). The sum
of these two investments (treasury bills + stock funds) is $7,563.63. The optimal
investments are now in the same arrangement as in the original problem. Treasury bills
Introduction to Management Science (ISOM 3123)
Darrell Hicks
Practice Homework Problems Chapter 4
Spring 2013
and growth stock funds should be the only investments:x3 = $43,636.36 invested in
treasury bonds, x4 = $36,363.64 invested in growth stock fund (with $80,000 total).
The sum is $43,636.36 + $36,363.64 = $80,000 total investments; no municipal bonds & no
certificates of deposit.
(#5) For the transportation example in this chapter, suppose that television sets not shipped
were to incur storage costs of $9.00 at Cincinnati, $6.00 at Atlanta, and $7.00 at Pittsburgh. How
would these storage costs be reflected in the linear programming model for this example
problem, and what would the new solution be if any?
Store TV Sets
Warehouse New York A Dallas B Detroit C Shipped Constraint Supply
1 Cincinnati 0 0 200 200 <= 300
2 Atlanta 0 200 0 200 <= 200
3 Pittsburgh 150 50 0 200 <= 200
Actual TV Sets Shipped 150 250 200
Constraints = = =
City Demand 150 250 200
Cost = $ 7300
subject to
The Zephyr Television Company is considering leasing a new warehouse in Memphis. The new
warehouse would have a supply of 200 television sets, with shipping costs of $18 to New York, $9 to Dallas,
and $12 to Detroit. If the total transportation cost for the company (ignoring the cost of leasing the warehouse)
is less than with the current warehouses, the company will lease the new warehouse. Should the warehouse
be leased?
Answer: Yes, the new Memphis warehouse should be leased because using it to ship 200
TVs to Dallas as in the original linear programming model reduced the total shipping cost
to $6,550 from $7,300. The cost of shipping from Memphis to Dallas for $9 is clearly the
lowest cost of shipping to Dallas among all other warehouses. Consequently, it is cheaper
to ship all 200 TVs from the Memphis warehouse to Dallas with the remaining 50 (demand
= 250) coming from the next cheapest shipping to Dallas: Atlanta for $12.
If supply could be increased at any one warehouse, which should it be? What restrictions would there
be on the amount of the increase?
Answer: Since the Memphis warehouse has the lowest shipping cost to Dallas, its capacity
should be increased by 50 TVs (to 250) to accommodate the entire demand for TVs in Dallas and
ship all 250 from Memphis to Dallas for $9.
(#6) For the blend example in this chapter, if the requirement that at least 3,000 barrels of
each grade of motor oil was changed to exactly 3,000 barrels of each grade of oil, how would
this affect the optimal solution?
Answer: The optimal solution remains unchanged except for the shadow prices, which
change for some of the nine decision variables. Listed below are the results for the original
problem and also with the change to equalities: Note that there are alternative optimal solutions.
Variable Value Reduced Cost Original Val Lower Bound Upper Bound
X2s 450 0 13 13 13
X3s 1050.0 0 9 9 9
X2e 1200 0 8 8 25
X3e 0 0 4 -Infinity 14
Constraint Dual Value Slack/Surplus Original Val Lower Bound Upper Bound
The Dual value for all nine constraints are lowered by the change to equalities but the
optimal solution remains unchanged at Z = $76,800.
If the company could acquire more of one of the three components, which should it be?
What would be the effect on the total profit of acquiring more of this component?
Answer: In general, we want the item with the largest shadow price which contributes the
most to the increases in total profit. Here, it is Component Number one with a shadow
price of $20. Acquiring one more unit of component 1 increases profit by $20 (for each
additional unit of component #1).
(#7) On their farm, the Friendly family grows apples that they harvest each fall and make into
three productsapple butter, applesauce, and apple jelly. They sell these three items at several
local grocery stores, at craft fairs in the region, and at their own Friendly Farm Pumpkin Festival
for 2 weeks in October. Their three primary resources are cooking time in their kitchen, their own
labor time, and the apples. They have a total of 500 cooking hours available, and it requires 3.5
hours to cook a 10-gallon batch of apple butter, 5.2 hours to cook 10 gallons of applesauce, and
2.8 hours to cook 10 gallons of jelly. A 10-gallon batch of apple butter requires 1.2 hours of labor,
a batch of sauce takes 0.8 hour, and a batch of jelly requires 1.5 hours. The Friendly family has
240 hours of labor available during the fall. They produce about 6,500 apples each fall. A batch
of apple butter requires 40 apples, a 10-gallon batch of applesauce requires 55 apples, and a
batch of jelly requires 20 apples. After the products are canned, a batch of apple butter will
generate $190 in sales revenue, a batch of applesauce will generate a sales revenue of $170,
and a batch of jelly will generate sales revenue of $155. The Friendlys want to know how many
batches of apple butter, applesauce, and apple jelly to produce in order to maximize their
revenues.
Now we construct the linear program from the given information for price, resources,
materials, etc.:
3.5x1 + 5.2x2 + 2.8x3 500 (cooking time each product max available
hours)
1.2x1 + 0.8x2 +1.5x3 240 (labor time each product max available
labor hrs)
The computer solution suggests that the maximum profit occurs with 42 (10 gal)
batches of Apple Butter (rounding up), no Apple Sauce should be made and 127 (10 gal)
batches of Apple Jelly. With the largest Shadow Price, cooking time is the most valuable
resource; for each additional hour of cooking time, profit will increase by $52.38 up to a
max of 500 hrs.
(#13) The Kalo Fertilizer Company produces two brands of lawn fertilizerSuper Two and Green
Growat plants in Fresno, California, and Dearborn, Michigan. The plant at Fresno has resources
available to produce 5,000 pounds of fertilizer daily; the plant at Dearborn has enough resources
to produce 6,000 pounds daily. The cost per pound of producing each brand at each plant is as
follows:
7,000
lbs/day
The company has a daily budget of $45,000 for both plants combined. Based on past
sales, the company knows the maximum demand (converted to a daily basis) is 6,000 pounds for
Super Two and 7,000 pounds for Green Grow. The selling price is $9 per pound for Super Two and
$7 per pound for Green Grow. The company wants to know the number of pounds of each brand
of fertilizer to produce at each plant in order to maximize profit.
Let x1 = the # of lbs. of Super Two at Fresno, Let x2 = the # of lbs. of Super Two at
Dearborn
Letx3 = the # of lbs. of Green Grow at Fresno, Let x4 = the # of lbs. of Green Grow at
Dearborn
(cost of production) $2x1 + $4x2 + $2x3 + $3x4 $45,000 (Fresno capacity) 1x1+ 1x3
5,000 lbs./day
(Super Two capacity) 1x1+1x2 6,000 (Dearborn capacity) 1x2+ 1x4 6,000
lbs./day
(Green Grow capacity) 1x3+ 1x4 7,000 (non-negativity) (x1, x2, x3, x4)
0
Let Z (profit) = [Revenue] (costs) = [$9(x1 + x2) + $7(x3 + x4)] ($2x1 +$4x2 + $2x3 + $3x4);
Z = $7x1 +$5x2 + $5x3 + $4x4
The total cost per ton of alloy (Z) is then ($Cost/Ton)(# of Tons of ore1) + ($Cost/Ton)(# of Tons of
ore2) + ($Cost/Ton)(# of Tons of ore 3) + + ($Cost/Ton)(# of Tons of ore 6) = Z
Constraint 1: (Metal A %) 19x1 + 43x2 + 17x3 + 20x4 + 0x5 + 12x6 21 [at least
21%]
Constraint 2: (Metal B %) 15x1 + 10x2 + 0x3 + 12x4 + 24x5+ 18x6 12 [no more
than 12%]
Minimize cost: Z = 27x1 + 25x2 + 32x3 + 22x4 + 20x5 + 24x6 = $23.91 per Ton of ore for
x2 = 0.28 ton, x3 = 0.53 ton
Shadow price of (Metal A) = $0.51 per ton, (Metal D ) = $0.44 per ton, Metal B, Metal C,
Metal D = $0.00.
Introduction to Management Science (ISOM 3123)
Darrell Hicks
Practice Homework Problems Chapter 4
Spring 2013
(#15) The Roadnet Transport Company expanded its shipping capacity by purchasing 90 trailer
trucks from a bankrupt competitor. The company subsequently located 30 of the purchased
trucks at each of its shipping warehouses in Charlotte, Memphis, and Louisville. The company
makes shipments from each of these warehouses to terminals in St. Louis, Atlanta, and New York.
Each truck is capable of making one shipment per week. The terminal managers have indicated
their capacity for extra shipments. The manager at St. Louis can accommodate 40 additional
trucks per week, the manager at Atlanta can accommodate 60 additional trucks, and the
manager at New York can accommodate 50 additional trucks. The company makes the following
profit per truckload shipment from each warehouse to each terminal. The profits differ as a result
of differences in products shipped, shipping costs, and transport rates:
Terminal
The company wants to know how many trucks to assign to each route (i.e. warehouse to
terminal) to maximize profit. (a) Formulate a linear programming model for this problem.
Answer: Let x1 = # of trucks on route 1, Let x2 = # of trucks on route 2, Let x3 = # of
trucks on route 3, , Let x9 = # of trucks on route 9. Maximize profit Z.
Answer: Z = $159,000 (10 iterations); x2 = 30, x4 = 30, x9 = 30; (x1, x3, x5, x6, x7,
x8)= 0
(#24) Brooks City has three consolidated high schools, each with a capacity of 1,200 students.
The school board has partitioned the city into five busing districtsnorth, south, east, west, and
centraleach with different high school student populations. The three schools are located in the
central, west, and south districts. Some students must be bused outside their districts, and the
school board wants to minimize the total bus distance traveled by these students. The average
distances from each district to the three schools and the total student population in each district
are:
Distance (Miles)
The student-miles can be used to count the number of students and the average number of
miles the students are bused but the Z-value will need to be divided by the appropriate unit
(students or miles) or reconciled with the given information.
Introduction to Management Science (ISOM 3123)
Darrell Hicks
Practice Homework Problems Chapter 4
Spring 2013
Z = (Route #1 miles)*(x1) + (Route #2 miles)*(x2) + + (Route #14 miles)*(Z=x14) +
(Route #15 miles)*(x15)
Z = 8x1 + 11x2 + 14x3 + 12x4 + 9x5 + 0x6 + 9x7 + 16x8 + 10x9 + 8x10 + 0x11 + 9x12 + 0x13
+ 8x14 + 12x15
(Constraint 9) (x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15) 0 [non-
negativity]
X1 (8 mi.)
(b) Solve the model by using the
X2 (11 computer.
mi.)
North
X3 (14 mi.)
(700)
Answer: Minimum Student-Miles Z = 14,600; the sum of all districts = 3,000 students.
See Figure 1 Central H.S.
(700+500)
X4 (12 mi.)
South X5 (9 mi.)
X6 (0 mi.)
(300)
700
X7 (9 mi.)
X8 (16 mi.)
East X9 (10 mi.)
(900) West H.S.
(600)
X10 (8 mi.)
West X11 (0 mi.)
X12 (9 mi.) 300
(600)
600
500
x1 = 700, x6 = 300, x9 = 900, x11 = 600, x13 = 500, and (x2, x3, x4, x5, x7, x8, x10, x12, x14, x15) = 0
(students per route)
(#25) (a) In Problem #24 the school board decided that because all students in the north and
east districts must be bused, then at least 50% of the students who live in the south, west, and
central districts must also be bused to another district. Reformulate the linear programming
model to reflect this new set of constraints and solve by using a computer.
Additional constraints are for the South, West, and Central districts to include the within-
district students as available to be bused to other districts schools which were not
considered before (because they were not to be bused):
South to South: x6 150 (at most 50% of the South Districts students
can be bused)
250300
X1 (8 mi.)
West to West: x11 300 (at most 50% ofX2the
(11 West
mi.) Districts students can be
00
North
0
25
70
0
Figure 2 Problem 25 (a) Total Number of Students=3,000
65 Z=20,400
Central to Central: x13 250 (at most 50% of the Central Districts students can be Central H.S.
0
25
bused) (700+250+25
150
X4 (12 mi.)
South X5 (9 mi.)
All of the previous constraints remain unchangedX6and in effect
(0 mi.) in addition to the
(50/50)
new constraints that include students to be bused outside their own districts that
previously went to their local district high school. The solution
X7 (9 mi.) is illustrated in Figure 2 (a)
X8 (16 mi.)
to include the 3 additional constraints. Since the
Easttotal X9
number
(10 mi.) of students being bused
(900) West H.S.
increases, the cost increases as well. (150+300+25
X10 (8 mi.)
West X11 (0 mi.)
X12 (9 mi.)
(50/50)
x1 = 700, x5 = 150, x6 =150, x7 = 250, x9 = 650, x11 = 300, x12 = 300, x13 = 250, x14 = 250, and
x2, x3, x4, x8, x10, x15 = 0
(b) The school board has further decided that the enrollment in all three high schools
should be equal. Formulate this additional restriction in the linear programming model.
Answer: The constraints for each of the three high schools now changes to a maximum
student capacity of 1000.
Note: Due to the fact that originally, there was more student capacity (3,600) than there
are students available, the original constraints were written to not exceed the maximum
capacity while now all of each high schools student capacity must be used to
accommodate all 3,000 students. See Figure 2 (b) for the results:
300
0
30
Spring 2013
150
250
0
55
X1 (8 mi.)
North X2 (11 mi.)
0
250
40
X3 (14 mi.)
(700)
Central H.S.
(1,000
X4 (12 mi.)
Figure 2 Problem 25 (b)
South X5 (9 mi.) of Students=3,000
Total Number
Z=21,200 X6 (0 mi.)
(300)
x1 = 400, x2 = 300, x5 = 150, x6 = 150, x7 = 350, x9 = 550, x11 = 300, x12 = 300, x13 = 250, x14 =
250, and x3, xX7
4, x8, x10, x15 = 0
(9 mi.)
X8 (16 mi.)
East X9 (10 mi.)
(#26)The Southfork Feed Company makes
(900) a feed mix from four ingredientsoats, corn,
West H.S.
(1,000)
soybeans, and a vitamin supplement. The company has 300 pounds of oats, 400 pounds of corn,
300of soybeans, and 100 pounds of vitamin
200 pounds supplements for the mix. The company has
X10 (8 mi.)
X11 (0 mi.)
the following requirements for the mix:West X12 (9 mi.)
(600)
A pound of oats costs $0.50; a pound of corn, $1.20; a pound of soybeans, $0.60; a pound
of vitamin supplement, $2.00. The feed company wants to know the number of pounds of
each ingredient to put in the mix in order to minimize the total costs.
Minimize cost (Z) = 0.50x1 + 1.20x2 + 0.60x3 + 2.00x4; (cost per pound of ingredient * # of
pounds of ingredient)
-0.3x1 -0.3x2 + 0.7x3 0.3x4 0 : at least 30% of the mix must be soybeans.
-0.2x1 -0.2x2- 0.2x3+ 0.8x4 0 : at least 20% of the mix must be soybeans.
(constraint #5) x1 + x2 + x3 + x4 500 : the mix must weigh at least 500 pounds.
(b) Solve the model by using the computer. (7 iterations) x1 = 200, x2 = 0, x3 = 200, x4 =
100
(#27)The United Charities annual fund-raising drive is scheduled to take place next week.
Donations are collected during the day and night, by telephone, and through personal contact.
The average donation resulting from each type of contact is as follows:
The charity group has enough donated gasoline and cars to make at most 300 personal
contacts during one day and night combined. The volunteer minutes required to conduct each
type interview are as follows:
Introduction to Management Science (ISOM 3123)
Darrell Hicks
Practice Homework Problems Chapter 4
Spring 2013
Phone Interview Time Personal Interview Time
(min.) (min.)
The charity has 20 volunteer hours available each day and 40 volunteer hours each night.
The chairperson of the fund-raising drive wants to know how many different types of contacts to
schedule in a 24-hour period (i.e., 1 day and 1 night) to maximize the total donations.
(a) Formulate a linear programming model for this problem. Answer: Maximize total
donations (Z).
Resources: funding for 20 hours of labor per day, 40 hours of labor per night.
(x1 + x2) = total # of Phone Interviews; (x3 + x4) = total # of Personal Interviews
(constraint 1) (x3 + x4) 300 [gas and car supply at most 300
personal interviews]
(constraint 2) 6x1 + 15x3 1,200 minutes [available Day labor time = 20 hours],
interview time in mins.
Phone Interviews (Day) x1(6 mins) + Phone Interviews (Night) x2(5 mins) = (200)(6) +
(480)(5) =
1,200 minutes (Day maximum labor hours) + 2,400 minutes (Night maximum labor hours)