Chapter 14-2 - Applications of Linear Optimization - Transportation Problem
Chapter 14-2 - Applications of Linear Optimization - Transportation Problem
Excel Easy
#1 Excel tutorial on the net Excel Introduction Basics Functions Data Analysis VBA 300 Examples Ask us
Assignment Problem
Capital Investment
Sensitivity Analysis
a. What are the decisions to be made? For this problem, we need Excel to find out how many
units to ship from each factory to each customer.
b. What are the constraints on these decisions? Each factory has a fixed supply and each
customer has a fixed demand.
c. What is the overall measure of performance for these decisions? The overall measure of
performance is the total cost of the shipments, so the objective is to minimize this quantity.
2. To make the model easier to understand, create the following named ranges.
Shipments C10:E12
TotalIn C14:E14
Demand C16:E16
TotalOut G10:G12
Supply I10:I12
TotalCost I16
Explanation: The SUM functions calculate the total shipped from each factory (Total Out) to each
customer (Total In). Total Cost equals the sumproduct of UnitCost and Shipments.
For example, if we ship 100 units from Factory 1 to Customer 1, 200 units from Factory 2 to
Customer 2, 100 units from Factory 3 to Customer 1 and 200 units from Factory 3 to Customer 3,
Total Out equals Supply and Total In equals Demand. This solution has a total cost of 27800.
It is not necessary to use trial and error. We shall describe next how the Excel Solver can be used
to quickly find the optimal solution.
https://www.excel-easy.com/examples/transportation-problem.html 2/5
3/27/2021 Transportation Problem in Excel - Easy Excel Tutorial
Note: can't find the Solver button? Click here to load the Solver add-in.
Enter the solver parameters (read on). The result should be consistent with the picture below.
You have the choice of typing the range names or clicking on the cells in the spreadsheet.
https://www.excel-easy.com/examples/transportation-problem.html 3/5
3/27/2021 Transportation Problem in Excel - Easy Excel Tutorial
3. Click Min.
Result:
https://www.excel-easy.com/examples/transportation-problem.html 4/5
3/27/2021 Transportation Problem in Excel - Easy Excel Tutorial
Conclusion: it is optimal to ship 100 units from Factory 1 to Customer 2, 100 units from Factory 2
to Customer 2, 100 units from Factory 2 to Customer 3, 200 units from Factory 3 to Customer 1
and 100 units from Factory 3 to Customer 3. This solution gives the minimum cost of 26000. All
constraints are satisfied.
https://www.excel-easy.com/examples/transportation-problem.html 5/5