transportation assignment

30
Transportation and Assignment Problems Operations Research

Upload: nilam-kabra

Post on 20-Jan-2015

9.575 views

Category:

Education


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Transportation Assignment

Transportation and Assignment Problems

Operations Research

Page 2: Transportation Assignment

Which Factory should supply to which Warehouse and how much?

Factory 1

Factory 3

Factory 2

Warehouse 3

Warehouse 1

Warehouse 2

Page 3: Transportation Assignment

What is a transportation problem?

Page 4: Transportation Assignment

Transportation as a Linear Programming Problem

Page 5: Transportation Assignment

Transportation Problem - Matrix

Page 6: Transportation Assignment

Transportation Problem - Matrix

Is Total Supply = Total Demand?

Transportation Cost of route AB (from Factory A to Store B)

Page 7: Transportation Assignment

Transportation Problem - Types

Page 8: Transportation Assignment

How to solve a transportation problem?

1. Formulate the problem and set up in matrix form

2. Obtain initial basic feasible solution3. Test the solution for optimality4. If yes, Stop5. If no, determine new optimal solution6. Go to step 3

Page 9: Transportation Assignment

Methods for finding initial solution

• North West Corner Method• Minimum Matrix Method• Vogel’s Corner Method

Page 10: Transportation Assignment

North West Corner Method

Page 11: Transportation Assignment

Initial Solution using NWCM

What is the number of positive allocations? -------- (6)

What is (number of rows + number of columns -1) -------- (3+4-1 = 6)

Page 12: Transportation Assignment

Testing for optimality

• Is there any alternative route (empty cell) which is better than existing routes?

• i.e. If I shift one unit from current route to any other route, does overall cost increase or decrease?

• Which out of alternative routes is best (which one reduces cost by maximum amount)?

Page 13: Transportation Assignment

Stepping Stones MethodTo evaluate each empty cell, draw a closed path starting at empty cell and returning to empty cell through at least 3 occupied cells.Add +1 (one unit) to the empty cell. Correspondingly subtract/ add one unit to each occupied cell on the closed path so that row and column sums remain balanced.

Increase in transportation cost = +4-6+5-3 = 0. There is no benefit to be gained by shifting units to route AD.

Page 14: Transportation Assignment

Initial solution itself was optimal in this case!

Page 15: Transportation Assignment

Special Cases

• Multiple optimum solution – A scenario where multiple routes have same overall cost.

• Unbalanced transportation problem - If total supply not equal to total demand

• Degeneracy – number of positive allocations < (number of rows + number of columns -1)

• Maximization

Page 16: Transportation Assignment

Unbalanced transportation problem

– If supply is more add a dummy demand column– If demand is more add a dummy supply column– Dummy cells have transportation cost zero

Which one is greater, demand or supply?

What should we add, dummy row or column?

Page 17: Transportation Assignment

Now solve using regular approach

Page 18: Transportation Assignment

Degeneracy

Page 19: Transportation Assignment

Degeneracy - Setting up a new problem

• Introduce artificial small quantity d that doesn’t otherwise impact supply-demand constraints

Page 20: Transportation Assignment
Page 21: Transportation Assignment

Maximization Problem

Page 22: Transportation Assignment

Convert to minimization problem

Page 23: Transportation Assignment

Assignment Problem• Special case of transportation problem• Here each source can supply to only one

destination– Number of sources equal to number of destinations– Only one unit supplied from source to destination

• Assigning jobs to workers• Assigning teachers to classes• Can be solved using simple enumeration of

combinations, regular transportation method or simplex method

Page 24: Transportation Assignment

Hungarian Method - Kuhn

Page 25: Transportation Assignment
Page 26: Transportation Assignment

Identify rows with exactly one zero. Draw a square on that zero. Cross out all other zeros in that column.

Identify columns with exactly one zero. Draw a square on that zero. Cross out all other zeros in that row.

If all zeros have either been marked with square or crossed out –

If there is at least one and only one square in each row, problem has been solved.

Page 27: Transportation Assignment

Draw minimum number of lines to cover all zeros.

Page 28: Transportation Assignment
Page 29: Transportation Assignment
Page 30: Transportation Assignment

Special cases

• Unbalanced – Sources and Destinations not equal.– Add a dummy source or destination with 0 cost.

• Maximization– Convert to minimization problem using

opportunity cost