The Transportation and Assignment Problems

The Transportation and Assignment Problems

Chapter 9 The Transportation and Assignment Problems Frederick S. Hillier Education. Gerald J. Lieberman 2015 McGraw-Hill All rights 2015 McGraw-Hill Education. All rights reserved. Introduction

Transportation problem Many applications involve deciding how to optimally transport goods (or schedule production) Assignment problem Deals with assigning people to tasks Transportation and assignment problems Special cases of minimum cost flow problem Presented in Chapter 10 2015 McGraw-Hill Education. All rights

2 9.1 The Transportation Problem Prototype example P&T Company produces products including canned peas Production occurs at three canneries Four distribution warehouses are spread across the U.S. Management initiates a study to reduce shipping expenses 2015 McGraw-Hill Education. All rights

3 The Transportation Problem 2015 McGraw-Hill Education. All rights 4 The Transportation Problem Arrows represent possible truck routes Number on arrow: shipping cost per truckload Bracketed number: truckloads out

2015 McGraw-Hill Education. All rights 5 The Transportation Problem Let Z represent total shipping cost xij represents number of truckloads shipped from cannery i to warehouse j Problem: choose values of the 12 decision variables xij to minimize Z

2015 McGraw-Hill Education. All rights 6 The Transportation Problem 2015 McGraw-Hill Education. All rights 7 The Transportation Problem 2015 McGraw-Hill Education. All rights

8 The Transportation Problem The transportation problem model Concern: distributing any commodity from sources to destinations The requirements assumption Each source has a fixed supply Entire supply must be distributed to the destinations Each destination has a fixed demand

Entire demand must be received from the sources 2015 McGraw-Hill Education. All rights 9 The Transportation Problem The feasible solutions property A transportation problem will have feasible solutions if and only if: The cost assumption

Cost is directly proportional to number of units distributed 2015 McGraw-Hill Education. All rights 10 The Transportation Problem The transportation problem type: any linear programming problem that fits the structure in Table 9.6 Is 2015 McGraw-Hill Education. All rights

11 The Transportation Problem Solving the P&T Co. example using a spreadsheet See Figure 9.4 in the text Solver uses the general simplex method Rather than the streamlined version specifically designed for the transportation problem 2015 McGraw-Hill Education. All rights

12 9.2 A Streamlined Simplex Method for the Transportation Problem Transportation simplex method No artificial variables needed Current row zero can be obtained without using any other row Leave basic variable identified in a simple way New BF solution can be identified immediately Without algebraic manipulation on simplex tableau

Almost the entire simplex tableau can be eliminated 2015 McGraw-Hill Education. All rights 13 A Streamlined Simplex Method for the Transportation Problem Values needed to apply the transportation simplex method Current BF solution Current values of ui and vj Resulting values of cij ui vj for nonbasic

variables xij Transportation simplex tableau Used to record values for each iteration 2015 McGraw-Hill Education. All rights 14 2015 McGraw-Hill Education. All rights 15 A Streamlined Simplex Method for the

Transportation Problem Transportation simplex method is more efficient Especially for large problems For transportation problems with m sources and n destinations: Number of basic variables is equal to m+n-1 2015 McGraw-Hill Education. All rights 16

A Streamlined Simplex Method for the Transportation Problem General procedure for constructing an initial BF solution To begin, all source rows and columns of the transportation simplex tableau are under consideration for providing a basic variable 1. From the rows and columns still under consideration, select the next basic variable according to some criterion 2. Make that allocation large enough to exactly use up the smaller of the remaining supply in its row or the remaining demand in its column

2015 McGraw-Hill Education. All rights 17 A Streamlined Simplex Method for the Transportation Problem General procedure (contd.) 3. Eliminate that row or column from further consideration If both row and column are the same, arbitrarily choose the row to eliminate 4. If only one row or column remains under

consideration, complete the procedure by selecting every remaining variable associated with that row or column to be basic with the only feasible allocation Otherwise, return to step 1 2015 McGraw-Hill Education. All rights 18 A Streamlined Simplex Method for the Transportation Problem Alternative criteria for step one Northwest corner rule

Select the northwest corner, move one column to the right and then one row down Vogels approximation method Based on the arithmetic difference between the smallest and next-to-smallest unit cost cij still remaining in that row or column 2015 McGraw-Hill Education. All rights 19 A Streamlined Simplex Method for the

Transportation Problem Alternative criteria for step one (contd.) Russels approximation method For each row still under consideration, determine largest unit cost i still remaining in the row For each column still under consideration, determine largest unit cost still remaining in the row For each variable xij not previously selected in these rows and columns, calculate ij =cij - i Select the largest (absolute) negative value of ij 2015 McGraw-Hill Education. All rights 20

A Streamlined Simplex Method for the Transportation Problem Next step Check whether the initial solution is optimal by applying the optimality test Optimality test A BF solution is optimal if and only if for every (i,j) such that xij is nonbasic If the current solution is not optimal, go to an iteration

2015 McGraw-Hill Education. All rights 21 A Streamlined Simplex Method for the Transportation Problem An iteration Find the entering basic variable See Page 343 in the text Find the leaving basic variable See Pages 343-344 in the text

Find the new BF solution See Pages 344-345 in the text 2015 McGraw-Hill Education. All rights 22 9.3 The Assignment Problem Special type of linear programming problem Assignees are being asked to perform tasks Assignees could be people, machines, plants, or time slots

Requirements to fit assignment problem definition The number of assignees and tasks are the same Designated by n 2015 McGraw-Hill Education. All rights 23 The Assignment Problem Requirements to fit assignment problem definition (contd.)

Each assignee is assigned to exactly one task Each task is to be performed by exactly one assignee Cost cij is associated with each assignee i performing task j Objective: determine how n assignments should be made to minimize the total cost 2015 McGraw-Hill Education. All rights 24 The Assignment Problem If problem does not fit requirement 1 or 2

Dummy assignees and dummy tasks may be constructed Prototype example The Job Shop Co. problem Assign new machines to locations to minimize total cost of materials handling 2015 McGraw-Hill Education. All rights 25 The Assignment Problem

2015 McGraw-Hill Education. All rights 26 The Assignment Problem xij can have only values zero or one One if assignee i performs task j Zero if not 2015 McGraw-Hill Education. All rights

27 The Assignment Problem 2015 McGraw-Hill Education. All rights 28 The Assignment Problem Can use simplex method or transportation simplex method to solve Recommendation: use specialized solution

procedures for the assignment problem Will be more efficient for large problems Example: Pages 353-356 of the text 2015 McGraw-Hill Education. All rights 29 9.4 A Special Algorithm for the Assignment Problem Summary of the Hungarian algorithm 1. Subtract the smallest number in each row

from every number in the row. Enter the results in a new table. 2. Subtract the smallest number in each column of the new table from every number in the column. Enter the results in another table. 2015 McGraw-Hill Education. All rights 30 A Special Algorithm for the Assignment Problem

Summary of the Hungarian algorithm (contd.) 3. Test whether an optimal set of assignments can be made. To do this, determine the minimum number of lines needed to cross out all zeros If the minimum number of lines equals the number of rows, an optimal set of assignments is possible. Proceed with step 6. If not, proceed with step 4. 2015 McGraw-Hill Education. All rights 31

A Special Algorithm for the Assignment Problem Summary of the Hungarian algorithm (contd.) 4. If the number of lines is less than the number of rows, modify the table as follows: Subtract the smallest uncovered number from every uncovered number in the table Add the smallest uncovered number to the numbers at intersections of covering lines Numbers crossed out but not at intersections of cross-out lines carry over unchanged to the next

table 2015 McGraw-Hill Education. All rights 32 A Special Algorithm for the Assignment Problem Summary of the Hungarian algorithm (contd.) 5. Repeat steps 3 and 4 until an optimum set of assignments is possible 6. Make assignments one at a time in positions that have zero elements. Begin with rows or

columns with only one zero. Cross out both row and column after each assignment is made. Move on, with preference given to any row with only one zero not crossed out. 2015 McGraw-Hill Education. All rights 33 A Special Algorithm for the Assignment Problem Summary of the Hungarian algorithm (contd.) 6. (contd.) Continue until every row and

column has exactly one assignment and so has been crossed out. This will be an optimal solution for the problem 2015 McGraw-Hill Education. All rights 34 9.5 Conclusions General simplex method is a powerful algorithm Simplified approaches are available when problem fits the special structure

Transportation problem Assignment problem Both problem types studied in this chapter: Have a number of common applications 2015 McGraw-Hill Education. All rights 35

Recently Viewed Presentations

  • Cellular Automaton Evacuation Model Coupled with a Spatial Game

    Cellular Automaton Evacuation Model Coupled with a Spatial Game

    Hawk-Dove and Prisoners-Dilemma are used to model social dilemmas, and are thus suitable in modeling evacuation situations. CA Coupled with a Spatial Game 1/2. In our model, a spatial game is coupled to a CA. The game is Hawk-Dove or...
  • Anatomy of Mandibular Denture Bearing Area

    Anatomy of Mandibular Denture Bearing Area

    Anatomy of Mandibular Denture Bearing Area. ... Labial Vestibule. Runs from labial f. to buccal f. ... Mylohyoid elevates the floor of the mouth in the first stage of deglutition. It may also elevate the hyoid bone or depress the...
  • CAREERS IN SCIENCE, TECHNOLOGY, ENGINEERING & MATH (STEM)

    CAREERS IN SCIENCE, TECHNOLOGY, ENGINEERING & MATH (STEM)

    ETS 1700 - Hydraulics & Pneumatics. ETM 2315 - Mechanical Devices & Systems. ETS #### - Capstone (course under development) ETS - 1941 Internship * Course also meets a High School graduation requirement^ Course will be taken on the High...
  • Guest Services in Hospitality Management - John Wiley & Sons

    Guest Services in Hospitality Management - John Wiley & Sons

    Give an example of empowerment in a counter-service setting. What is the difference between implicit and explicit expectations? Explain how the definition for the term . quality service . can be generalized to facets of the hospitality industry.
  • Organisms Can Interact in Different Ways

    Organisms Can Interact in Different Ways

    Organisms Can Interact in Different Ways. Organisms Interact in Different Ways. ... Some birds are predators feeding on insects. One factor that may affect the movement of birds is the availability of insects. ... The Survival of one species might...
  • Proper Tone In Relationship Management: How to be Andy In a ...

    Proper Tone In Relationship Management: How to be Andy In a ...

    Questions to Ask To Cultivate Healthy Workplace - Recap. Do employees perceive the anti-harassment policy has integrity? (Do we show we care?) Do employees perceive the training as merely litigation risk avoidance, or as an attempt at properly cultivating a...
  • Collecting Textiles: Make It Work for Your Community

    Collecting Textiles: Make It Work for Your Community

    Use of the Term "Recycling" Within the Textiles IndustriesThe industry tends to use the words recycled and reused interchangeably. The clothing that is sold in charity thrift store and sold to developing nations would be considered "reuse" The textiles that...
  • Contexts in Computer Science Education

    Contexts in Computer Science Education

    Context is about personal engagement Some students do just fine with computing Fibonacci numbers Therefore, we need to offer multiple contexts, for all Snow's "cultures" * Summary: Does Contextualized Computing Lead to Literacy Models? ... In "Dream Machines," biography of...