Saturday, March 28, 2009

Transportation Problem

Transportation Method

A transportation tableau is given below. Each cell represents a shipping route (which is an arc on the network and a decision variable in the LP formulation), and the unit shipping costs are given in an upper right hand box in the cell.

clip_image002[7]

To solve the transportation problem by its special purpose algorithm, the sum of the supplies at the origins must equal the sum of the demands at the destinations (Balanced transportation problem).

• If the total supply is greater than the total demand, a dummy destination is added with demand equal to the excess supply, and shipping costs from all origins are zero.

• Similarly, if total supply is less than total demand, a dummy origin is added. The supply at the dummy origin is equal to the difference of the total supply and the total demand. The costs associated with the dummy origin are equal to zero.

When solving a transportation problem by its special purpose algorithm, unacceptable shipping routes are given a cost of +M (a large number).

Develop an Initial Solution

Two methods to get the initial solution:

• Northwest Corner Rule

• Minimum Cell-Cost Method

Northwest Corner Rule

1. Starting from the northwest corner of the transportation tableau, allocate as much quantity as possible to cell (1,1) from Origin 1 to Destination 1, within the supply constraint of source 1 and the demand constraint of destination 1.

2. The first allocation will satisfy either the supply capacity of Source 1 or the destination requirement of Destination 1.

ƒ If the demand requirement for destination 1 is satisfied but the supply capacity for Source 1 is not exhausted, move on to cell (1,2) for next allocation.

ƒ If the demand requirement for destination 1 is not satisfied but the supply capacity for Source 1 is exhausted, move to cell (2,1)

ƒ If the demand requirement for Destination 1 is satisfied and the supply capacity for Source 1 is also exhausted, move on to cell (2,2).

3. Continue the allocation in the same manner toward the southeast corner of the transportation tableau until the supply capacities of all sources are exhausted and the demands of all destinations are satisfied.

Initial tableau developed using Northwest Corner Method

clip_image004[7]

Total Cost = 12(400)+13(100)+4(700)+9(100)+12(200)+4(500)= 142,000

Minimum Cell-Cost Method

Although the North-west Corner Rule is the easiest, it is not the most attractive because our objective is not included in the process.

Steps of Minimum Cell-Cost Method

1. Select the cell with the minimum cell cost in the tableau and allocate as much to this cell as possible, but within the supply and demand constraints.

2. Select the cell with the next minimum cell-cost and allocate as much to this cell as possible within the demand and supply constraints.

3. Continue the procedure until all of the supply and demand requirements are satisfied. In a case of tied minimum cell-costs between two or more cells, the tie can be broken by selecting the cell that can accommodate the greater quantity.

Initial tableau developed using Minimum Cell-Cost Method

clip_image006[7]

Total Cost = 12(300)+4(200)+4(700)+10(100)+9(200)+4(500)= 120,000

MODI Method (for obtaining reduced costs)

Associate a number, ui, with each row and vj with each column.

• Step 1: Set u1 = 0.

• Step 2: Calculate the remaining ui's and vj's by solving the relationship cij

= ui + vj for occupied cells.

• Step 3: For unoccupied cells (i,j), the reduced cost = cij - ui - vj.

clip_image008[7]

Step 1: For each unoccupied cell, calculate the reduced cost by the MODI method. Select the unoccupied cell with the most negative reduced cost. (For maximization problems select the unoccupied cell with the largest reduced cost.) If none, STOP.

Step 2: For this unoccupied cell, generate a stepping stone path by forming a closed loop with this cell and occupied cells by drawing connecting alternating horizontal and vertical lines between them. Determine the minimum allocation where a subtraction is to be made along this path.

Step 3: Add this allocation to all cells where additions are to be made, and subtract this allocation to all cells where subtractions are to be made along the stepping stone path. (Note: An occupied cell on the stepping stone path now

becomes 0 (unoccupied). If more than one cell becomes 0, make only one unoccupied; make the others occupied with 0's.)

GO TO STEP 1.

Example: Acme Block Co. (ABC)

Acme Block Company has orders for 80 tons of concrete blocks at three suburban locations as follows: Northwood -- 25 tons, Westwood -- 45 tons, and Eastwood -- 10 tons. Acme has two plants, each of which can produce 50 tons per week. Delivery cost per ton from each plant to each suburban location is shown below.

clip_image010[7]

How should end of week shipments be made to fill the above orders?

Since total supply = 100 and total demand = 80, a dummy destination is created with demand of 20 and 0 unit costs.

clip_image012[7]

Iteration 1: Tie for least cost (0), arbitrarily select x14. Allocate 20. Reduce s1 by 20 to 30 and delete the Dummy column.

Iteration 2: Of the remaining cells the least cost is 24 for x11. Allocate 25. Reduce s1 by 25 to 5 and eliminate the Northwood column.

Iteration 3: Of the remaining cells the least cost is 30 for x12. Allocate 5. Reduce the Westwood column to 40 and eliminate the Plant 1 row. Iteration 4: Since there is only one row with two cells left, make the final allocations of 40 and 10 to x22 and x23, respectively.

1. Set u1 = 0

2. Since u1 + vj = c1j for occupied cells in row 1, then v1 = 24, v2 = 30, v4 = 0.

3. Since ui + v2 = ci2 for occupied cells in column 2, then u2 + 30 = 40, hence u2 = 10.

4. Since u2 + vj = c2j for occupied cells in row 2, then 10 + v3 = 42, hence v3 = 32.

Calculate the reduced costs (circled numbers on the previous slide) by cij - ui - vj.

Unoccupied Cell Reduced Cost (1,3) 40 - 0 - 32 = 8 (2,1) 30 - 24 -10 = -4 (2,4) 0 - 10 - 0 = -10

clip_image014[7]

clip_image015[7]

Iteration 1:

The stepping stone path for cell (2,4) is (2,4), (1,4), (1,2), (2,2). The allocations in the subtraction cells are 20 and 40, respectively. The minimum is 20, and hence reallocate 20 along this path. Thus for the next tableau:

x24 = 0 + 20 = 20 (0 is its current allocation) x14 = 20 - 20 = 0 (blank for the next tableau) x12 = 5 + 20 = 25

x22 = 40 - 20 = 20

The other occupied cells remain the same.

1. Set u1 = 0.

2. Since u1 + vj = cij for occupied cells in row 1, then v1 = 24, v2 = 30.

3. Since ui + v2 = ci2 for occupied cells in column 2, then u2 + 30 = 40, or u2 =

10.

4. Since u2 + vj = c2j for occupied cells in row 2, then 10 + v3 = 42 or v3 = 32;

and, 10 + v4 = 0 or v4 = -10.

clip_image017[7]

Iteration 2

Calculate the reduced costs (circled numbers on the previous slide) by cij - ui - vj.

Unoccupied Cell Reduced Cost (1,3) 40 - 0 - 32 = 8 (1,4) 0 - 0 - (-10) = 10 (2,1) 30 - 10 - 24 = -4

The most negative reduced cost is = -4 determined by x21. The stepping stone path for this cell is (2,1),(1,1),(1,2),(2,2). The allocations in the subtraction cells are 25 and 20 respectively. Thus the new solution is obtained by reallocating 20 on the stepping stone path. Thus for the next tableau:

x21 = 0 + 20 = 20 (0 is its current allocation)

x11 = 25 - 20 = 5

x12 = 25 + 20 = 45

x22 = 20 - 20 = 0 (blank for the next tableau)

The other occupied cells remain the same.

1. Set u1 = 0

2. Since u1 + vj = c1j for occupied cells in row 1, then v1 = 24 and v2 = 30.

3. Since ui + v1 = ci1 for occupied cells in column 2, then u2 + 24 = 30 or u2 =6.

4. Since u2 + vj = c2j for occupied cells in row 2, then 6 + v3 = 42 or v3 = 36, and 6 + v4 = 0 or v4 = -6.

clip_image019[7]

Iteration 3

Calculate the reduced costs (circled numbers on the previous slide) by cij - ui - vj.

Unoccupied Cell Reduced Cost

(1,3)

40 - 0 - 36 =

4

(1,4)

0 - 0 - (-6) =

6

(2,2)

40 - 6 - 30 =

4

Since all the reduced costs are non-negative, this is the optimal tableau.

clip_image020[7]

14 comments:

Unknown said...

Hello Sir, just wondering in computation, how to determine the negative or positive sign in the computation? Would you mind to explain to me please just confusing for me. Thanks a lot.

Subodhan said...

Hello Sir
I hava studying MCA in pune there are problem in Trasporation solved in LPP
if it's posible then plz send me mail on subu_purvant@yahoo.com
there r last chance for me.plz

Subodhan said...

Hello Sir
I have studying MCA in pune there are problem in Trasporation solved in LPP
if it's possible then pl z send me mail on subu_purvant@yahoo.com
there r last chance for me.pl z

Haripriya said...

hello sir!i am studing m.c.a in hyderabad.I am not able to how to take a closed loop in modi method.If possible please help me
to mail: hpriya_mca@yahoo.co.in
thankyou!

manaskmanas said...

Hello Sir, I am Manas, an MBA student from Osmania University. I was practicing few problems in transportation and was stuck for a silution of a problem,I request you please provide a solution for the below problem :




5-3. Ten years ago, a wholesale dealer started a business distributing pharmaceuticals from a
central warehouse ( CW ). Orders were delivered to customers by vans. The warehouse
has since been expanded in response to growing demand. Additionally, two new ware-
houses ( W 1 and W 2) have been constructed. The central warehouse, traditionally well
stocked, occasionally supplies the new warehouses with some short items. The occasion-
al supply of short items has grown into a large-scale operation in which the two new
warehouses receive for redistribution about one-third of their stock directly from the
central warehouse. Table E.16 gives the number of orders shipped out by each of the
three warehouses to customer locations C 1 to C 6.A customer location is a town with
several pharmacies.

The dealer’s delivery schedule has evolved over the years to its present status. In
essence, the schedule was devised in a rather decentralized fashion, with each ware-
house determining its delivery zone based on “self-fulfilling” criteria. Indeed, in some
instances, warehouse managers competed for new customers mainly to increase their
“sphere of influence.” For instance, the managers of the central warehouse boast that
their delivery zone includes not only regular customers but the other two warehouses
as well. It is not unusual then, that several warehouses deliver supplies to different
pharmacies within the same town (customer location) The distances in miles
traveled by vans between locations are given in Table E.17.
A vanload usually hauls 100 orders. Evaluate the present distribution policy of the dealer.

TABLE E.16
Route
From To No. of orders
CW W1 2000
CW W2 1500
CW C1 4800
CW C2 3000
CW C3 1200
W1 C1 1000
W1 C3 1100
W1 C4 1500
W1 C5 1800
W2 C2 1900
W2 C5 600
W2 C6 2200

TABLE E.17
CW W1 W2 C1 C2 C3 C4 C5 C6
CW 0 5 45 50 30 30 60 75 80
W1 5 0 80 38 70 30 8 10 60
W2 45 80 0 85 35 60 55 7 90
C1 50 38 85 0 20 40 25 30 70
C2 30 70 35 20 0 40 90 15 10
C3 30 30 60 40 40 0 10 6 90
C4 60 8 55 25 90 10 0 80 40
C5 75 10 7 30 15 6 80 0 15
C6 80 60 90 70 10 90 40 15 0

Anonymous Philosophy said...

Hello sir
v r doing a project on transpotation problem abt the govt. buses ( i.e ST mahamandal buses) for Jalna district in maharashtra..

so sir..what to take the sources and demand...the no. buses,or the root length, or the no. of trips of buses
-

vijay said...

Thank you so much Sir for sharing your knowledge with us. Your way of explaining this is amazing. Thanks again.

Unknown said...

thank you so much sir, u have given a very useful information to all the students. Anybody can solve the problems of transportation through information provided by you. i am not able to solve the problems in which epsolen take place. Can you please give me brief explaination on it.

My Email Id is krushitkshah@gmail.com

Thank u so much Sir.

Unknown said...

Hello sir
I have problem in close loop of transportation problem(Modi method)
if it's possible plz send me details
govardhanmatkar91@gmail.com

Sagar Jaybhay said...

Hello sir,

I hava studying MCA. There are problem in Trasporation solved in LPP and MODI method. How to resolve these problem's. Please send me details(SuchandraVKarle@gmail.com).

Thank You.

Unknown said...

What if number of allocations is more than sum of number of row and column minus one..... While checking optimallity

Unknown said...

What if number of allocations is more than sum of number of row and column minus one..... While checking optimallity

Unknown said...

Hello sir


I have a doubt in closing loop of transportation problem and modi method. how to find the loops? plz send the details(bhuvanaadroit@gmail.com)

Unknown said...

Thank u Sir!