Chapter 15
Chapter 15
Chapter 15
CHAPTER 15
TRANSPORTATION AND ASSIGNMENT PROBLEMS
Learning objectives
After completing this chapter, you should be able to
1. Describe the characteristics of transportation problems.
2. Formulate a spreadsheet model for a transportation problem from a description of the
problem.
3. Do the same for some variants of transportation problems.
4. Give the name of two algorithms that can solve huge transportation problems that are
well beyond the scope of Solver.
5. Identify several areas of application of transportation problems and their variants.
6. Describe the characteristics of assignment problems.
7. Identify the relationship between assignment problems and transportation problems.
8. Formulate a spreadsheet model for an assignment problem from a description of the
problem.
9. Do the same for some variants of assignment problems.
10. Give the name of an algorithm that can solve huge assignment problems that are well
beyond the scope of Solver.
Transportation problems were introduced in Section 3.5 and Section 3.6 did the same for
assignment problems. Both of these similar types of problems arise quite frequently in a variety
of contexts. Because of their importance, we now will elaborate much further on these kinds of
problems and their applications in this self-contained chapter.
Transportation problems received this name because many of their applications involve
determining how to transport goods optimally. However, you will see that some of their important
applications have nothing to do with transportation.
Assignment problems are best known for applications involving assigning people to
tasks. However, they have a variety of other applications as well.
Following a case study, the initial sections of this chapter describe the characteristics of
transportation problems and their variants, illustrate the formulation of spreadsheet models for
such problems, and survey a variety of applications. The subsequent sections then do the same for
assignment problems.
Background
The P & T Company is a small family-owned business. It receives raw vegetables, processes and
cans them at its canneries, and then distributes the canned goods for eventual sale.
CD 15-3
One of the company’s main products is canned peas. The peas are prepared at three
canneries (near Bellingham, Washington; Eugene, Oregon; and Albert Lea, Minnesota) and then
shipped by truck to four distributing warehouses in the western United States (Sacramento,
California; Salt Lake City, Utah; Rapid City, South Dakota; and Albuquerque, New Mexico), as
shown in Figure 15.1.
Figure 15.1 Location of the canneries and warehouses for the P&T Co. problem.
Applying the current shipping strategy to the data in Table 15.1 gives the shipping plan
shown in Table 15.2. The shipping costs per truckload for the upcoming season are shown in
Table 15.3.
To Warehouse
From
Sacramento Salt Lake City Rapid City Albuquerque
Bellingham $464 $513 $654 $867
Cannery Eugene $352 $416 $690 $791
Albert Lea $995 $682 $388 $685
Combining the data in Tables 15.2 and 15.3 yields the total shipping cost under the
current plan for the upcoming season:
Total shipping cost = 75($464) + 5($352) + 65($416) + 55($690) + 15($388) + 85($685)
= $165,595
Kim Baker now is reexamining the current shipping strategy to see if she can develop a new
shipping plan that would reduce the total shipping cost to an absolute minimum.
available for quickly finding an optimal solution on a desktop computer. This enables Kim to
return to management the next day with a new shipping plan that would reduce the total shipping
cost by over $13,000.
This story will unfold in the next section after we provide more background about
transportation problems.
REVIEW QUESTIONS
1. What is the specific concern being raised by the CEO of the P & T Co. in this case study?
2. What is Kim Baker being asked to do?
The Requirements Assumption: Each source has a fixed supply of units, where this
entire supply must be distributed to the destinations. Similarly, each destination has a fixed
demand for units, where this entire demand must be received from the sources.
This assumption that there is no leeway in the amounts to be sent or received means that there
needs to be a balance between the total supply from all sources and the total demand at all
destinations.
The Feasible Solutions Property: A transportation problem will have feasible solutions if
and only if the sum of its supplies equals the sum of its demands.
CD 15-6
Fortunately, these sums are equal for the P & T Co. since Table 15.1 indicates that the supplies
(outputs) sum to 300 truckloads and so do the demands (allocations).
In some real problems, the supplies actually represent maximum amounts (rather than
fixed amounts) to be distributed. Similarly, in other cases, the demands represent maximum
amounts (rather than fixed amounts) to be received. Such problems do not fit the model for a
transportation problem because they violate the requirements assumption, so they are variants of
a transportation problem. Fortunately, it is relatively straightforward to formulate a spreadsheet
model for such variants that Solver can still solve, as will be illustrated in Section 15.3.
The last row of Table 15.4 refers to a cost per unit distributed. This reference to a unit
cost implies the following basic assumption for any transportation problem.
The Cost Assumption: The cost of distributing units from any particular source to any
particular destination is directly proportional to the number of units distributed. Therefore,
this cost is just the unit cost of distribution times the number of units distributed.
The only data needed for a transportation problem model are the supplies, demands, and unit
costs. These are the parameters of the model. All these parameters for the P & T Co. problem are
shown in Table 15.5. This table (including the description implied by its column and row
headings) summarizes the model for the problem.
The Model: Any problem (whether involving transportation or not) fits the model for a
transportation problem if it (1) can be described completely in terms of a table like Table
15.5 that identifies all the sources, destinations, supplies, demands, and unit costs, and (2)
satisfies both the requirements assumption and the cost assumption. The objective is to
minimize the total cost of distributing the units.
Table 15.5 The Data for the P & T Co. Problem Formulated as a Transportation
Problem
Unit Cost
Destination
(Warehouse) Sacramento Salt Lake City Rapid City Albuquerque Supply
Source (Cannery)
Bellingham $464 $513 $654 $867 75
Eugene $352 $416 $690 $791 125
Albert Lea $995 $682 $388 $685 100
Demand 80 65 70 85
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
ShipmentQuantity
Subject to the Constraints:
TotalReceived = Demand
TotalShipped = Supply
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
To begin the process of solving the problem, any value (such as 0) can be entered in each
of the changing cells. Solver will use the simplex method to solve the transportation problem and
determine the best value for each of the decision variables. This optimal solution is shown in
ShippingQuantity (D12:G14) in Figure 15.2, along with the resulting value $152,535 in the
objective cell TotalCost (J17).
CD 15-9
Figure 15.3 The network representation of the P & T Co. transportation problem shows
all the data in Table 15.5 graphically.
For transportation problems larger than the P & T Co. problem, it is not very convenient
to draw the entire network and display all the data. Consequently, the network representation is
mainly a visualization device.
Recall that Section 3.5 described transportation problems as a major category of linear
programming problems that often involve the distribution of goods through a distribution
network. The networks in both Figure 3.9 and Figure 15.3 are a simple type of distribution
network where every shipping lane goes directly from a source to a destination.
Recall that Chapter 6 presents some related kinds of network optimization problems that
sometimes also involve the distribution of goods through a distribution network. In fact, Section
6.1 points out that transportation problems are a special type of minimum-cost flow problem,
which commonly involves the flow of goods through a distribution network.
CD 15-10
and
xij ≥ 0 (i = 1, 2, 3; j = 1, 2, 3, 4).
Before leaving this linear programming model though, take a good look at the left-hand
side of the functional constraints. Note that every coefficient is either 0 (so the variable is deleted)
or 1. Also note the distinctive pattern for the locations of the coefficients of 1, including the fact
that each variable has a coefficient of 1 in exactly two constraints. These distinctive features of
the coefficients play a key role in being able to solve transportation problems extremely
efficiently.
($867 per truckload) than to any other warehouse. However, this sacrifice for Cannery 1 enables
low-cost shipments for both Canneries 2 and 3. Although it would be difficult to find this optimal
solution manually, the simplex method in Solver finds it readily.
As given in the objective cell TotalCost (J17), the total shipping cost for this optimal
shipping plan is
a reduction of $13,060 from the current shipping plan. Richard Powers is pleased to report this
reduction to his CEO, Douglas Whitson, who congratulates him and Kim Baker for achieving this
significant savings.
REVIEW QUESTIONS
1. Give a one-sentence description of transportation problems.
2. What data are needed for the model of a transportation problem?
3. What needs to be done to formulate a problem as a transportation problem?
4. What is required for a transportation problem to have feasible solutions?
5. Under what circumstances will a transportation problem automatically have an optimal
solution with integer values for all its decision variables?
6. Name two algorithms that can solve transportation problems much faster than the general
simplex method.
CD 15-13
Table 15.7 The Data for the Better Products Co. Problem Formulated as a
Variant of a Transportation Problem
Unit Cost
Destination (Product) 1 2 3 4 Supply
Source (Plant)
1 $41 $27 $28 $24 75
2 $40 $29 — $23 75
3 $37 $30 $27 $21 45
Demand 20 30 30 40
One (minor) deviation is that a transportation problem requires a unit cost for every
source–destination combination, but Plant 2 cannot produce Product 3, so no unit cost is available
for this particular combination. The other deviation is that the sum of the supplies (75 + 75 + 45+
195) exceeds the sum of the demands (20 + 30 + 30 + 40 + 120) in Table 15.7. Thus, as the
feasible solutions property (Section 15.2) indicates, the transportation problem represented by
Table 15.7 would have no feasible solutions. The requirements assumption (Section 15.2)
specifies that the entire supply from each source must be used.
In reality, these supplies in Table 15.7 represent production capacities that will not need
to be fully used to meet the sales demand for the products. Thus, these supplies are upper bounds
on the amounts to be used.
The spreadsheet model for this problem, shown in Figure 15.4, has the same format as the
one in Figure 15.2 for the P & T Co. transportation problem with two key differences. First,
because Plant 2 cannot produce Product 3, a dash is inserted into cell E5 and the constraint that
E12 = 0 is included in the Solver Parameters box. Second, because the supplies are upper bounds,
cells H11:H13 have ≤ signs instead of = signs and the corresponding constraints in the Solver
Parameters box are ProducedAtPlant (G11:G13) ≤ Capacity (I11:I13).
CD 15-15
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
DailyProduction
Subject to the Constraints:
E12 = 0
ProducedAtPlant <= Capacity
ProductsProduced = RequiredProduction
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.4 A spreadsheet formulation of the Better Products Co. problem as a variant of a
transportation problem, including the objective cell TotalCost (I16) and the other
output cells ProducedAtPlant (G11:G13) and ProductsProduced (C14:F14), as well
as the specifications needed to set up the model. The changing cells
DailyProduction (C11:F13) show the optimal production plan obtained by Solver.
Using Solver then gives the optimal solution shown in the changing cells
DailyProduction (C11:F13) for the production rate of each product at each plant. This solution
minimizes the cost of distributing 120 units of production from the total supply of 195 to meet the
total demand of 120 at the four destinations (products). The total cost given in the objective cell
TotalCost (I16) is $3,260 per day.
CD 15-16
Figure 15.5 shows the spreadsheet model for this variant of a transportation problem.
Instead of a demand row below the changing cells, we instead have both a minimum row and a
maximum row. The corresponding constraints in the Solver Parameter box are TotalShipped
(C17:F17) ≤ MaxPurchase (C19:F19) and TotalShipped (C17:F17) ≥ MinPurchase (C15:F15),
along with the usual supply constraints. Since the objective is to maximize the total profit rather
than minimize the total cost, the Solver Parameter box specifies that the objective cell TotalProfit
(I17) is to be maximized.
After solving, the optimal solution shown in Figure 15.5 is obtained. Cells TotalShipped
(C17:F17) indicate how many units to sell to the respective customers. The changing cells
Shipment (C11:F13) show how many units to ship from each plant to each customer. The
resulting total profit of $1.076 million is given in the objective cell TotalProfit (I17).
REVIEW QUESTIONS
1. What needs to be done to formulate the spreadsheet model for a variant of a transportation
problem where each supply from a source represents a maximum amount rather than a fixed
amount to be distributed from that source?
2. What needs to be done to formulate the spreadsheet model for a variant of a transportation
problem where the demand for a destination can be anything between a specified minimum
amount and a specified maximum amount?
CD 15-18
Solver Parameters
Set Objective Cell: TotalProfit
To: Max
By Changing Variable Cells:
Shipment
Subject to the Constraints:
TotalProduction = ProductionQuantity
TotalShipped <= MaxPurchase
TotalShipped >= MinPurchase
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
WaterDistribution
Subject to the Constraints:
F13 = 0
TotalFromRiver <= Available
TotalToCity = Needed
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.6 A spreadsheet formulation of the Metro Water District problem as a variant
of a transportation problem, including the objective cell TotalCost I17) and
the other output cells TotalFromRiver (G11:G13) and TotalToCity
(C14:F14), as well as the specifications needed to set up the model. The
changing cells WaterDistribution (C11:F13) show the optimal solution
obtained by Solver.
CD 15-21
Production Scheduling
The Northern Airplane Company builds commercial airplanes for various airline companies
around the world. The last stage in the production process is to produce the jet engines and then
to install them (a very fast operation) in the completed airplane frame. The company has been
working under some contracts to deliver a considerable number of airplanes in the near future,
and the production of the jet engines for these planes must now be scheduled for the next four
months.
To meet the contracted dates for delivery, the company must supply engines for
installation in the quantities indicated in the second column of Table 15.10. Thus, the cumulative
number of engines produced by the end of months 1, 2, 3, and 4 must be at least 10, 25, 50, and
70, respectively.
Table 15.10 Production Scheduling Data for the Northern Airplane Company
Problem
Unit Cost
Unit Cost of Production of Storage
Maximum Production ($million) ($thousand)
Scheduled Regular Regular
Month Installations Time Overtime Time Overtime
1 10 20 10 1.08 1.10 15
2 15 30 15 1.11 1.12 15
3 25 25 10 1.10 1.11 15
4 20 5 10 1.13 1.15
The facilities that will be available for producing the engines vary according to other
production, maintenance, and renovation work scheduled during this period. The resulting
monthly differences in the maximum number of engines that can be produced during regular time
hours (no overtime) are shown in the third column of Table 15.10, and the additional numbers
that can be produced during overtime hours are shown in the fourth column. The cost of
producing each one on either regular time or overtime is given in the fifth and sixth columns.
Because of the variations in production costs, it may well be worthwhile to produce some
of the engines a month or more before they are scheduled for installation, and this possibility is
CD 15-22
being considered. The drawback is that such engines must be stored until the scheduled
installation (the airplane frames will not be ready early) at a storage cost of $15,000 per month
(including interest on expended capital) for each engine1, as shown in the rightmost column of
Table 15.10.
The production manager wants a schedule developed for the number of engines to be
produced in each of the four months so that the total of the production and storage costs will be
minimized.
Formulation and Solution
Figure 15.7 shows the formulation of this problem as a variant of a transportation problem. The
sources of the jet engines are their production on regular time (RT) and on overtime (OT) in each
of the four months. Their supplies are obtained from the third and fourth columns of Table 15.10.
The destinations for these engines are their installation in each of the four months, so their
demands are given in the second column of Table 15.10.
1
For modeling purposes, it is being assumed that the storage cost is incurred at the end of the month to just
those engines that are being held over into the next month. Thus, engines that are produced in a given
month for installation in the same month are assumed to incur no storage cost.
CD 15-23
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
UnitsProduced
Subject to the Constraints:
D27:D32 = 0
E29:E32 = 0
F31:F32 = 0
Installed = ScheduledInstallations
Produced <= MaxProduction
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.7 A spreadsheet formulation of the Northern Airplane Co. problem as a variant
of a transportation problem, including the objective cell TotalCost (J36) and
the othr output cells UnitCost (D13:G20), Produced (H25:H32), and Installed
(D33:G33), as well as the specifications needed to set up the model. The
changing cells UnitsProduced (D25:G32) display the optimal production
schedule obtained by Solver.
CD 15-24
It is not possible to install an engine in some month prior to its production, so the Solver
Parameters box includes constraints that the number installed must be zero in each of these cases.
Similarly, dashes are inserted into the UnitCost table for these cases. Otherwise, the unit costs
given in this table (in units of $1 million) are obtained by combining the unit cost of production
from the fifth or sixth column of Table 15.10 with any storage costs ($0.015 million per unit per
month stored). (The equations entered into UnitCost (D13:G20) are shown after the spreadsheet
in Figure 15.7.) Since the quantities in MaxProduction (J25:J32) represent the maximum amounts
that can be produced, they are preceded by ≤ signs in column I. The corresponding supply
constraints, Produced (H25:H32) ≤ MaxProduction (J25:J32), are included in the Solver
Parameters box along with the usual demand constraints.
Table 15.11 Optimal Production Schedule for the Northern Airplane Co.
The changing cells UnitsProduced (D25:G32) show an optimal solution for this problem. Table
15.11 summarizes the key features of this solution. Overtime is used only once (in month 3).
Despite the hefty costs incurred by storing engines, extra engines are produced in the first and
third months to be stored for installation later. Even month 2 produces enough engines that five
will remain in storage for installation in month 3, despite the fact that production costs are higher
in month 2 than in month 3. Thus, a human scheduler would have difficulty in finding this
schedule. However, Solver has no difficulty in balancing all the factors involved to reduce the
total cost to an absolute minimum, which turns out to be $77.4 million (as shown in the objective
cell TotalCost [J36]) in this case.
The school district management has decided that the appropriate objective in setting
school attendance zone boundaries is to minimize the average distance that students must travel
to school. At this preliminary stage, they want to determine how many students from each tract
should be assigned to each school to achieve this objective, while also satisfying the enrollment
constraints at each school indicated by the bottom two rows of Table 15.12.
Formulation and Solution
Minimizing the average distance that students must travel is equivalent to minimizing the sum of
the distances that individual students must travel. Therefore, adopting the latter objective, this is
just a variant of a transportation problem where the unit costs are distances.
Because each school has both a minimum and maximum enrollment, we proceed just as
in the Nifty Co. example (Section 15.3) to provide two rows of data cells below the changing
cells that specify these minimum and maximum amounts in the spreadsheet model shown in
Figure 15.8. The corresponding constraints are included in the Solver Parameters box along with
the usual supply constraints. After solving, the optimal solution is shown in the changing cells
NumberOfStudents (C17:E25).
This optimal solution gives the following plan:
Assign tracts 2 and 3 to school 1.
Assign tracts 1, 4, and 7 to school 2.
Assign tracts 6, 8, and 9 to school 3.
Split tract 5, with 350 students assigned to school 1 and 150 students assigned to school 2.
As indicated in the objective cell TotalDistance (H30), the total distance traveled to
school by all the students is 3,530 miles (an average of 0.872 mile per student).
CD 15-26
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
NumberOfStudents
Subject to the Constraints:
TotalAtSchool <= MaxEnrollment
TotalAtSchool >= MinEnrollment
TotalFromTract = TotalInTract
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.8 A spreadsheet formulation of the Middletown School District problem as a variant of
a transportation problem, including the objective cell TotalDistance (H30) and the
other output cells TotalFromTract (F17:F25) and the TotalAtSchool (C29:E29), as
well as the specifications needed to set up the model. The changing cells
NumberOfStudents (C17:E25) show the optimal zoning plan obtained by Solver.
CD 15-27
Unit Cost
Energy Need: Electricity Water Heating Space Heating
Source of Energy
Electricity $400 $500 $600
Natural gas — 600 500
Solar heater — 300 400
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
DailyEnergyUse
Subject to the Constraints:
D13:D14 = 0
TotalSolar <= MaxSolar
TotalSupplied = Demand
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
REVIEW QUESTIONS
1. What are the areas of application illustrated in this section for variants of transportation
problems?
2. What is the objective of management for the Metro Water District problem?
3. What are the sources and destinations in the formulation of the Northern Airplane Co.
production scheduling problem?
4. What plays the role of unit costs in the Middletown School District problem?
5. What is the objective of management for the Energetic Co. problem?
Texago is continuing to increase its market share for several of its major products.
Therefore, management has made the decision to expand its output by building an additional
refinery and increasing its imports of crude oil from the Middle East. The crucial remaining
decision is where to locate the new refinery.
The addition of the new refinery will have a great impact on the operation of the entire
distribution system, including decisions on how much crude oil to transport from each of its
sources to each refinery (including the new one) and how much finished product to ship from
each refinery to each distribution center. Therefore, the three key factors for management’s
decision on the location of the new refinery are
1. The cost of transporting the oil from its sources to all the refineries, including the new
one.
2. The cost of transporting finished product from all the refineries, including the new one, to
the distribution centers.
3. Operating costs for the new refinery, including labor costs, taxes, the cost of needed
supplies (other than crude oil), energy costs, the cost of insurance, and so on. (Capital
costs are not a factor since they would be essentially the same at any of the potential
sites.)
Management has set up a task force to study the issue of where to locate the new refinery.
After considerable investigation, the task force has determined that there are three attractive
potential sites. These sites and the main advantages of each are spelled out in Table 15.15.
CD 15-31
Table 15.15 Potential Sites for Texago’s New Refinery and Their Main
Advantages
Since the amounts of crude oil produced or purchased will be the same regardless of
which location is chosen for the new refinery, the task force concludes that the associated
production or purchase costs (exclusive of shipping costs) are not relevant to the site selection
decision. On the other hand, the costs for transporting the crude oil from its source to a refinery
are very relevant. These costs are shown in Table 15.17 for both the three current refineries and
the three potential sites for the new refinery.
CD 15-32
Table 15.17 Cost Data for Shipping Crude Oil to a Texago Refinery
Also very relevant are the costs of shipping the finished product from a refinery to a
distribution center. Letting one unit of finished product correspond to a refinery’s production
from 1 million barrels of crude oil, these costs are given in Table 15.18. The bottom row of the
table shows the number of units of finished product needed by each distribution center.
Table 15.18 Cost Data for Shipping Finished Product to a Distribution Center
The final key body of data involves the operating costs for a refinery at each potential
site. Estimating these costs requires site visits by several members of the task force to collect
detailed information about local labor costs, taxes, and so forth. Comparisons then are made with
the operating costs of the current refineries to help refine these data. In addition, the task force
gathers information on one-time site costs for land, construction, and other expenses and
CD 15-33
amortizes these costs on an equivalent uniform annual cost basis. This process leads to the
estimates shown in Table 15.19.
Table 15.19 Estimated Operating Costs for a Texago Refinery at Each Potential
Site
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
ShipmentQuantity
Subject to the Constraints:
TotalReceived = Demand
TotalShipped = Supply
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.10 The basic spreadsheet formulation for the Texago transportation problem for
shipping crude oil from oil fields to the refineries, including the new refinery
at a site still to be selected. The objective cell is TotalCost (J20) and the other
ouput cells are TotalShipped (H13:H16) and TotalReceived (D17:G17).
Before entering the data for a new site and then solving, a trial solution of 0
has been entered into each of the changing cells ShipmentQuantity
(D13:G16).
CD 15-35
Figure 15.11 The changing cells ShipmentQuantity (D13:G16) give Texago management
an optimal plan for shipping crude oil if Los Angeles is selected as the new
site for the refinery in column G of Figure 15.10.
Figure 15.12 The changing cells ShipmentQuantity (D13:G16) give Texago management
an optimal plan for shipping crude oil if Galveston is selected as the new site
for a refinery in column G of Figure 15.10.
CD 15-36
Figure 15.13 The changing cells ShipmentQuantity (D13:G16) give Texago management
an optimal plan for shipping crude oil if St. Louis is selected as the new site
for a refinery in column G of Figure 15.10.
The analysis of the cost of shipping finished product is similar. Figure 15.14 shows the
spreadsheet model for this transportation problem, where rows 5–7 come directly from the first
three rows of Table 15.18. The New Site row would be filled in from one of the next three rows of
Table 15.18, depending on which potential site for the new refinery is currently under evaluation.
Since the units for finished product leaving a refinery are equivalent to the units for crude oil
coming in, the data in Supply (J13:J16) come from the left side of Table 15.16.
The changing cells ShipmentQuantity (D13:G16) in Figures 15.15, 15.16, and 15.17
show the optimal plan for shipping finished product for each of the sites being considered for the
new refinery. The objective cell TotalCost (J20) in Figure 15.15 indicates that the resulting total
annual cost for shipping finished product if the new refinery were in Los Angeles is $1.57 billion.
Similarly, this total cost would be $1.63 billion if Galveston were the chosen site (Figure 15.16)
and $1.43 billion if St. Louis were chosen (Figure 15.17).
CD 15-37
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
ShipmentQuantity
Subject to the Constraints:
TotalReceived = Demand
TotalShipped = Supply
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.14 The basic spreadsheet formulation for the Texago transportation problem for
shipping finished product from the refineries (including the new one at a site
still to be selected) to the distribution centers. The objective cell is TotalCost
(J20) and the other output cells are TotalShipped (H13:H16) and
TotalReceived (D17:G17). Before entering the data for a new site and
solving, a trial solution of 0 has been entered into each of the changing cells
ShipmentQuantity (D13:G16).
CD 15-38
Figure 15.15 The changing cells ShipmentQuantity (D13:G16) give Texago management
an optimal plan for shipping finished product if Los Angeles is selected as
the new site for a refinery in rows 8 and 16 of Figure 15.14.
Figure 15.16 The changing cells ShipmentQuantity (D13:G16) give Texago management
an optimal plan for shippig finished product if Galveston is selected as the
new site for a refinery in rows 8 and 16 of Figure 15.14.
CD 15-39
Figure 15.17 The changing cells ShipmentQuantity (D13:G16) give Texago management
an optimal plan for shipping product if St. Louis is selected as the new site
for a refinery in rows 8 and 16 of Figure 15.14.
For each of the three alternative sites, two separate spreadsheet models have been used
for planning the shipping of crude oil and the shipping of finished product. However, another
option would have been to combine all this planning into a single spreadsheet model for each site
and then to simultaneously optimize the plans for the two types of shipments. This would
essentially involve combining Figure 15.11 with Figure 15.15, Figure 15.12 with Figure 15.16,
and Figure 15.13 with Figure 15.17, and then using the sum of the shipping costs for the pair of
transportation problems as the objective cell to be minimized. This would have the advantage of
showing all the shipment planning for a given site on a single spreadsheet. At the end of the
chapter, Case 15-1 will continue this Texago case study by considering a situation where this kind
of combined spreadsheet model is needed to find the best overall shipping plan for each possible
choice of a site.
Table 15.20 Annual Variable Costs Resulting from the Choice of Each Site for
the New Texago Refinery
Adding across these three columns gives the total variable cost for each alternative.
Conclusion: From a purely financial viewpoint, St. Louis is the best site for the new
refinery. This site would save the company about $200 million annually as compared to
the Galveston alternative and about $150 million as compared to the Los Angeles
alternative.
However, as with any site selection decision, management must consider a wide variety
of factors, including some nonfinancial ones. (For example, remember that one important
advantage of the Galveston site is that it is close to corporate headquarters.) Furthermore, if ways
can be found to reduce some of the costs in Table 15.20 for either the Los Angeles or Galveston
sites, this might change the financial evaluation substantially. Management also must consider
whether there are any cost trends or trends in the marketplace that might alter the picture in the
future.
After careful consideration, Texago management tentatively chooses the St. Louis site.
(This story continues in Case 15-1, where the task force is asked to analyze the option of
enlarging the capacity of the new refinery before the final decision is made on its site.)
REVIEW QUESTIONS
1. What are the three key factors for management’s decision on the location of the new refinery?
2. Why do shipping costs to and from the current refineries need to be considered along with
those for the new refinery?
3. Why did the Texago task force find it necessary to solve six transportation problems instead of
just one?
4. What else must Texago management consider in addition to the financial analysis based on
solving?
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
Assignment
Subject to the Constraints:
TotalAssigned = Demand
TotalAssignments = Supply
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.18 A spreadsheet formulation of the Sellmore Co. problem as an assignment problem,
including the objective cell TotalCost (J30) and the other output cells Cost
(D15:G18), TotalAssignments (H24:H27), and Total Assigned (D28:G28), as well
as the specifications needed to set up the model. The values of 1 in the changing
cells Assignment (D24:G27) show the optimal plan obtained by Solver for
assigning the people to the tasks.
The values of 1 in Supply (J24:J27) indicate that each person (assignee) listed in column
C must perform exactly one task. The values of 1 in Demand (D30:G30) indicate that each task
CD 15-43
must be performed by exactly one person. These requirements then are specified in the
constraints given in the Solver Parameters box.
Each of the changing cells Assignment (D24:G27) is given a value of 1 when the
corresponding assignment is being made, and a value of 0 otherwise. Therefore, the Excel
equation for the objective cell, TotalCost = SUMPRODUCT(Cost, Assignment), gives the total
cost for the assignments being made. The Solver Parameters box specifies that the objective is to
minimize this objective cell.
The changing cells in Figure 15.18 show the optimal solution obtained after running
Solver. This solution is
Assign Ann to prepare conference packets.
Assign Ian to do the computer graphics.
Assign Joan to handle registrations.
Assign Sean to do the word processing.
The total cost given in cell J30 is $1,957.
assignment problem, where all the assignees are lined up in order on the left and all the tasks are
lined up in order on the right. The arrows show the possible assignments, where exactly four
arrows are to be chosen—one emanating from each assignee and one leading to each task. The
number next to each arrow gives the cost if that particular assignment is chosen.
Figure 15.19 The network representation of the Sellmore Co. assignment problem shows
all the possible assignments and their costs graphically.
However, as discussed in Section 15.2, either the transportation simplex method or the
network simplex method provides a far more efficient way of solving big transportation problems.
Consequently, since the assignment problem is a special type of transportation problem, these
same algorithms can be used to solve big assignment problems quickly.
Nevertheless, even these special algorithms do not provide the fastest way of solving
assignment problems. There are much faster algorithms available that have been designed
specifically to solve assignment problems. The most famous of these is called the Hungarian
method. In practice, one of these special algorithms normally would be used to solve large
assignment problems. Although Solver does not have special-purpose algorithms such as the
Hungarian method for efficiently solving special types of linear programming problems, other
linear programming software packages are available that do.
REVIEW QUESTIONS
1. Give a one-sentence description of assignment problems.
2. What assumptions about assignees and tasks need to hold for a problem to be an assignment
problem?
3. What needs to be done to formulate a problem as an assignment problem?
4. What are the sources, destinations, supplies, and demands when an assignment problem is
described as a special kind of transportation problem?
5. Name an algorithm that has been designed specifically just to solve assignment problems very
quickly.
Table 15.22 Materials-Handling Cost Data for the Job Shop Co. Problem
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
Assignment
Subject to the Constraints:
D12 = 0
TotalAssigned <= Demand
TotalAssignments = Supply
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.20 A spreadsheet formulation of the Job Shop Co. problem as a variant of an
assignment problem, including the objective cell TotalCost (J17) and the
other output cells TotalAssignments (H11:H13) and TotalAssigned
(C14:G14), as well as the specifications needed to set up the model. The
values of 1 in the changing cells Assignment (C11:G13) show the optimal
plan obtained by Solver for assigning the machines to the locations.
CD 15-48
The changing cells Assignment (C11:G13) with a value of 1 show the assignments being
made in the optimal solution after running Solver. Since none of these cells for locations 2 and 5
have a value of 1, a machine will not be placed in either of these locations. The objective cell
TotalCost (J17) indicates that the total cost for this optimal solution is $31 per hour.
Solver Parameters
Set Objective Cell: TotalCost
To: Min
By Changing Variable Cells:
Assignment
Subject to the Constraints:
E20 = 0
G19:G20 <= I19:I20
G21 = I21
TotalAssigned = Demand
Solver Options:
Make Variables Nonnegative
Solving Method: Simplex LP
Figure 15.21 In contrast to Figure 15.4, product splitting is not allowed, so the Better Products Co.
problem becomes a variant of an assignment problem. The objective cell is
TotalCost (I24) and the other output cells are Cost (C12:F14), TotalAssignments
(G19:G21), and TotalAssigned(C22:F22), where the equations entered into these
cells are shown below the spreadsheet. The values of 1 in the changing cells
Assignment (C19:F21) display the optimal production plan obtained by Solver.
CD 15-50
The data from Table 15.6 are given at the top. However, the unit costs given in cells
C4:F6 are not the appropriate costs for the cost table for a variant of an assignment problem. To
construct the appropriate cost table, we must determine each cost associated with assigning a
plant to all the required production of a product. The corresponding unit cost shown in rows 4–6
is the cost of producing only one unit rather than the entire required (daily) production given in
row 8. Therefore, we must multiply this unit cost by the required (daily) production to obtain the
total (daily) cost of the assignment. For example, consider the assignment of Plant 1 to product 1.
Cost of Plant 1 producing one unit of product 1 = $41
Required (daily) production of product 1 = 20 units
Total (daily) cost of assigning Plant 1 to product 1 = 20 ($41)
= $820
Cost(C12:F14) gives the total (daily) assignment costs, calculated in this way (see the equations
at the bottom of the figure), for each combination of assigning a plant to a product.
Since Plant 2 cannot produce product 3, the Solver Parameters box includes the constraint
that E20 = 0. Either Plant 1 or Plant 2 (but not both) needs to be chosen to produce a second
product, so these two plants are given a supply of 2 in cells I19:I20. A ≤ sign is then used for the
corresponding supply constraints, G19:G20 ≤ I19:I20. However, the supply constraint for Plant 3
and the demand constraints are the usual ones for an assignment problem.
After running Solver, the optimal solution shown in the changing cells Assignment
(C19:F21) is obtained, namely, Plant 1 produces products 2 and 3, Plant 2 produces product 1,
and Plant 3 produces product 4. The objective cell TotalCost (I24) gives the total daily cost of
$3,290 for this production plan.
It is interesting to compare this solution with the one given in DailyProduction (C11:F13)
of Figure 15.4 when product splitting was permitted. Note that the assignments for plants 2 and 3
in Figure 15.4 are quite different than here. The total cost calculated for the production plan
shown in that figure is $3,260 per day, or $30 per day less than for the plan in Figure 15.21.
However, the formulation of the original problem (product splitting permitted) as a
variant of a transportation problem does not take into account hidden costs of product splitting
(extra setup, distribution, and administration costs), which probably are considerably more than
$30 per day. Therefore, management adopted the production plan based on this new formulation
(product splitting prohibited) as a variant of an assignment problem.
Therefore, the school district management has decided to prohibit splitting any tract
between schools. To provide a relatively even allocation of students to schools, management also
will require that exactly three tracts be assigned to each school.
New Problem Statement: Given the data in Table 15.12, minimize the total distance that
all students must travel to school when each tract is assigned entirely to one school (no
tract splitting) and each school is assigned exactly three tracts.
Figure 15.22 In contrast to Figure 15.8, tract splitting is no longer allowed, so the Middletown
School District problem becomes a variant of an assignment problem. The objective
cell is TotalDistance (H30) and the other output cells are TotalAssignments
(F18:26), TotalAssigned (C27: E27), and (in units of miles) Cost (I5:K13), where the
equations entered into these cells are shown after the spreadsheet. The values of 1 in
the changing cells Assignment (C18:E26) show the optimal zoning plan found by
Solver.
The objective for an assignment problem is to minimize the total cost of all the
assignments made, but now cost is being measured in terms of the total distance that students
travel. Therefore, the cost of assigning any tract to a particular school is the number of students in
that tract times the distance to that school per student, where both of these quantities are given in
the table called Distance (C5:E13) in Figure 15.22. To illustrate, consider the cost of assigning
tract 1 to school 1.
CD 15-53
REVIEW QUESTIONS
1. When formulating a spreadsheet model for a variant of an assignment problem where certain
assignees are unable to perform certain tasks, how is this feature formulated in the model?
2. If an assignee will perform more than one task, how is this feature formulated in the
spreadsheet model?
3. If a task will be performed jointly by more than one assignee, how is this feature formulated in
the spreadsheet model?
15.8 SUMMARY
Transportation problems and assignment problems (and their variants) are special types of linear
programming problems that have a variety of important applications.
A transportation problem is concerned (literally or figuratively) with distributing a
commodity from its sources to some destinations. Each source has a fixed supply and each
destination has a fixed demand for the commodity. A basic assumption is that the cost of
distribution from each source to each destination is directly proportional to the amount
distributed. Formulating a transportation problem requires identifying the unit costs of
distribution, the supplies, and the demands.
Given a set of tasks to be performed and a set of assignees who are available to perform
the tasks (one assignee per task), an assignment problem deals with the question of which
assignee should be assigned to each task so as to minimize the total cost of performing all the
tasks. The assignees can be people, machines, vehicles, plants, and so on, so there are many
applications. The formulation of the problem requires constructing a cost table that gives the cost
for each possible assignment of an assignee to a task.
A variety of features that do not quite fit either the transportation problem format or the
assignment problem format also can be readily formulated in a spreadsheet model.
CD 15-54
The overriding goal of this chapter has been to enable you to recognize when a problem
you might face as a future manager can be formulated and analyzed as a transportation or
assignment problem, or as a variant of one of these problem types.
Glossary
assignees The entities (people, machines, vehicles, plants, etc.) that are to perform the tasks when
formulating a problem as an assignment problem. (Section 15.6)
cost table The table that summarizes the formulation of an assignment problem by giving the cost
for each possible assignment of an assignee to a task. (Section 15.6)
demand at a destination The number of units that need to be received by this destination from
the sources. (Section 15.2)
destinations The receiving centers for a transportation problem. (Section 15.2)
Hungarian method An algorithm designed specifically to solve assignment problems very
efficiently. (Section 15.6)
network simplex method A streamlined version of the simplex method for solving distribution-
network problems, including transportation and assignment problems, very efficiently. (Section
15.2)
sources The supply centers for a transportation problem. (Section 15.2)
supply from a source The number of units to be distributed from this source to the destinations.
(Section 15.2)
tasks The jobs to be performed by the assignees when formulating a problem as an assignment
problem. (Section 15.6)
transportation simplex method A streamlined version of the simplex method for solving
transportation problems very efficiently. (Section 15.2)
Problems
We have inserted the symbol E* to the left of each problem (or its parts) where Excel should be
used (unless your instructor gives you contrary instructions). An asterisk on the problem number
indicates that at least a partial answer is given at the end of the problems.
15.1. Consider the transportation problem having the following data:
15.3. The Cost-Less Corp. supplies its four retail outlets from its four plants. The shipping cost
per shipment from each plant to each retail outlet is given below.
15.4. The Childfair Company has three plants producing child push chairs that are to be
shipped to four distribution centers. Plants 1, 2, and 3 produce 12, 17, and 11 shipments
per month, respectively. Each distribution center needs to receive 10 shipments per
month. The distance from each plant to the respective distribution centers is given below:
CD 15-57
E* 15.5.* Tom would like 3 pints of home brew today and an additional 4 pints of home brew
tomorrow. Dick is willing to sell a maximum of 5 pints total at a price of $3.00/pint today
and $2.70/pint tomorrow. Harry is willing to sell a maximum of 4 pints total at a price of
$2.90/pint today and $2.80/pint tomorrow.
Tom wishes to know what his purchases should be to minimize his cost while satisfying
his thirst requirements. Formulate and solve a spreadsheet model for this problem.
E* 15.6. The Versatech Corporation has decided to produce three new products. Five branch
plants now have excess product capacity. The unit manufacturing cost of the first product
would be $31, $29, $32, $28, and $29 in plants 1, 2, 3, 4, and 5, respectively. The unit
manufacturing cost of the second product would be $45, $41, $46, $42, and $43 in plants
1, 2, 3, 4, and 5, respectively. The unit manufacturing cost of the third product would be
$38, $35, and $40 in plants 1, 2, and 3, respectively, whereas plants 4 and 5 do not have
the capability for producing this product. Sales forecasts indicate that 600, 1,000, and 800
units of products 1, 2, and 3, respectively, should be produced per day. Plants 1, 2, 3, 4,
and 5 have the capacity to produce 400, 600, 400, 600, and 1,000 units daily,
respectively, regardless of the product or combinations of products involved. Assume that
any plant having the capability and capacity to produce them can produce any
combination of the products in any quantity.
Management wishes to know how to allocate the new products to the plants to minimize
total manufacturing cost. Formulate and solve a spreadsheet model for this problem.
E* 15.7. Suppose that England, France, and Spain produce all the wheat, barley, and oats in the
world. The world demand for wheat requires 125 million acres of land devoted to wheat
production. Similarly, 60 million acres of land are required for barley and 75 million
acres of land are required for oats. The total amount of land available for these purposes
in England, France, and Spain is 70 million acres, 110 million acres, and 80 million acres,
respectively. The number of hours of labor needed in England, France, and Spain,
respectively, to produce an acre of wheat is 18, 13, and 16; to produce an acre of barley is
15, 12, and 12; and to produce an acre of oats is 12, 10, and 16. The labor cost per hour in
England, France, and Spain, respectively, for producing wheat is $9.00, $7.20, and $9.90;
for producing barley is $8.10, $9.00, and $8.40; and for producing oats is $6.90, $7.50,
and $6.30. The problem is to allocate land use in each country so as to meet the world
food requirements and minimize the total labor cost. Formulate and solve a spreadsheet
model for this problem.
E* 15.8. A contractor, Susan Meyer, has to haul gravel to three building sites. She can purchase as
much as 18 tons at a gravel pit in the north of the city and 14 tons at one in the south. She
needs 10, 5, and 10 tons at sites 1, 2, and 3, respectively. The purchase price per ton at
each gravel pit and the hauling cost per ton are given in the following table.
Susan wishes to determine how much to haul from each pit to each site to minimize the
total cost for purchasing and hauling gravel. Formulate and solve a spreadsheet model for
this problem.
CD 15-58
E* 15.9. Reconsider the P & T Co. case study presented in Sections 15.1 and 15.2. Refer to the
spreadsheet in Figure 15.2, which shows the formulation as a transportation problem and
displays an optimal solution. You now learn that one or more of the unit costs in the data
cells UnitCost (D5:G7) may change slightly before shipments begin.
Use Solver to generate the sensitivity report for this problem. Use this report to
determine the allowable range for each of the unit costs. What do these allowable
ranges tell P & T management?
E* 15.10. Reconsider the Metro Water District problem presented in Section 15.4. Refer to the
spreadsheet in Figure 15.6, which shows the formulation as a variant of a transportation
problem and displays an optimal solution.
The numbers given in the data cells are only estimates that may be somewhat inaccurate,
so management now wishes to do some what-if analysis. Use Solver to generate the
sensitivity report. Then use this report to address the following questions. (In each case,
assume that the indicated change is the only change in the model.)
a. Would the optimal solution in Figure 15.6 remain optimal if the cost per acre foot
of shipping Calorie River water to San Go were actually $200 rather than $230?
b. Would this solution remain optimal if the cost per acre foot of shipping Sacron
River water to Los Devils were actually $160 rather than $130?
c. Must this solution remain optimal if the costs considered in parts a and b were
simultaneously changed from their original values to $215 and $145, respectively?
d. Suppose that the supply from the Sacron River and the demand at Hollyglass are
decreased simultaneously by the same amount. Must the shadow prices for
evaluating these changes remain valid if the decrease were 0.5 million acre feet?
E* 15.11. Reconsider the Metro Water District problem presented in Section 15.4, including the
data given in Table 15.9.
The numbers in this table for the amount of water needed by the respective cities actually
represent the absolute minimum that each city must have. Each city would like to have as
much as 2 million additional acre feet beyond this minimum amount.
Since the amount of water available exceeds the sum of these minimum amounts by 3.5
million acre feet, Metro management has decided to distribute this additional water to the
cities as well. The decisions on how much additional water the respective cities will
receive beyond meeting their minimum needs will be based on minimizing Metro’s total
cost. Management wants to know which plan for distributing water from the rivers to the
cities will achieve this objective.
Formulate and solve a spreadsheet model for this problem.
CD 15-59
E* 15.12. The Onenote Co. produces a single product at three plants for four customers. The three
plants will produce 60, 80, and 40 units, respectively, during the next week. The firm has
made a commitment to sell 40 units to customer 1, 60 units to customer 2, and at least 20
units to customer 3. Both customers 3 and 4 also want to buy as many of the remaining
units as possible. The net profit associated with shipping a unit from plant i for sale to
customer j is given by the following table:
Management wishes to know how many units to sell to customers 3 and 4 and how many
units to ship from each of the plants to each of the customers to maximize profit.
Formulate and solve a spreadsheet model for this problem.
E* 15.13. The Move-It Company has two plants building forklift trucks that then are shipped to
three distribution centers. The production costs are the same at the two plants, and the
cost of shipping each truck is shown below for each combination of plant and distribution
center:
A total of 60 forklift trucks are produced and shipped per week. Each plant can produce
and ship any amount up to a maximum of 50 trucks per week, so there is considerable
flexibility on how to divide the total production between the two plants so as to reduce
shipping costs. However, each distribution center must receive exactly 20 trucks per
week.
Management’s objective is to determine how many forklift trucks should be produced at
each plant, and then what the overall shipping pattern should be to minimize total
shipping cost. Formulate and solve a spreadsheet model for this problem.
E* 15.14. Redo Problem 15.13 when any distribution center may receive any quantity between 10
and 30 forklift trucks per week in order to further reduce total shipping cost, provided
only that the total shipped to all three distribution centers must still equal 60 trucks per
week.
CD 15-60
E* 15.15. The Build-Em-Fast Company has agreed to supply its best customer with three widgits
during each of the next three weeks, even though producing them will require some
overtime work. The relevant production data are as follows:
The cost per unit produced with overtime for each week is $100 more than for regular
time. The cost of storage is $50 per unit for each week it is stored. There is already an
inventory of two widgets on hand currently, but the company does not want to retain any
widgets in inventory after the three weeks.
Management wants to know how many units should be produced in each week to
minimize the total cost of meeting the delivery schedule. Formulate and solve a
spreadsheet model for this problem.
CD 15-61
E* 15.16. The MJK Manufacturing Company must produce two products in sufficient quantity to
meet contracted sales in each of the next three months. The two products share the same
production facilities, and each unit of both products requires the same amount of
production capacity. The available production and storage facilities are changing month
by month, so the production capacities, unit production costs, and unit storage costs vary
by month. Therefore, it may be worthwhile to overproduce one or both products in some
months and store them until needed.
For each of the three months, the initialed columns of the following table give the
maximum number of units of the two products combined that can be produced on regular
time (RT) and on overtime (OT). For each of the two products, the subsequent columns
give (1) the number of units needed for the contracted sales, (2) the cost (in thousands of
dollars) per unit produced on regular time, (3) the cost (in thousands of dollars) per unit
produced on overtime, and (4) the cost (in thousands of dollars) of storing each extra unit
that is held over into the next month. In each case, the numbers for the two products are
separated by a slash /, with the number for product 1 on the left and the number for
product 2 on the right.
The production manager wants a schedule developed for the number of units of each of
the two products to be produced on regular time and, if regular time production capacity
is used up, on overtime in each of the three months. The objective is to minimize the total
of the production and storage costs while meeting the contracted sales for each month.
There is no initial inventory, and no final inventory is desired after the three months.
Formulate and solve a spreadsheet model for this problem.
CD 15-62
15.18. Consider the assignment problem having the following cost table:
CD 15-63
15.19.* Consider the assignment problem having the following cost table:
15.20. Four cargo ships will be used for shipping goods from one port to four other ports
(labeled 1, 2, 3, 4). Any ship can be used for making any one of these four trips.
However, because of differences in the ships and cargoes, the total cost of loading,
transporting, and unloading the goods for the different ship–port combinations varies
considerably, as shown in the following table:
E* 15.21. Reconsider Problem 15.6. Suppose that the sales forecasts have been revised downward
to 240, 400, and 320 units per day of products 1, 2, and 3, respectively. Thus, each plant
now has the capacity to produce all that is required of any one product. Therefore,
management has decided that each new product should be assigned to only one plant and
that no plant should be assigned more than one product (so that three plants are each to be
assigned one product, and two plants are to be assigned none). The objective is to make
these assignments so as to minimize the total cost of producing these amounts of the
three products. Formulate and solve a spreadsheet model for this problem.
CD 15-64
15.22.* The coach of an age group swim team needs to assign swimmers to a 200-yard medley
relay team to send to the Junior Olympics. Since most of his best swimmers are very fast
in more than one stroke, it is not clear which swimmer should be assigned to each of the
four strokes. The five fastest swimmers and the best times (in seconds) they have
achieved in each of the strokes (for 50 yards) are
The coach wishes to determine how to assign four swimmers to the four different strokes
to minimize the sum of the corresponding best times.
E* 15.23. Reconsider Problem 15.8. Now suppose that trucks (and their drivers) need to be hired to
do the hauling, where each truck can only be used once to haul gravel from a single pit to
a single site. Enough trucks are available to haul all the gravel that can be purchased at
each site. Each truck can haul five tons, and the cost per truck is five times the hauling
cost per ton given earlier. Only full trucks are to supply each site.
Formulate and solve a spreadsheet model for this problem.
E* 15.24. Reconsider Problem 15.13. Now distribution centers 1, 2, and 3 must receive exactly 10,
20, and 30 units per week, respectively. For administrative convenience, management has
decided that each distribution center will be supplied totally by a single plant, so that one
plant will supply one distribution center and the other plant will supply the other two
distribution centers. The choice of these assignments of plants to distribution centers is to
be made solely on the basis of minimizing total shipping cost.
Formulate and solve a spreadsheet model for this problem.
a. Formulate and solve a spreadsheet model to find an optimal plan for shipping 360
million barrels of crude oil per year from the oil fields to the refineries, including the
new one in St. Louis, where the amount of crude oil each refinery will receive (up to its
capacity) is based on minimizing the total annual cost for these shipments. (Hint: You
can save some time in this and subsequent parts by using the live spreadsheets for the
Texago case study in this chapter’s Excel files as a starting point.) Compare the resulting
total annual cost for these shipments with the results obtained in Figure 15.13 under the
original assumption of a smaller refinery in St. Louis.
b. Assume that the plan found in part a (including its specification of how much crude oil
each refinery will receive) will be used. On this basis, formulate and solve a spreadsheet
model to find an optimal plan for shipping finished product from the refineries to the
distribution centers. Compare the resulting total annual cost for these shipments with the
results obtained in Figure 15.17. Also calculate the total annual cost of shipping both
crude oil and finished product under this plan and compare it with the corresponding
total of $2.92 billion obtained from Table 15.20.
c. You realize that the cost of shipping final product tends to be somewhat larger than the
cost of shipping crude oil. Therefore, rather than having the decisions regarding the
amount of crude oil each refinery will receive and process be dictated by minimizing the
total annual cost of shipping crude oil (as in parts a and b), you decide to check what
would happen if these decisions were based on minimizing the total annual cost of
shipping final product instead. Formulate and solve a spreadsheet model to find an
optimal plan for shipping final product from the refineries (including the new one in St.
Louis) to the distribution centers, where the allocation of the 360 million barrels of
crude oil per year to the refineries is based on minimizing the total annual cost for these
shipments. Compare the resulting total annual cost for these shipments with the results
obtained in part b and in Figure 15.17.
d. Assume that the plan found in part c (including its specification regarding how much
crude oil each refinery will receive and process) will be used. On this basis, formulate
and solve a spreadsheet model to find an optimal plan for shipping crude oil from the oil
fields to the refineries. Compare the resulting total annual cost for these shipments with
the results obtained in part a and in Figure 15.13. Also calculate the total annual cost of
shipping both crude oil and finished product under this plan and compare it with the
corresponding total obtained in part b and in Table 15.20.
e. You realize that, so far, you have been suboptimizing the overall problem by optimizing
only one part of the problem at a time, so now it is time to get down to serious business.
Formulate a single spreadsheet model that simultaneously considers the shipping of 360
million barrels of crude oil per year from the oil fields to the refineries (including the
new one in St. Louis) and the shipping of final product from the refineries to the
distribution centers. Use the objective of minimizing the grand total of all these shipping
costs. Since the refineries collectively have a capacity of processing 390 million barrels
of crude oil per year, the decisions regarding the amount of crude oil each refinery will
receive and process (up to each refinery’s capacity) also are to be based on this same
objective. Solve the model and compare the resulting total of all the shipping costs with
the corresponding total calculated in parts b and d and in Table 15.20.
CD 15-67
f. Repeat part e if the new refinery (with a capacity of processing 150 million barrels of
crude oil per year) were to be placed in Los Angeles instead of St. Louis. Then repeat it
again if Galveston were to be selected as the site instead of St. Louis. Using the
operating costs given in Table 15.19 for the three sites, construct a table like Table 15.20
to show the new financial comparison between the sites. (Although the operating costs
will be larger than given in Table 15.19 if the new refinery processes more than 120
million barrels of crude oil per year, management has instructed the task force to assume
that the differences in operating costs shown in Table 15.19 would continue to apply, so
the differences in the total variable costs in the table being constructed would still be
valid.)
g. You now are ready to submit all your results (including your spreadsheets) to
management. Write an accompanying memorandum that presents your
recommendations.