Download presentation

Presentation is loading. Please wait.

1
Example 6.4 Plant and Warehouse Location Models

2
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Background Information n Huntco produces tomato sauce at five different plants. n The capacity (in tons) of each plant is given in the following table. Capacities for Huntco Example Plant 12345 Tons300200300200400

3
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Background Information -- continued n The tomato sauce is stored at one of three warehouses. The cost per ton of producing tomato sauce at each plant and shipping it to each warehouse is given in the table shown here. Production and Shipping Costs for Huntco Example To Warehouse 1Warehouse 2Warehouse 3 Plant 1$800$1000$1200 Plant 2$700$500$700 FromPlant 3$800$600$500 Plant 4$500$600$700 Plant 5$700$600$500

4
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Background Information -- continued n Huntco has four customers. n The cost of shipping a ton of sauce from each warehouse to each customer is given in the table shown here. Shipping Costs to Customers for Huntco Example To Customer 1Customer 2Customer 3Customer 4 Warehouse 1$40$80$90$50 FromWarehouse 2$70$40$60$80 Warehouse 3$80$30$50$60

5
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Background Information -- continued n Each customer must receive the amount (in tons) of sauce given in the following table. Customer Requirements for Huntco Example Customer 1234 Requirements200300150250

6
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Background Information -- continued n The annual fixed cost of operating each plant and warehouse is listed in this table. Fixed Costs for Huntco Example Fixed Annual Cost Plant 1$35,000 Plant 2$45,000 Plant 3$40,000 Plant 4$42,000 Plant 5$40,000 Warehouse 1$40,000 Warehouse 2$20,000 Warehouse 3$60,000

7
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Background Information -- continued n Huntco’s goal is to minimize the annual cost of meeting customer demands. n The company wants to determine which plants and warehouses to open, as well as the optimal shipping plan.

8
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Solution n To model Huntco’s situation we need to keep track of the following: –The shipments from plants to warehouses –The shipments from warehouses to customers –The fixed costs of operating plants and warehouses –The shipping and production costs from plants to warehouses –The shipping costs from warehouses to customers –The total amount shipped out of each plant

9
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Solution -- continued n We must also ensure that –Huntco pays the fixed costs for all plants and warehouses that it uses. –The amount shipped into each warehouse equals the amount received by each warehouse. –Each customer receives the specified demand.

10
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 HUNTCO.XLS n The spreadsheet model is shown on the next slide. n This file can be used to complete the model.

11
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7

12
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Developing the Model n To form the model, follow these steps: –Inputs. Enter the given data in the shaded ranges. –Shipments. Enter any trial values for the shipments from each plant to each warehouse in the Shipped1 range and any trial values for the shipments from each warehouse to each customer in the Shipped2 range. –Binary fixed cost variables. Enter any trial 0-1 values for the plant fixed-cost variables in the UsePlants range and the warehouse fixed-cost variables in the UseWhses range. The fixed-cost variable for a plant equals 1 if the plant is used and 0 if the plant is not used. Similarly, the fixed-cost variable for a warehouse equals 1 if the warehouse is used and 0 if the warehouse is not used.

13
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Developing the Model -- continued –Amount shipped out of each plant. Calculate the amounts shipped out of the plants as row sums in the ShippedOut1 range. Specifically, enter the formula =SUM(B30:D30) in cell E30 and copy it to the rest of the ShippedOut1 range. –Upper limit on amount shipped out of each plant. For each plant we need a constraint of the form Total shipped out of plant Plant capacity * Fixed-cost variable for plant This inequality ensures that if Huntco uses the plant, then this plant’s fixed-cost variable will equal 1 and the company will have to pay the plant’s operating cost. In this case the inequality states that the total shipped out of the plant is less than or equal to the plant’s capacity.

14
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Developing the Model -- continued –We generate the right side of the inequality in the UpCounds1 range. Specifically, enter the formula =B21*H6 in cell G30 and copy it to the rest of the UpBounds1 range. Note that if a plant is not used, the Solver is free to make this plant’s fixed-cost variable 0, and no fixed cost for this plant will be incurred. Then the inequality will be satisfied trivially (0 0). –Amount shipped into and out of each warehouse. For each warehouse, we need “flow balance” – that is, we need the following constraint: Total shipments into warehouse = Total shipments out of warehouse To implement this equation, first calculate the left side as column sums in the ShippedIn1 range. That is, enter the formula =SUM(B30:B34) in cell B35 and copy it to the rest of the ShippedIn1 range.

15
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Developing the Model -- continued –For the right side of the equality, first calculate total shipments out of warehouses as row sums in the ShippedOut2_Col column range. That is enter the formula =SUM(B42:E42) in cell F42 and copying it to the rest of the ShippedOut2_Col range, entering the formula totals in the ShippedOut2_Row row range by selecting this range, entering the formula =TRANSPOSE(ShippedOut2_Col) and pressing Ctrl-Shift-Enter. This allows us to compare a row with a row when we specify the equation in the Solver dialog box. –Upper limit on amount shipped out of each warehouse. For each warehouse we need a constraint of the form Total shipped out of warehouse UpperBound * Fixed-cost variable for warehouse

16
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Developing the Model -- continued –Here UpperBound is an upper bound on the most that could possibly be shipped out of any warehouse. Several possibilities for UpperBound could be used. We use the smaller of the total demand for all customers and the total capacity for all plants. If a warehouse’s fixed-cost variable is 0, then the inequality ensures that this warehouse cannot be used, whereas if the fixed-cost variable is 1, then this inequality is satisfied automatically. To operationalize the inequality, note that we already have the left sides in the ShippedOut2_Col range. To calculate the right side, enter the formula =E21*MIN(SUM(Capacities),(SUM(Demands)) in cell H42 and copy it to the rest of the UpBounds2 range.

17
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Developing the Model -- continued –Amount received by each customer. Calculate the total amounts received by the customers as column sums in the ShippedIn2 range. That is, enter the formula =SUM(B42:B44) in cell B45 and copy it to the rest of the ShippedIn2 range. –Shipping costs. Calculate the total costs of shipping from plants to warehouses and from warehouses to customers in cells B50 and B51 with the formulas =SUMPRODUCT(UnitCosts1,Shipped1) and =SUMPRODUCT(UnitCosts2,Shipped2). –Fixed costs. Calculate the annual fixed costs for operating plants and warehouses in cells B52 and B53 with the formulas =SUMPRODUCT(FCosts1,UsePlants) and =SUMPRODUCT(FCosts2,UseWhses).

18
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Developing the Model -- continued –Total cost. Finally, calculate the total annual cost in the TotCost cell with the formula =SUM(ShipCosts,FixedCosts).

19
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Using the Solver n The completed Solver dialog box is shown here.

20
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Using the Solver -- continued n The following is the explanation of the setup of the previous dialog box. –Objective. The objective to minimize is total annual cost. –Changing cells. There are four sets of changing cells – two sets for amounts to ship and two sets of binary variables for which plants and warehouses to use. –Plant upper bounds. The constraint ShippedOut1<=UpBounds1 operationalizes the first inequality. –Warehouse upper bounds. The constraint ShippedOut2_Col<=UpBounds2 operationalizes the second inequality.

21
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Using the Solver -- continued –Warehouse balance. The constraint ShippedIn1=ShippedOut2_Row operationalizes the equality. –Demand constraints. The constraint ShippedIn2>=Demands ensures that each customer received the required amount.

22
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Solution n The optimal solution shown indicates that Huntco should use plants 2, 3, and 5 and warehouses 2 and 3. n Of course, the optimal shipping plan, as specified in the Shipped1 and Shipped2 ranges, uses only these plants and warehouses. n This solution incurs a total annual cost of $700,500. n If you obtain an “optimal” solution with a total cost somewhat larger than this, check the Solver tolerance setting. If it is at its default level of 5%, the Solver might very well stop short of optimal. We obtained our solution by setting the tolerance to 0%.

23
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Solution -- continued n At this point, you might want to review the inputs for this problem and see whether the optimal solution appears reasonable from an economic point of view. n For example, although plant 1 has a relatively small fixed cost, it has relatively large unit shipping costs. n This is evidently the reason for not using plant 1. n However, the situation is not so obvious for plant 4 or warehouse 1. We think you will agree that on logistics problems such as this – and this is not even a large problem – more than intuition is necessary!

24
6.16.1 | 6.2 | 6.3 | 6.5 | 6.6 | 6.76.26.36.56.66.7 Sensitivity Analysis n We will not report any specific sensitivity analyses for this model, but many are possible. n For example, we might check whether adding larger capacities at plants 1 and 4 would induce Huntco to open them. n Or we might see what would happen if all the fixed costs increases by some percentage. n Or we might see what would happen if all customer demands increased by some percentage. n SolverTable, after some slight model modifications, can easily analyze any of these situations.

Similar presentations

© 2019 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google