Download presentation
Presentation is loading. Please wait.
1
TRANSPORTATION PROBLEMS
2
Introduction Transportation problem is a special kind of LP problem in which objective is to transport various quantities of a single homogenous commodity, to different destinations in such a way that the total transportation cost is minimized.
3
Examples: Sources Destinations factories, finished goods warehouses ,
raw materials ware houses, suppliers etc. Destinations Markets Finished goods ware house raw materials ware houses, factories,
4
Terminology Used Feasible Solution – Non negative values of xij, where i=1,2,..,m and j=1,2,..,n which satisfy the constraints of supply & demand is called feasible to the solution. Basic Feasible Solution – A feasible solution to a m origin and n destination problem is said to be basic if no. of positive allocations = m+n-1. Optimal Feasible Solution – A feasible solution is said to be optimal if it minimizes the total transportation cost. The optimal solution itself may or may not be a basic solution. After this no further decrease in transportation cost is possible.
5
Balanced Transportation Problem – A transportation problem in which the total supply from all sources equals the total demand in all destinations Unbalanced Transportation Problem – such problems which are not balanced Matrix Terminology
6
Assumptions of the model
Availability of the quantity. Transportation of items. Cost per unit. Independent cost. Objective.
7
Destination j c11 c12 c1j c1n ci1 ci2 cij cin cm1 cm2 cmn 1 2 j n
Supply a1 a2 ai am 1 2 i m c11 c12 c1j c1n ci1 ci2 cij cin cm1 cm2 cmn S O U R C E i Demand b b bj bn
8
Where, m- number of sources n- number of destinations ai- supply at source I bj – demand at destination j cij – cost of transportation per unit from source i to destination j Xij – number of units to be transported from the source i to destination j
9
Steps to solve a Transportation Model
Formulate the problem and setup in the matrix form. Obtain the Initial basic Feasible Solution. Test the initial solution for optimality. Updating the solution.
10
Transportation problem with 3 sources and 3 destinations
Factories (Sources) D E F Warehouses (Destinations) A B C 100 Units 300 Units 200 Units 300 Units Capacities Shipping Routes Requirements
11
Setting Up a Transportation Problem
The first step is setting up the transportation table Its purpose is to summarize all the relevant data and keep track of algorithm computations Transportation costs per desk for Executive Furniture TO FROM A B C D 5 4 3 E 8 F 9 7
12
Setting Up a Transportation Problem
Transportation table for Executive Furniture D’s capacity constraint TO FROM WAREHOUSE AT A WAREHOUSE AT B WAREHOUSE AT C FACTORY CAPACITY D FACTORY 5 4 3 100 E FACTORY 8 300 F FACTORY 9 7 WAREHOUSE REQUIREMENTS 200 700 Cell representing a source-to-destination (E to C) shipping assignment that could be made Total supply and demand Cost of shipping 1 unit from F factory to B warehouse C warehouse demand
13
Methods for Transportation Problems Initial Basic Feasible Solution
North West Corner Method (NWCM) Lowest Cost Entry Method (LCEM) Vogel’s Approximation Method (VAM) Optimality Tests MODI Method Stepping Stone Method
14
North West Corner Method (NWCM)
Construct an empty m х n matrix, completed with rows and columns. Indicate the row totals and column totals at the end. Starting with (1,1) cell at the North-West Corner of the matrix, allocate maximum possible quantity keeping in view that allocation can neither be more than the quantity required by the respective warehouses nor more than the quantity available at each supply centre.
15
Adjust the supply and demand numbers in the respective rows and column allocations.
If the supply for the first row is exhausted then move down to the first cell in the second row and first column and go to step 4. If the demand for first column is satisfied, then move to the next cell in the second column and first row and go to step 4. If for any cell, supply equals demand then the next allocation can be made in cell either in the next row or column. Continue the procedure until the total available quantity is fully allocated to the cells as required.
16
Developing an Initial Solution: Northwest Corner Rule
Beginning in the upper left hand corner, we assign 100 units from D to A. This exhaust the supply from D but leaves A 200 desks short. We move to the second row in the same column. TO FROM (A) (B) (C) FACTORY CAPACITY (D) 100 $5 $4 $3 (E) $8 300 (F) $9 $7 WAREHOUSE REQUIREMENTS 200 700
17
Developing an Initial Solution: Northwest Corner Rule
Assign 200 units from E to A. This meets A’s demand. E has 100 units remaining so we move to the right to the next column of the second row. TO FROM (A) (B) (C) FACTORY CAPACITY (D) 100 $5 $4 $3 (E) 200 $8 300 (F) $9 $7 WAREHOUSE REQUIREMENTS 700
18
Developing an Initial Solution: Northwest Corner Rule
Assign 100 units from E to B. The E supply has now been exhausted but B is still 100 units short. We move down vertically to the next row in the B column. TO FROM (A) (B) (C) FACTORY CAPACITY (D) 100 $5 $4 $3 (E) 200 $8 300 (F) $9 $7 WAREHOUSE REQUIREMENTS 700
19
Developing an Initial Solution: Northwest Corner Rule
Assign 100 units from F to B. This fulfills B’s demand and F still has 200 units available. TO FROM (A) (B) (C) FACTORY CAPACITY (D) 100 $5 $4 $3 (E) 200 $8 300 (F) $9 $7 WAREHOUSE REQUIREMENTS 700
20
Developing an Initial Solution: Northwest Corner Rule
Assign 200 units from Fort Lauderdale to Cleveland. This exhausts Fort Lauderdale’s supply and Cleveland’s demand. The initial shipment schedule is now complete. TO FROM (A) (B) (C) FACTORY CAPACITY (D) 100 $5 $4 $3 (E) 200 $8 300 (F) $9 $7 WAREHOUSE REQUIREMENTS 700
21
Developing an Initial Solution: Northwest Corner Rule
We can easily compute the cost of this shipping assignment ROUTE UNITS SHIPPED x PER UNIT COST ($) = TOTAL COST ($) FROM TO D A 100 5 500 E 200 8 1,600 B 4 400 F 7 700 C 1,000 4,200 This solution is feasible but we need to check to see if it is optimal
22
Lowest Cost Entry Method OR Matrix Minima Method
Select the cell with the lowest transportation cost among all the rows or columns of the transportation table. If the minimum cost is nor unique the select arbitrarily any cell with the lowest cost. Allocate as many units as possible to the cell determined in step 1 and eliminate that row in which either capacity or requirement is exhausted. Adjust the capacity and requirement for the next allocations. Repeat steps 1 to 3 for the reduced table until the entire capacities are exhausted to fill the requirement at different destinations.
23
An example for Lowest Cost Entry Method Step 1: Select the cell with minimum cost.
24
Step 2: Cross-out column 2
25
Step 3: Find the new cell with minimum shipping cost and cross-out row 2
26
Step 4: Find the new cell with minimum shipping cost and cross-out row 1
27
Step 5: Find the new cell with minimum shipping cost and cross-out column 1
28
Step 6: Find the new cell with minimum shipping cost and cross-out column 3
29
Step 7: Finally assign 6 to last cell
Step 7: Finally assign 6 to last cell. The bfs is found as: X11=5, X21=2, X22=8, X31=5, X33=4 and X34=6
30
Vogel’s Approximation Method (VAM)
Considered as the best method. The steps are as follows: For each row of the table identify the lowest and the next lowest cost cell. Find their differences and place it to the right of that row. In case two cells contain the same least cost then the difference shall be zero. Similarly find the difference of each column and place it below each column. These differences found in step 2 & 3 are also called penalties.
31
Maximum difference least cost cell
Looking at all the penalties, identify highest of them and the row or column relative to that penalty. Allocate the maximum possible units to the least cost cell in the selected row or column. Ties should be broken in this order Maximum difference least cost cell Maximum difference tie Least Cost Cell. Maximum Units allocation tie Arbitrary. Adjust the supply & demand and cross the satisfied row or column. Recompute the column and row differences ignoring deleted row/columns and go to step 3. repeat the procedure until all the column and row totals are satisfied.
32
An example for Vogel’s Method Step 1: Compute the penalties.
33
Step 2: Identify the largest penalty and assign the highest possible value to the variable.
34
Step 3: Identify the largest penalty and assign the highest possible value to the variable.
35
Step 4: Identify the largest penalty and assign the highest possible value to the variable.
36
Step 5: Finally the bfs is found as X11=0, X12=5, X13=5, and X21=15
37
Optimality Test by MODI Method
Construct the transportation table with given cost of transportation and rim conditions. Determine initial basic feasible solution using a suitable method. For occupied cells, calculate Ri and Kj for rows and columns respectively, where Cij = Ri + Kj For occupied cells, the opportunity cost is calculated using formula dij = Cij – (Ri + Kj) Now, the opportunity cost of unoccupied cells is determined, where Opportunity cost = Actual cost – Implied Cost dij = Cij – (Ri + Kj)
38
Examine unoccupied cells evaluation for dij
if dij > 0, cost will increase, i.e. optimal solution has arrived. If dij = 0, cost will remain unchanged but there exists an alternate solution. If dij < 0, then improved solution can be obtained by moving to step 7. Select an unoccupied cell with largest negative opportunity cost among all unoccupied cells. Construct a closed path for unoccupied cell determined in step7 and assign (+) and (-) sign alternatively beginning with plus sign for the selected unoccupied cell in any direction. Assign as many units as possible to the unoccupied cell satisfying rim conditions. The smallest allocation in a cell with negative sign on the closed path indicated the number of units that can be transported to the unoccupied cells. This quantity is added to all the occupied cells on the path marked with plus sign and substracted from those occupied cells on the path marked with minus sign. Go to step 4 and repeat procedure until all dij > 0,i.e., an optimal solution is reached.
39
Stepping-Stone Method: Finding a Least Cost Solution
The stepping-stone method is an iterative technique for moving from an initial feasible solution to an optimal feasible solution There are two distinct parts to the process Testing the current solution to determine if improvement is possible Making changes to the current solution to obtain an improved solution This process continues until the optimal solution is reached
40
Stepping-Stone Method: Finding a Least Cost Solution
There is one very important rule The number of occupied routes (or squares) must always be equal to one less than the sum of the number of rows plus the number of columns In the Executive Furniture problem this means the initial solution must have – 1 = 5 squares used Occupied shipping routes (squares) Number of rows Number of columns = – 1 When the number of occupied rows is less than this, the solution is called degenerate
41
Testing the Solution for Possible Improvement
The stepping-stone method works by testing each unused square in the transportation table to see what would happen to total shipping costs if one unit of the product were tentatively shipped on an unused route There are five steps in the process
42
Five Steps to Test Unused Squares with the Stepping-Stone Method
Select an unused square to evaluate Beginning at this square, trace a closed path back to the original square via squares that are currently being used with only horizontal or vertical moves allowed Beginning with a plus (+) sign at the unused square, place alternate minus (–) signs and plus signs on each corner square of the closed path just traced
43
Five Steps to Test Unused Squares with the Stepping-Stone Method
Calculate an improvement index by adding together the unit cost figures found in each square containing a plus sign and then subtracting the unit costs in each square containing a minus sign Repeat steps 1 to 4 until an improvement index has been calculated for all unused squares. If all indices computed are greater than or equal to zero, an optimal solution has been reached. If not, it is possible to improve the current solution and decrease total shipping costs.
44
Five Steps to Test Unused Squares with the Stepping-Stone Method
For the Executive Furniture Corporation data Steps 1 and 2. Beginning with Des Moines–Boston route we trace a closed path using only currently occupied squares, alternately placing plus and minus signs in the corners of the path In a closed path, only squares currently used for shipping can be used in turning corners Only one closed route is possible for each square we wish to test
45
Five Steps to Test Unused Squares with the Stepping-Stone Method
Step 3. We want to test the cost-effectiveness of the Des Moines–Boston shipping route so we pretend we are shipping one desk from Des Moines to Boston and put a plus in that box But if we ship one more unit out of Des Moines we will be sending out 101 units Since the Des Moines factory capacity is only 100, we must ship fewer desks from Des Moines to Albuquerque so we place a minus sign in that box But that leaves Albuquerque one unit short so we must increase the shipment from Evansville to Albuquerque by one unit and so on until we complete the entire closed path
46
Five Steps to Test Unused Squares with the Stepping-Stone Method
Evaluating the unused Des Moines–Boston shipping route Warehouse B $4 Factory D Warehouse A $5 100 Factory E $8 200 – + + – TO FROM ALBUQUERQUE BOSTON CLEVELAND FACTORY CAPACITY DES MOINES 100 $5 $4 $3 EVANSVILLE 200 $8 300 FORT LAUDERDALE $9 $7 WAREHOUSE REQUIREMENTS 700
47
Five Steps to Test Unused Squares with the Stepping-Stone Method
Evaluating the unused Des Moines–Boston shipping route Warehouse A Warehouse B 99 $5 $4 Factory D 1 100 – + + – 201 $8 $4 99 Factory E 200 100 TO FROM ALBUQUERQUE BOSTON CLEVELAND FACTORY CAPACITY DES MOINES 100 $5 $4 $3 EVANSVILLE 200 $8 300 FORT LAUDERDALE $9 $7 WAREHOUSE REQUIREMENTS 700
48
Five Steps to Test Unused Squares with the Stepping-Stone Method
Evaluating the unused Des Moines–Boston shipping route Warehouse A Factory D $5 Warehouse B $4 Factory E $8 100 99 1 201 200 + – TO FROM ALBUQUERQUE BOSTON CLEVELAND FACTORY CAPACITY DES MOINES 100 $5 $4 $3 EVANSVILLE 200 $8 300 FORT LAUDERDALE $9 $7 WAREHOUSE REQUIREMENTS 700 Result of Proposed Shift in Allocation = 1 x $4 – 1 x $5 + 1 x $8 – 1 x $4 = +$3
49
Five Steps to Test Unused Squares with the Stepping-Stone Method
Step 4. We can now compute an improvement index (Iij) for the Des Moines–Boston route We add the costs in the squares with plus signs and subtract the costs in the squares with minus signs Des Moines–Boston index = IDB = +$4 – $5 + $5 – $4 = + $3 This means for every desk shipped via the Des Moines–Boston route, total transportation cost will increase by $3 over their current level
50
Five Steps to Test Unused Squares with the Stepping-Stone Method
Step 5. We can now examine the Des Moines–Cleveland unused route which is slightly more difficult to draw Again we can only turn corners at squares that represent existing routes We must pass through the Evansville–Cleveland square but we can not turn there or put a + or – sign The closed path we will use is + DC – DA + EA – EB + FB – FC
51
Five Steps to Test Unused Squares with the Stepping-Stone Method
Evaluating the Des Moines–Cleveland shipping route TO FROM ALBUQUERQUE BOSTON CLEVELAND FACTORY CAPACITY DES MOINES 100 $5 $4 $3 EVANSVILLE 200 $8 300 FORT LAUDERDALE $9 $7 WAREHOUSE REQUIREMENTS 700 Start + – + Des Moines–Cleveland improvement index = IDC = + $3 – $5 + $8 – $4 + $7 – $5 = + $4
52
Five Steps to Test Unused Squares with the Stepping-Stone Method
Opening the Des Moines–Cleveland route will not lower our total shipping costs Evaluating the other two routes we find The closed path is + EC – EB + FB – FC + FA – FB + EB – EA So opening the Fort Lauderdale-Albuquerque route will lower our total transportation costs Evansville-Cleveland index = IEC = + $3 – $4 + $7 – $5 = + $1 Fort Lauderdale–Albuquerque index = IFA = + $9 – $7 + $4 – $8 = – $2
53
Obtaining an Improved Solution
In the Executive Furniture problem there is only one unused route with a negative index (Fort Lauderdale-Albuquerque) If there was more than one route with a negative index, we would choose the one with the largest improvement We now want to ship the maximum allowable number of units on the new route The quantity to ship is found by referring to the closed path of plus and minus signs for the new route and selecting the smallest number found in those squares containing minus signs
54
Obtaining an Improved Solution
To obtain a new solution, that number is added to all squares on the closed path with plus signs and subtracted from all squares the closed path with minus signs All other squares are unchanged In this case, the maximum number that can be shipped is 100 desks as this is the smallest value in a box with a negative sign (FB route) We add 100 units to the FA and EB routes and subtract 100 from FB and EA routes This leaves balanced rows and columns and an improved solution
55
Obtaining an Improved Solution
Stepping-stone path used to evaluate route FA TO FROM A B C FACTORY CAPACITY D 100 $5 $4 $3 E 200 $8 300 F $9 $7 WAREHOUSE REQUIREMENTS 700 + – +
56
Obtaining an Improved Solution
Second solution to the Executive Furniture problem TO FROM A B C FACTORY CAPACITY D 100 $5 $4 $3 E $8 200 300 F $9 $7 WAREHOUSE REQUIREMENTS 700 Total shipping costs have been reduced by (100 units) x ($2 saved per unit) and now equals $4,000
57
Obtaining an Improved Solution
This second solution may or may not be optimal To determine whether further improvement is possible, we return to the first five steps to test each square that is now unused The four new improvement indices are D to B = IDB = + $4 – $5 + $8 – $4 = + $3 (closed path: + DB – DA + EA – EB) D to C = IDC = + $3 – $5 + $9 – $5 = + $2 (closed path: + DC – DA + FA – FC) E to C = IEC = + $3 – $8 + $9 – $5 = – $1 (closed path: + EC – EA + FA – FC) F to B = IFB = + $7 – $4 + $8 – $9 = + $2 (closed path: + FB – EB + EA – FA)
58
Obtaining an Improved Solution
Path to evaluate for the EC route TO FROM A B C FACTORY CAPACITY D 100 $5 $4 $3 E $8 200 300 F $9 $7 WAREHOUSE REQUIREMENTS 700 Start + – + An improvement can be made by shipping the maximum allowable number of units from E to C
59
Obtaining an Improved Solution
Total cost of third solution ROUTE DESKS SHIPPED x PER UNIT COST ($) = TOTAL COST ($) FROM TO D A 100 5 500 E B 200 4 800 C 3 300 F 9 1,800 3,900
60
Obtaining an Improved Solution
Third and optimal solution TO FROM A B C FACTORY CAPACITY D 100 $5 $4 $3 E $8 200 300 F $9 $7 WAREHOUSE REQUIREMENTS 700
61
Obtaining an Improved Solution
This solution is optimal as the improvement indices that can be computed are all greater than or equal to zero D to B = IDB = + $4 – $5 + $9 – $5 + $3 – $4 = + $2 (closed path: + DB – DA + FA – FC + EC – EB) D to C = IDC = + $3 – $5 + $9 – $5 = + $2 (closed path: + DC – DA + FA – FC) E to A = IEA = + $8 – $9 + $5 – $3 = + $1 (closed path: + EA – FA + FC – EC) F to B = IFB = + $7 – $5 + $3 – $4 = + $1 (closed path: + FB – FC + EC – EB)
62
Summary of Steps in Transportation Algorithm (Minimization)
Set up a balanced transportation table Develop initial solution using either the northwest corner method or Vogel’s approximation method Calculate an improvement index for each empty cell using either the stepping-stone method or the MODI method. If improvement indices are all nonnegative, stop as the optimal solution has been found. If any index is negative, continue to step 4. Select the cell with the improvement index indicating the greatest decrease in cost. Fill this cell using the stepping-stone path and go to step 3.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.