OR Unit-3
OR Unit-3
IN
13.1 Introduction
It is a special type of linear programming problem in which the objective is to
find the optimum allocation of a number of tasks (jobs) to an equal number of
facilities (persons). Here we make the assumption that each person can perform
each job but with varying degree of efficiency. For example, a departmental head
may have four persons available for assignment and four jobs to fill. Then his
interest is to find the best assignment which will be in the best interest of the
department. Assignment problem finds many applications in allocation. For
example in assigning men to works; truck or car or drivers to different roots; planes
or pilots to different commercial flights etc.
Although simplex method is powerful enough to solve all the L.P. problems, but
the above type of the problems may be solved by special procedures which are
described in the following sections.
3
Persons
C11 Ci 2 Ci 3 Cif Cin
C n1 C n2 C,13 C ni C nn
490 Operations Research
Z= >i=1 j=1 ij .x
~
C
ij
(i) = 1, j = 1, 2, ... , n
which means that only one job is done by the i-th person, i = 1, 2, ..., n
=Z± ai . I ± bi .
i =1 j=i j=i i =1
=Z±Ifai.1±I 1).0.
i =1 j =1
=Z±I ai
f
i =1 j =1
glluAlhativp jxamplea
Example 1 : Solve the following minimal assignment problem :
Man --> 1 2 3 4
Job
I 12 30 21 15
II 18 33 9 31
III 44 25 24 21
IV 23 30 28 14
[Agra 2000]
Solution : For the clear understanding, this example is solved step by step
systematically.
Step 1 : Subtracting the smallest element of each row from every element of the
corresponding row, we get the following matrix :
1 2 3 4
I 0 18 9 3
II 9 24 0 22
III 23 4 3 0
IV 9 16 14 0
494 Operations Research
Step 2 : Subtracting smallest element of each column from every element of the
corresponding column, we get the following matrix :
1 2 3 4
I 0 14 9 3
II 9 20 0 22
III 23 0 3 0
IV 9 12 14 0
Step 3 : Now we test whether it is possible to make an assignment using the zeros
by the method described in step 3 on page 492.
Starting with row I, we mark ❑ (i.e., make assignment) in the row containing
only one zero and cross (x) the zeros in the corresponding column in which D lies.
Thus, we get the following table :
2 3 4
I D
O 14 9 3
II 9 20 22
III 23 0 3 X
IV 9 12 14
1 3 4
I 14 9 3
11 9 20 CI 22
III 23 E 3 X
IV 9 12 14 El
Since in the last table, every row and every column have one assignment, so we
have the complete optimal zero assignment.
Job I II III IV
Man I 3 2 4
which is the optimal assignment.
Assignment Problem 495
I II HI IV
A 0 14 9 3
B 9 20 0 22
C 23 0 3 0
D 9 12 14 0
The above matrix is the same as obtained in step 3 in Example 1, therefore for
minimum man hours the allotment should be as follows :
Tasks A B C D
Subordinates I III II IV
Man hours 8 4 19 10
and the total Man hours are 8 + 4 + 19 + 10 = 41.
496 Operations Research
C 0 1 2 1
D 0 2 5 1
Step 2 : Subtracting the smallest element of each column of the above matrix
from the corresponding column, we get the following matrix :
I II III IV
A 0 0 0 2
B 0 0 0 2
C 0 0 0 0
D 0 1 3 0
Step 3 : Now we test whether it is possible to make an assignment using the zeros
of the above table by the method described in step 3 on page 492.
Since none of the rows or columns contain exactly one
zero, therefore the trial and error method is followed. Now we start
searching two zeros. Starting with row 1 we find row 4 which contain
two zeros. We make the assignment at the first zero as shown in table 1
and cross out the other zero in this row and all the other zeros of the first
column in which we have made the assignment 0. Now starting with
column 1 we find column 4 which contain one zero and make assignment
❑ at the zero of row 3 and cross out all other zeros of this row. Now again
starting with row 1 we search row containing only one zero but we find
no such row. The same is true when we check the columns for one zero.
Again we start with row 1 searching two zeros and find the row (row 1)
containing two unmarked zeros. We can make as assignment at any one
Assignment Problem 497
of these zeros and cross out the other zero and zeros of the corresponding
column in which assignment is made (see table 1 and 2). If we made an
assignment in first row, second column and-crossed other zero and zeros
of second column then the second row contain only one t ero, in third
column where we can make an assignment. Similarly if we made an
assignment in first row, third column and crossed zeros of third column
then the second rove contain only one zero irrsecond column where we
can make an assignment (see table-2).
Table 1 Table 2
I II III IV I II III
A 8 ID X 2 S El 2
B X X 1:1 2 X Q X 2
c X X X X X X n
1 3 X El 1 3 X
Note : Other assignments also exist. Students may try to find them.
I II III IV V VI
A 9 22 58 11 19 27
B 43 78 72 50 63 48
41 28 91 37 45 33
D 74 42 27 49 39 32
E 36 11 57 22 25 18
F 3 56 53 31 17 28
1 II III VI
A 13 49 2 10 18
B 0 35 29 7 2C 5
C 13 0 63 9 17 5
D 4 15 0 22 12 5
E 25 0 46 11 14 7
F 0 53 50 28 14 25
Step 2 : Subtracting the smallest element of each column from every element of
the corresponding column, we get the following reduced matrix :
I 11 III IV V VI
A 0 13 49 0 0 13
B 0 35 29 5 10 0
C 13 0 63 7 7 0
D 47 15 0 20 2 0
25 0 46 9 4 2
F 0 53 50 26 41 20
Step 3 : Now we give the zero assignments in our usual manner and get the
following matrix :
X 13 49 X 13
35 29 5 10
13 X 63 7 7 X
47 15 20 2 X
25 I] 46 9 4 2
ri 53 50 26 4 20
Since row 3 and column 5 have no assignments so we proceed to the next step.
Step 4 : In this step we draw minimum number of lines to cover all zeros at least
once. For this we proceed as follows :
Assignment Problem • 499
L4.• 49 El
35 29 5 . 10 [11
13 X 63 7 7 X
47 15 0 20 2
25 MI 46 9 4 2
D 5:3 50 26 4 2p
6
(i) We mark ) row 3 in which there is no assignment.
(ii) Then we mark (I ) columns 2 and 6 which have zeros in marked
row 3.
(iii) Then we mark (✓ ) rows 5 and 2 which have_ assignments in the
marked colunins 2 and 6. • •.
(iv) Then we mark column 1 (not already marked) which has zero in the
marked row 2.
(v) • Then we mark row 6 which.has assignment in the marked column 1; •
(vi) Now•we draw lines through all marked. columns .1, 2, 6:. Then we
draw lines through unmarked row 1 and 4 having zeros through
which there.is no line. ThuS, we get five lines (minimum number) to •
cover all the zeros.
Step 5 : Now the. smallest of the elements that do not.have a line through them is
• 4. Subtracting this element 4 from all the elements that do not have aline
through them and adding to every.element that lies at the intersection of
two lines and leaving the remaining elements unchanged, we get the
• following matrix :
- I II III IV V VI
A 4 17 49 17
El 35 25. 1 6
C 13 )6( 59 3 3 E
D 51 19 El 20 2 4
E 25 E] 42 5 X 2
F 53 46 22 Q 20
Step 6 : Again repeating the step 3 we make the zero assignments and get the
following matrix (see above table) :
Thus, the optimal assignment is
A •-> /V, B I,C VI, D E F V
500 Operations Research
I II III IV V VI
A 4 17 49 X, 17
X 35 25 1 6 0
C 13 59 3 3 X
D 51 19 20 2 4
25 X 42 2
B 53 46 22 X 20
Step 3 : Giving the zero assignment in our usual manner we get the following
matrix :
/ L.1 II III IV V
A I=1 2 1 2 4 ✓()
B 1 3 2 ..........3 L2
El
2 .. -.3 1 2 L3
2 E3 3 1 .L4
4 5 4 2
✓
C 3 1 2
3 1:3 3 X • L4
E 3 3 1 ✓(ID
0
Step 6 : Again repeating the step 3 we make the zero assignments in matrix
(above table) and see that even now the row 1 and column 5 do not
contain any assignments. Therefore we again repeat step 4 of drawing
lines.
Step 7 According to our usual manner the minimum number of lines drawn are
4 (see table in step 5).
502 Operations Research
II III . IV V
A El X 2
B 3 3 2 3
C 3 .2 D X
D 4 E] 4 1 X
E 8 2 4 2 El
Step 9 Repeating the step 3 we make the zero assignments and get the
following optimal assignments, (see above table).
A I, B ----> IV, C D B V.
The minimum cost, Z = 1 + 1 + 3 + 1 + 4 = 10
Example 6 : An air-line that operates seven days a week has time-table shown below.
Crews must have a minimum:layover of 5 hours between flights. Obtain the pairing of
flights that minimizes layover time away from home. For any given pairing the crew
will he based at the city that results in the smaller layover.
Delhi-Jaipur Jaipur-Delhi •
Flight Flight
No. Departure Arrival No. Departure Arriyal
1 7.00 A.M. 8.00 A.M. 101 8.00 A.M. 9.15 A.M.
2 8.00 A.M. . 9.00 A.M. 102 8.30 A.M. 9.45 A.M.
3 1.30 P.M. 2.30 P.M. 103 12.00 Noon 1.15 P.M.
4 6.30 P.M. . 7.30 P.M. 104 5.30 P.M. 6.45 P.M.
For each pair also mention the town where the creu., should be based.
[Meerut 2002 (BP), 03 (0); 09]
Solution :
Step 1 : First we construct the table forlayover times between flights when crew
is based at Delhi i.e., crew start from and come back to Delhi with halt of
minimum time (layover time) not less than 5 hours, at Jaipur.
Since the crew must have a minimum layover of 5 hours between
flights, the layover time between flights 1 and 101 will be 24 hours. Also
the layover times between flight 1 and 102, flights I and 103, flights 1
and 104 aret24.5 hours, 28 hours, 9.5 hours respectively. Similarly the
layover times between other pairs of flights may be calculated which are
shown in the following table :
Assignment Problem 509
MA&atiOR EXaMPICTA
Example 8 : A company is faced with the problem of assigning six different machines
to five different jobs. The costs are estimated as follows (hundreds of rupees).
Job
1 2 3 5
1 2.5 5 1 6 1
2 2 5 1.5 7 3
3 3 6.5 2 8 3
Machine 4 3.5 7 2 9 4.5
5 4 7 3 9 6
6 6 9 5 10 6
Solve the problem assuring that the objective is to minimise total cost.
Solution : Since the given matrix is not a square matrix, we add one fictitious job
6 (sixth column) to make it a square matrix: Thus, the resulting matrix obtained is as
follows :
1 2 3 4 5 6
1 2.5 5 1 6 1 0
2 2 5 1.5 7 3 0
3 3 6.5 2 8 3 0
4 3.5 7 2 9 4.5 0
5 4 7 3 9 6 0
6 6 9 5 10 6 0
51Q Operations ReSearch
Step 1 and 2 : Subtracting the smallest element of each row from every element of
the con esponding row and then subtracting smallest element of each column
from every element of the corresponding column, we get the following matrix. •
1 2 3 4 5 6
0.5 0 0 0 0 0
2 0 0 0.5 1 2 0
3 1 1.5 1 2 2 0
4 1.5 2 1. 3 3.5 0
5 2 2 2 3 5 0
6 4 4 4 4 5 0
Step 3 : Giving zero assignments in the usual manner, we observe that thesows 3,
4, 5 and columns 4, 5, 6, have no zero assignments. So we proceed to the
next step :
L3
2 3 4 5 6
Li 1. 0:5 ;13:
L2-2. 0:5 1 2
3 1 1.5 1 2 2
4 1.5 2 1 3 3.5 X
5 2 2 2 •3 5
6 4 4 4 4
I•
Step 6 : Giving zero assignments in the usual manner, we observe the row 6 and
column 5 have no zero assignments. So we proceed to the next step :
L5
1 2 3 4 5 :6
L1..1. 0:5 :ers 53: p.8;
E 0:5 1
L3 3- 0:5 X 1 1
L4 4- 1 0 2 2.5 X
5 1 1 1 2 4 I®
6 3 3 3 3 4 Jo
3 4 5 6
1 0.5 0 0 0 0 2
2 0 0 0.5 1 2 2
3 0 0.5 0 1 1 1
4 0.5 1 0 2 2.5 1
5 0 0 0 1 3 0
6 2 2 2 2 3 0
Step 9 : Giving zero assignments in the usual maniter, we observe that row 2 and
column 5 have no assignments. (see table on page 512) So we proceed to
the next step.
512 Operations Research
L2 L3 L4
• 6
z. El :14; 2
X 05 1 2 2
05 1 ✓
4 05 2 2.5
:E4( X 1 3
• 2 2 3
Step 10: Here we again draw minimum number of lines (horizontal and vertical)
to cover all the zeroes at least once. The number of such zeroes is 5. See
table in step 9.
Step 11: Since the smallest element among all uncovered elements is 1, so
subtracting this elements 1 from all uncovered elements, adding to every
elements that lies at the intersection of two lines and leaving remaining
elements unchanged, the above table reduces to the following form :
1 2 3 4 5 6
1 1.5 1 1 0 0 3
0 0 0.5 0 1 2
3 0 0.5 0 0 0 1
4 0.5 1 0 1 1.5 1
5 0 0 0 0 2 0
6 2 ,,
2 2 1 2 0
Step 12 : Giving zero assignments in the usual manner we get the optimal
assignments given by the following tables :
1 2 3 4 5 6 1
1 1.5 1 1 0 X 3 1.5 1 1 El R 3
2 0 )3( 0.5 X 1 2 2 )3( El 0.5 )3( 1 2
3 X 0.5 El 1 3 X 0.5 X X El 1
4 0.5 1 El 1 1,5 1 4 0.5 1 DO 1 1.5 1
5 XDX X 2X 5 El X X )3( 2 X
6 2 2 2 1 2 2 2 2 1 2 1:1
Assignment Problem 513
1 2 3 4 5 6 1 2 3 4 5 6
1 1.5 1 1 B E 3 1 1.5 1 1 X El) 3
2 0.5 X 1 2 2 :a 0.5 X. 1 2
3 )31: 0.5 X X 1 3 CI 0.5 )3(B :8; 1
4 0.5 1 R-1
) 1 1.5 1 4 0.5 1 1 1.5 1
5 ;$3( p X X 2 X 5 XI p 2 X
6 2 2 2 1 2 rni 6 2 2 2 1 2 El
1 2 3 4 5 6 1 2 3 4 5 6
1 1.5 1 1 X E 3 1 1.5 1 1 1 E] 3
2 X El 0.5 B 1 2 2 B B 0,5 Di 1 2
3 X 0.5 X :€1: 1 3 D) 0.5 1
4 0.5 1 1 1.5 1 4 0.5 1 1 1.5 1
5 El X X X 2 5 XOXX 2 X
6 2 2 2 1 2 11 6 2 2 2 1 2 g
+ Exercise on Chapter 13 +
• 11 17 8 16 20
B 9 7 12 6 15
C 13 16 15 12 16
D 21 24 17 28 26
E 14 10 12 11 15
A 1 4 6 3
B 9 7 10 9 '
C 4 5 11 7
-D 8 7 8 5
[Meerut 2003]
Assignment Problem 523
ABCD
1 5 3 2 8
Man 2 7 9 2 6
3 6 4 5 7
4 5 7 7 8
Find the optimal assignment that will result in minimum man-hours needed.
[Rohilkhand 2002]
14. Find the optimal assignment for the problem with the following matrix :
1 11 111 W
5 3 1 8
B 7 9 2 6
C 6 4 5 7
D 5 7 7 6
524 Operations Research
15. Find the optimum solution to the assignment problem having the following
cost matrix :
Sales Territories
(Cost in rupees thousands)
I II III IV
A 30 25 26 28
Salesman B 26 32 24 20
20 22 18 27
D 23 20 21 19,
[Meerut 2002]
16. Solve the following assignment problem represented by the matrix :
I II HI IV V
A 6 5 8 11 16
B 1 13 16 1 10
C 16 11 8 8 8
D 9 14 12 10 16
E 10 13 11 8 16
[Rohilkhand 2001]
17. One car is available at each of the stations 1, 2, 3, 4, 5, 6, and one car is required
at each of the stations 7, 8, 9, 10, 11, 12. The distance between the various
stations are given in the matrix below. How should the cars be despatched so as
to minimize the total mileage travelled ?
7 8 9 10 11 12
1 42 72 39 52 25 51
2 22 29 49 65 81 50
3 27 39 60 51 32 32
4 45 50 48 52 37 43
5 29 40 39 26 30 33
6 82 40 40 60 51 30
18. Solve the following assignment problem.
Typist Job (Time)
P Q R S
A 85 50 30 40
B 90 40 70 45
C -- , 70 60 60 50
D 75 45 35 55
[UP TECH MBA 2002-03]
Assignment Problem 525
19. Consider the problem of assigning five jobs to five persons. The assignment
costs are given as follows :
Job
1 2 3 4 5
A 8 4 2 6 1
B 0 9 5 5 4
Person C 3 8 9 2 6
D 4 3 1 0 3
E 9 5 8 9 5
Determine the optimum assignment schedule. [Meerut 2006 (BP)]--
20. Solve the following minimal assignment problem.
Man 1 2 3 4 5
Job
12 8 7 15 14
// 7 9 17 14 10
III 9 6 12 6 7
IV 7 6 14 6 10
V 9 6 12 10 6
1 2 3 4
A 10 12 19 11
B 5 10 7 8
C 12 14 13 11
D 8 15 11 9
22. Find the minimum cost solution for the 5 x 5 assignment problem whose
coefficients are as given below :
I/ III IV V
1 -2 -4 -8 -6 -1
2 0 -9 -5 -5 -4
3 -3 -8 -9 -2 -6
4 -4 -3 -1 0 -3
5 -9 -5 -8 -9 -5
526 Operations Research
23. Five men are available to do five different jobs. From past records, the time (in
hours) that each man takes to do each job is known and is given in the
following table.
Job
II III IV V
1 2 9 2 7 1
2 6 8 7 6 1
Man 3 4 6 5 3 1
4 4 2 7 3 1
5 5 3 9 5 1
Find the assignments of men to jobs that will minimize the total time taken.
24. A national truck-rental service has a surplus of one truck in each of the cities 1,
2, 3, 4, 5 and 6; and a deficit of one truck in each of the cities 7, 8, 9, 10, 11 and
12. The distances (in kilometers) between the cities with a surplus and the
cities with a deficit are displayed below :
To
7 8 9 10 11 12
1 31 62 29 42 15 41
2 12 \19 39 55 71 40
From 3 17 `29 50 41 22 22
4 35 40 38 42 27 33
5 19 30 29 16 20 23
6 72 30 - 30 50 41 20
..1••=1=
26. A car hire company has one car at each of five depots a, b, c, d and e. A customer
requires a car in each town namely A, B, C, D and E. Distances (in Kms.)
between depots (origins) and towns (destinations) are given in the-following,
distance matrix.
a b C d e
Find out an allocation of men to different jobs which will lead to minimum
operating time.
28. Solve the following assignment problem having the following cost matrix :
1 2 3 4 5 6 7
A 35 20 60 41 27 52 44
B 51 39 42 33 65 47 58
C 25 32 53 41 50 36 43
D 32 28 40 46 33 55 49
E 43 36 45 63 57 49 42
F 27 18 31 46 35 42 34
G 48 50 72 59 43 64 58
[Agra 1999]
536 Operations Research
53. The Secretary of a school is taking bids on the city's four school bus routes. Four
companies have made the bids as detailed in the following table.
Bids
Company Route 1 Route 2 Route 3 Route 4
1 Rs. 4000 Rs. 5000 - -
2 -- Rs. 4000 - Rs. 4000
3 Rs. 3000 - Rs. 2000 -
4 - - Rs. 4000 Rs, 5000
Suppose each bidder can be assigned only one route. Use the assignment
model to minimize the school's cost of running the four bus routes.
[C.A. Nov. 1995]
•
+ ANSWERS +
9. Job --> Machine : A->1,B-> 4, C -> 5, D -› 3, E-4 2. = 60
10. A -> B -> C- > D > IV
11. A-> Job 2, B -4 Job 3, C-> Job 1. Mini. Time = 9 min.
12. Programmer -> Programme : 1- C, 2 -> B, 3 --> A. Mini. Time = 280m
13. Man-*Job: 1-*B, 2->C, 3->D, 4->A
or 1 —> 2 ->13, 3 -> B, 4 -> A
Mini. Time = 17 h
14. A -> III, B /V, C II, D -> I. Mini. Cost = 16
15. Sales man --> Territory : A -->
or A -> B -> IV, CSI,D-->II
In both cases mini. cost = 86
16. A -->gB-41, C ->
or A— > IV, C —> V, D
Mini. Cost = 34
17. Station -> Station : 1 -> 11, 2 --> 8, 3 -> 7, 4 --> 9, 5 10, 6 --> 12
Mini. Mil = 185
18. A->S,B->Q,C->P,D->R
19. Person -÷ Job : A -> 5, B1,C---) 4, D 3, E--> 2. Mini. Cost = 9
20. Job --> Man : --> 3, 1, HI -> 2, IV-> 4, V -> 5
or 3, H 1,III-44,1V-->2,V—> 5
21. A —> 2, B —> 3, 4, D —> 1. Min. Cost = 38
Assignment Problem 537
22. 1 -> III, 2-> 11, 3 -> V, 4 ->/, 5 /Vorl-->/1,:, 2->//, 3-->///, 4->V, 5-4/
Mini. Cost = 36
23. Man --> Job : 1 ---> III, 2 -> V, 3 -> I, 4 -> IV, 5>II
or
or I> /II, 2 -> V, 3>1V, 4 -9 1, 5 -4 11
24. 1->11, 2-98, 3-> 7, 4-> 9,5-910, 6-->12
Mini. Distance = 125 kms
25. AIV,B->V1,C->V,D-->III,E->l,F-H
Mini. T. Mileage = 66
26. Depot -4 customer : a ---> D, b > C, C--4 B, d > E, e > A
Mini. Dist. = 570 kms
27. Man-9 Job: 1-43, 2->6,3 4 6->5
Or 1 ->3, 2-96, 3-94, 4->2, 5 1, 6--45
Mini. time = 22 units
28. A.-92,13 -> 4,C-> 6,D-> 1,E7,F-> 3, G ->5
MM. Cost = 237 units
29. Machine -4 Job : A --> II, B --> V, C--> III, D > IV, E -->I
Mini. Cost = 39
30. 1--->/V, 2 4-9111, 5->V
32. 1 ---> 103, 2 ->104, 3 -> 101, 4 -9 103
Crew at Delhi Delhi Delhi Calcutta
33. Al -4 B3 A2 -> B4, A3 -4 B1, A4 B2
Mini. Layover time = 40 hours
34. Job -> Machine : 1 -9 1, 2 -> 3, 3 -> 2
35. A -> I, B --> IV, C -> V, D --> HI, E -> II
Mini. Cost = 60
36. -> St, B2 55, B3 -> S4, B4 S3,B5 -> S2
Mini. Cost = 27
37. Typist --> Job : A T, B -> R, Q, D -> P, E--> S
T. Mini. Cost = Rs. 399
38. Task -> Man : A -> 1, B-> 3, C --> 2
Task D is undone, mini. total man hours = 35
39. A -> not assigned
40. Operator -> Job : 1 -> 4, 2 --> 1, 4 -4 2, 5 -> 5, 6 > 3
Operator 3 do not job. Mini. total time = 11 units
C Chapter
14 Transportation Problem
•
14.1 Introduction
The transportation problem is a particular class of linear programming
problem in which the objective is to transport a commodity or to provide services
from several supply origins to different demand destinations at a minimum total
cost. The transportation problem can easily be expressed by linear relations as a
linear progrFnming problem and can be solved by simplex method. But it takes a
long time due to the presence of a- large number of variables and constraints. To
overcome this difficulty the transportation algorithms have been developed for the
solution of a transportation problem.
The calculations are made directly on the 'transportation array' given below
which gives the current trial solution.
The above two tables can be combined together by writing the costs cif within the
bracket ( ), as follows :
Transportation Problem 541
= 1, 2, 3, ... , m
=a
j =1
tn
=b• = 1, 2, 3, ..., tt
1
1 1,
i =1
E
i =1
ai = Ebi
j= 1
(4)
Note that in fourth table the lines joining allocations in cells (2, 1), (2, 4) and
(3, 3), (1, 3) intersect each other at the point (3, 3), where there is no allocation.
transportation problem is ai =
i =1 j =1 [Meerut 2007]
Proof : The Condition is Necessary : Let there exist a feasible solution to the
transportation problem, then
i.e., if ai = bi
i =1
then there exists a feasible solution of the transportation problem.
Let = = k(say)
i =1 j=i
If xij = bi for all i = 1, 2, ..., m and j = 1, 2, n where X i # 0 is any real
number, then
= Xi b• = kX i =1
— x-• =
1—i k k
j=1 j=1 j=1 I
544 Operations Research
bi
1 - X b3 -
Thus, x,
k
0, for all i and j.
(As ai > 0, bi > 0 and k > 0)
Hence, a feasible solution of the transportation problem exists.
Remark : A transportation problem in which I ai = E b j is called a balanced
transportation problem. Hence, from the above theorem, we can say that A balanced
transportation problem always has a feasible solution.
Theorem 2 : Out of (in + n) equations, in am x n transportation equation, one
(any) is redundant and remaining in + n- 1 equations form a linearly independent set.
Solution : Consider the following m + n -1 equations of am x n transportation
problem.
Xij = i = 1, a..., m m-row equations -(1)
j =1
111
and x-.1.1 = b j j = 1, 2, . . (n - 1), (n - 1)column equations ... (2)
i =1
where ai = bj -.(3)
i =1 j =1
By these m + n -1 equations given in (1) and (2) and equation (3), we shall get
the remaining n-th coltimn equation. Adding m row-equations given in (1), we get
m n
Xij =
i =1 j =1 i =1
Again, adding (n - 1) column equations given in (2), we get
n -1 m n -1
= Eb j -(5)
j =1 i =1 j =1
Subtracting (5) from (4), we get
m n n -1 m m n -1
- Exii =E,
i=i j=1 j=1 1=1 i =1 j =1
m {n n -1 n n -1
or xij - xu = bj - bi using (3)
i =1 j =1 j =1 j =1 j =1
m n -1 n-1 n -1 n -1
or x..ti + x. - v = b•+b
j n - b•j
i =1 _ j=1 j=1 j=1 j
m •
or IXin = bn
i =1
W1 W2 W3 Supply
Demand 7 9 18 34
546 Operations Research
To
Wi W2 W3
F1 5(2) 5=a1
F2 2(3) 6(3) 8 = a2
From
F3 3(4) 4(7) 7 = a3
F4 14(2) 14 = a4
7 = b1 9 = b2 18 = b3
(i) We start with the top-most left corner and allocate it maximum possible
amount 5. (Since Mini of al = 5 and b1 = 7 is 5).
(ii) Since there is no amount left available at source F1 so we move downwards to
the cell (2, 1) in place of moving to right and allocate it maximum-possible
amount. Since the column 1 still need the amount 2 and the amount 8 is
available in row 2, so we allocate the maximum amount 2 to this cell (2, 1).
Now the allocation for column 1 is complete, so we move to the right of this
cell. Since the amount 6 is still available in row 2 and amount 9 is needed in
column 2, so we allocate the maximum amount 6 in this cell (2, 2). Thus,
allocation for row 2 is complete, so we move downwards to the cell (3, 2).
Since the amount 3 is still needed in column 2 and amount 7 is available in row
3, so we allocate the maximum amount 3 in this cell (3, 2). Thus allocation for
column 2 is complete, so we move to the right of this cell. Since the amount 4 is
still available in row 3 and amount 18 is needed in column 3, so we allocate the
maximunramount 4 to the cell (3, 3). Thus, the requirement of the row 3 is
complete, so we move to the downward cell (4, 3). Since amount 14 is still
available in row 3 and an equal amount 14 is needed in row 4, so we allocate
this amount 14 to this cell (4, 3). This complete the allocation and the resulting
feasible solution (allocations) are shown in the above table.
In the end it may be checked that the sum of rows and columns are as needed.
On multiplying each individual allocation by its corresponding cost in ( ),
and adding, the total transportation cost to this F.S. is
= Rs. (5x 2+ 2 x 3+ 6x 3+ 3 x 4+ 4 x 7 +14 x 2)= Rs. 102
In this north-west copier rule we move to the right or down so no loop
(circuit) can be formulated here by drawing horizontal and vertical lines to the
allocations. Also at each step (allocation) at least one row or column is
discarded from further consideration and at the last allocation both rows and
columns are discarded. So we cannot get more than (m+ n — 1) individual
positive allocation by this rule. Thus, we always get a non-degenerate
basic feasible solution by this north-west corner rule.
Method 2 : Lowest Cost Entry Method (or Method of Matrix Minima)
In this method we write the cost and the requirement matrix. The cost are
written within bracket ( ). Now we examine the cost matrix carefully and choose the
cell with lowest cost and allocate there as much as possible. If such cell of lowest cost
is not unique, we select the cell where we can allocate more amount. Again we
Transportation Problem 547
examine the cost matrix and select the cell will the lowest cost (the cell in which
allocation has been made is not considered) and allocate there as much as possible.
We continue the process until all the available quantity is exhausted.
The method is well-explained by taking the same numerical example as in
method 1.
First we write the cost and requirement matrix as follows
To
w2
Examining the cost matrix we find that there is lowest cost 1 in cell (2, 3) and in
(4, 1). We choose the cell (2, 3) as we can allocate the maximum amount 8 to this cell
which is more than the max. amount 7 that can be allocated to cell (4, 1). Leaving this
cell we find that there is lowest cost 1 in cell (4, 1) where we allocate the maximum
amount 7. Continuing in this way we get the required feasible solution as shown in the
above table.
The total transportation cost to this F.S. is
=Rs.(2x 7+ 3 x4+ 8 x1+7 x 4+7 x 1+7 x 2)=Rs.83
This cost is less than the cost associated with the F.S. obtained by north-west
corner rule. -_
The initial feasible solution obtained by this method usually gives a lower
transportation cost than that obtained is north-west corner rule.
Method 3 : Unit Cost-Penalty Method (Vogels Approximation
Method i.e. V.A.M.)
In this method we write the differences of the smallest and the second smallest
costs in each column, below the corresponding column and write the similar
differences of each row to the right of the corresponding row. These individual
differences can be thought of a penalty for making allocations in the second lowest
cost cell instead of lowest cost in each row or column. Now we select the row or
column for which the penalty is the largest and allocate the maximum possible
amount to the cell with lowest cost in that particular row or column. If there are
more than one largest penalty rows or columns, then select that row or column in
which we can allocate more amount in the lowest cost cell. Then we cross (or leave)
that row or column in which the requirement (or demand) has been satisfied and
construct the reduced matrix. We continue this process on the reduced matrices till
all allocations have been made.
The method is well explained by taking the same numerical example as in
method 1.
548 Operations Research
w2 W3 Available Penalties
Demand 7 9 18
Penalties (1) (1) (1)
Since the maximum penalty (2) is associated with row 1 and row 2, and we can
allocate more amount 8 to the lowest cost cell (2, 3) of row 2 than the maximum
amount 5 that we can allocate at the lowest cost cell (1, 1) of row 1, so we allocate
the amount 8 to the cell (2, 3) and cross this row 2. The first reduced matrix after
leaving row 2, with remaining demands and availables is as follows :
(Note that the amount 8 has been allocated to column 3, so the amount still
needed to column 3 is 10).
w2 W3 Available Penalties
Demand 7 9 10
Since the maximum penalty (2) is associated with row 1, column 2 and 3, so
the maximum possible amount 10 is allocated to the cell (3, 3) with lowest cost in
3rd column.
The second reduced matrix after leaving column III of the above matrix with
remaining demands and availability is as follows :
Note that the maximum amounts that can be allocated to lowest cost cell (1, 1)
in row 1 and cell (2, 2) in column 2 are less than amount 10 that can be allocated to
lowest cost cell (3, 3) in column III.
Transportation Problem 549
W2 Available Penalties
Since the maximum penalty (5) is associated with row 1 and 3 of the matrix, so
the maximum possible amount 4 is allocated to the cell (3, 1) with lowest cost in
row 3.
The third reduced matrix after leaving row 3 of the above matrix with remaining
demand and availability is as follows :
Wi w2 Available Penalties
Demand 3 9
Penalties (3) (3)
Since the maximum-penalty (5) is associated with row 1 so the maximum possible
amount 3 is allocated to the cell (1, 1) with lowest cost in this row. The remaining
amount 2 in row 1 is allocated to the cell (1, 2) and then we allocate the remaining
amount 7 to the cell (2, 2).
Thus, we get the required feasible solution as shown in the following table :
Available
Demand 18
550 Operations Research
Note : Arrows or T are used in the rows and column at the step when the availability or
the demand is exhausted and the penalties in the next step in such rows and
columns are not to be taken.
It is important to note that the V.A.M. which takes more times as compared with
the other methods 1 r nd 2, gives the better, initial F.S. Since the initial F.S., obtained
by Vogel's method is much more close to the optimal solution so the time in reaching to
the optimal solution from this initial F.S. will be saved.
Note : The students are advised to find the initial B.F., solution by the Vogel's method
which will save their valuable time to reach the optimal solution.
Step 3 : Find the cell evaluation u• + v for each unoccupied cell (i, j) and enter at
the upper right corner of the corresponding cell (i. j).
Step 4 : Find the cell evaluations du = cu - (u1 + v3 ) for each unoccupied cell (i, j)
and enter at the lower right corners of the corresponding cells.
Step 5 : Examine the cell evaluations du for unoccupied cells and conclude that
(i) if all du > 0, then the solution under test is optimal and unique.
(ii) if all 4 0, with at least one 4 = 0, then the solution under test is
optimal and alternative optimal solution exists.
(iii) if at least one 4 < 0, then the solution is not optimal. In the last
case proceed to the next step 6.
Step 6 : Form a new B.F.S. by giving maximum allocation to the cell for which 4
is minimum and negative, by making ail occupied cell empty.
Step 7 : Then repeat the step (2) to (5) to test the optimality to this new B.F.
solution. Continue improving the B.F.S. iteratively using the step 2 to (6)
till an optimal solution is attained.
Thus, in the table after making all the entries the
occupied (cells having allocations) and the unoccupied cells will be as
follows :
Allocation
(Clu = Cu — + ))
gituthultim2 examplegi
Example 1 : A company has four plants P1y2, P3, P4 from which it supplies to three
markets 1111 11 zM 3. Determine the optimal transportation plan from the following
data giving the plant to market shifting costs, quantities available at each plant and
quantities required at each market..
Market Plant Required at
1 P1 P3 Market
P2 P4
M1 19 14 23 11 11 -
M2 15 16 12 21 13
M3 30 25 16 39 19
Available at plant 6 10 12 15 43
[Meerut 2003 (0)]
Transportation Problem 555
Solution :
Step 1 : By V.A.M. an initial B.F.S. of the given problem is given by the following
table :
a1
(19) (14) (23) (11) 11
11
(15) (16) (12) (21) 13
6 3 4
(30) (25) (16) (39) 19
7 12
b3 6 10 12 15
Total transportation cost
= Rs. (6 x 15 + 3 x 16 + 7 x 25 + 12 x 16 + 11 x 11 + 4 x 21) = Rs. 710
Step 2 : Here we determine a set of u1 and v • s.t. for each occupied cell (r, s),
c rs = u r + vs See below table.
For this we choose u2 = 0 (since row 2 contains maximum number
of allocations).
Since c21 = 15 = U2 +Vi ,C22 = 16 = U 2 -I- V 2,C24 = 21 = U 2 + 1/ 4
1/1 = 1 5,1/ 2 = 16,1/ 4 = 21
Also c14 = = 1/ 4, C32 25 = U3 -I- V 2, C33 = 16 = U3 -I- V 3
111 = 11 — 1/ 4 =-10,u3 25—V2 =9,1/ 3 = 16—u3 =7
Step 3 : Now we find the cell evaluations ui + v i for each unoccupied cell (i, j)
and enter at the upper right corner of the corresponding unoccupied cell.
Step 4 : Then we find the cell evaluations du = cy — (u1 + vi ) (i.e., the difference
of the upper right corner entry from the upper left corner entry) for each
unoccupied cell (i, j) and enter at the lower right corner of the
corresponding unoccupied cell.
Thus, we get the following table :
Step 5 : Since all du > 0 in the above table. Hence, the B.F.S. shown by the table is
an optimal solution and the optimal transportation cost = Rs. 710.
Thus the solution of the given transportation problem is
From plant P1 transport 6 units to market M2
From plant P2 transport 3 and 7 units to markets M2 and M3
respectively.
From plant P3 transport 12 units to market M3
and From plant P4 transport 11 and 4 units to markets M1 and M2
respectively.
Example 2 : Solve the following transportation problem
To Supply
1 2 3
1 2 7 4 5
2 3 3 1 8
From
3 5 4 7 7
4 1 6 2 14
Demand 7 9 18 34
[Meerut 1994]
Solution :
Step 1 : The initial B.F.S. of the above problem (by V.A.M.) is given in the
following table :
Total transportation cost
=Rs.(5 x2+2x1+7x4+2x6+8x1+ 10 x 2)=Rs.80
ai
(2) (7) (4) 5
5
18
Transportation Problem 557
Step 2 : Now we determine a set of ui and v s.t. for each occupied cell (r, s),
i
Crs = u r + v s ' See below table.
For this we choose u4 = 0 (since row 4 contains maximum number
of allocations).
Since c41 = 1 = u4 + v1, c42 = 6 = u4 + v2, c43 = 2 = u4 + v3
vl = —u 4 = 1,v2 = 6—u4 =0,v3 2—u4 =2
Also c11 = 2 = u1+ v1, c23 = 1 = u2 + v3, G32 = 4 = u3 + v2
ul= 2— =1,u2 = 1 — v3 = —1, u3 = 4— v2 = —2
Step 3 : Then we find the cell evaluations u + v j for each unoccupied cell (i, j)
and enter at the upper right corner of the corresponding unoccupied cell.
Step 4 : Then we find the cell evaluations dij = cy — (ui + v ) (1. e., the difference
./
of the upper right corner entry from the upper left corner entry) for each
unoccupied cell (i, j) and enter at the lower right corner of the
corresponding unoccupied cell.
Thus, we get theloHowing table :
v1• 1 6 2
(vi ) (v2 ) (v 3 )
Step 5 : Since cell evaluation d22 = —2 < 0, so the solution under test is not
optimal.
Step 6 : Since minimum dy is d22 = —2 (negative), so we give maximum
allocation 0 to this cell from an occupied cell and make the necessary
changes in other allocations as shown in the following table :
558 Operations Research
+0
A
A 8-0
< v
2 2 —0 10 +0
ai
bi 7 18
Step 8 : Proceeding as in step 2, 3 and 4 (to test the optimality of the above
B.F.S.), we get the following table :
Transportation Problem 559
ui
(2) (7) (5) (4) (3) 1 (ui )
5
(2) (1)
1 20 1 15'
2 28 2 19
3 17 3 13
4 18
560 Operations Research
Conveniently total supply at the warehouses is equal to total demand from the
customers. The following table gives the transportation costs per unit shipment from
each warehouse to each customer :
Warehouse Customer
1 2 3 4
1 3 6 8 5
2 6 1 2 5
3 7 8 3 9
Demand 15 19 13 18 65
Step 1 : By V.A.M. an initial B.F. S. of the problem is given in the following table :
Supply Penalties
1 2 3 4
(I) (I
_1)
The total transportation cost = Rs. (2x3+18x5+9x6+19x1+4x7+13x3)
= Rs. 236
Transportation Problem 561
ui .1,
(3) (6) (-2) (8) (-1) (5) 3 (= u1 )
2 18
(8) (9)
(6) (1) (2) (2) (5) (8) 6 (= u2 )
9 19
(0) (— 3)
(7) (8) (2) (3) (9) (9) 7 (= u3 )
4 13
(6) (0)
vi 0 —5 —4 2
(= v1). (= v2 ) (= v3 ) = 11 4 )
Step 5 : Since cell evaluation d24 = —3 < 0, so the solution under test is not
optimum.
Step 6 : Since minimum dii is d24 = —3 (negative), so we give maximum allocation-
0 to this cell from an occupied cell and make the necessary changes in other
allocations as shown in the following table :
S62 Operations Research
2 +0 -R. 18 —0
9 —0 NI,/ 19 : +0
4 13
Since minimum allocation containing —0 is 9 —0
Taking 9 —0 = 0, we get 0 = 9.
Step 7 : The new B.F.S. (m + n —1 allocations at independent positions) is shown
in the following table :
For this B.F.S. the total transportation cost
= Rs. (11x3+9x5+19x1+9x5+4x7+13x3) = Rs. 209
which is less than that for the initial B.F.S.
Step 8 : Proceeding as in step 2, 3 and 4, (to test the optimality of the above
B.F.S.), we get the following table :
Uil
(3j (6) (1) (8) (-1) (5) 0 (-=‘; u1 )
11 9
(5) (9)
(6) (3) (1) (2) (-1) (5) 0 (= u 2 )
19 9
(3) (3)
(7) (8) (5) (3) (9) (9) 4 (=u3 )
4 13
(3) (0)
11 • 5
Since all dii > 0, hence the solution shown in the above table is
optimal. Also d34 = 0, implies that alternative optimal solution also
exists.
Thus the optimal solution of the problem is
X11 = 11, x14 = 9 x22 = 19, X24 = 91 X31 = X33 = 13
Where xii = Amount to be transported from i-th warehouse to j-th
customer.
And optimal transportation cost = Rs. 209.
Example 4 : Solve the following transportation problem.
S1 S2 S3 S4 ai
01 1 2 1 4 30
02 3 3 2 1 50
03 4 2 5 9 20
b• 20 40 30 10 100
(Meerut 2002 (BP), 04; Agra 2000]
Transportation Problem 563
Solution : By 'Lowest Cost Entry' method, we get the following B.F.S. of the
problem.
S2 S3 a.
bl 20 40 30 10
U•
vi 2 3 2
(vi) (v 2 ) (v3 ) (v4)
1 2 3 4 , Supply
1 21 16 25 13 11
From 2 17 18 14 23 13
3 32 27 18 41 19
Demand 6 10 12 15 43
[Meerut 2007]
Solution : The final table giving optimal solution is as follows :
Hence, the solution of the given problem is
From source 1 transport 11 units to destination 4.
From source 2 transport 6, 3 and 4 units to destinations 1, 2 and 4 respectively.
From source 3 transport 7 and 12 units to destinations 2 and 3 respectirly.
Optimal transportation cost
= Rs. (6x17+3x18+7x27+12x18+11x13+4x23) = Rs. 796.
1 2 3 4
and (ii) if A, A' are in the same column, A < A' when A is above N ,
It is clear that after introducing A satisfying the above conditions, the original
solution of the problem is not changed. It is merely a technique to apply the
optimality test and is omitted ultimately.
For the clear understanding of the method. See Example 6 and 7.
i.e., if Eai # bj
i=1j= 1
glitutudiae jxamplith
Problems of Degeneracy
Example 6 : Solve the following transportation problem (cell entries represent unit
cost).
ai
5 3 7 3 8 5 3
5 6 12 5 7 11 4
2 1 3 4 8 2 2
9 10 5 10 9 8
b 3 3 6 2 1 2 17
ai
b 3 3 6 2 1 2
ui
(5) (2) (3) (7) (7) (3) (2) (8) (4) (5) -3
1 2
(3) (0) (1) (4)
v• 5 6 10 5 7 8
1 2 3 4 a•1
1 8 10 7 6 50
2 12 9 4 7 40
3 9 11 10 8 30
b• 25 32 40 23 120
SolutioU: By "Lowest Cost Entry Method" the initial B.F.S. of the given problem is .
given by the following table.
Since the total number of allocation is 5 which is one less than in + n -1 = 6.
Hence, this solution is a degenerate solution.
568 Operations Research
1 3 4 ai
25 32 40 23
Now to resolve this degeneracy we allocate a very small amount A to the cell
(2, 4) getting 6 allocations at independent positions.
To test the solution for optimality.
Now to test the solution for optimality we construct the following table :
3 Ui
vi 8 10 3 6
(vi) (v2 ) (v3 ) (v4 )
Since d22 = —2 < 0, so the solution under test is not optimal. Now we shall
allocate to this cell (2, 2) as much as possible. Thus, we take A from cell (2, 4)-to cell
(2, 2) and form the new table to check the optimality of the solution.
Transportation Problem 569
1 2 3 4
vi 10 5 6
Plant W1 W2 W3 W4 Availability
F1 11 20 7 8 50
F2 21 16 10 12 40
F3 8 12 18 9 70
Requirement 30 25 35 40
Market
Plant W1 W, W3 W4 W5 Availability
F1 11 20 7 8 0 50
F2 21 16 10 12 0 40
F3 8 12 18 9 0 70
Plant W1 W2 W3 W4 W5
bi 30 25 35 40 30 160
v• 8 12 8 9 —2
F1 4 2 3, 2 6 8
Furnaces F2 5 4 5 2 1 12
F3 - 6 5 4 7 3 14
Requirement 4 4 6 8 8
(in quintal)
M2 M3 M4 M5 M6 Capacities
F1 4 2 3 2 6 0 8
F2 5 4 5 2 1 0 12
F3 6 5 4 7 3 0 14
Requirement 4 4 6 8 8 4 34
By V.A.M, we get the following initial B.F.S. of the problem shown in this table.
M1 M2 M3 M4 M5 M6
4 4 6 8 8 4
To test the solution for optimality, we construct the following table with all the
entries ui and vi such that for each occupied cell crs =tti. +vs and make the entries
ui + vi and du = cu — (ui + vi ) at appropriate corners in empty cells.
572 Operations Research
M2 M3 M4 M5 M6 ui
•
11.1
6 4 4 4 3 0
1 2 3 4 5
+ Exercise on Chapter 14 +
1. Write a short note on "Transportation Problem".
2. Explain the difference between a transportation problem and an assignment
problem. [Meerut 1995 (P), 99, 2001, 02 (BP), 05;
Rohilkhand 1998; Agra 1999]
3. Describe methods to obtain an initial feasible solution for a transportation
problem. [UP TECH MBA 2003-04, 05, 06; Rohilkhand 2003]
4. Give a brief outline of the procedure for solving a transportation problem.
5. State the transportation problem in general terms and explain in this
connection, generacy. Also explain how it is tested whether a B.F.S. of a
transportation problem is optimal or not.
6. Write short note on 'Degeneracy' in T.P. [Meerut 2000, 01]
7. Explain the term 'Degeneracy' in the context of transportation problem.
[UP TECH MBA 2003-04]
8. (a) Consider the following transportation problem :
Destination Availability
1 2 3 4
1 21 16 25 13 1. 1
Source 2 17 18 14 23 13
3 32 27 18 41 19
Requirement 6 10 12 15 43
Determine an initial basic feasible solution using the row minimum method.
(b) Determine an initial basic feasible solution to the following transportation
problem using the north-west corner rule.
D1 D2 D3 D4 Availability
°I 6 4 1 5 14
02 8 9 2 7 16
03 4 3 6 2 5
Requirement 6 10 15 4 35
586 Operations Research
Fl 19 39 50 10 7
F2 70 30 40 60 9
• F3 40 8 70 20 18
Warehouse 5 8 7 14 34
Requirement
15.
To Available
• W1 W2 W3 W4 W5
Fl 3 4 6 8 9 20
F2 2 10 1 5 8 30
From
F3 7 11 20 40 3 15
F4 2 1 9 14 16 13
Required 40 6 8 18 6 78
01 5 3 6 2 19
02 4 7 ' 9 1 37
03 3 4 7 5 34
b• 16 18 31 25 '
588 Operations Research
17.
Customer Available
C1 C2 C3 C4 C5
Pi 4 1 3 4 4 60
Plant P2 2 3 2 2 3 35
P3 3 5 2 4 4 40
Required 22 45 20 18 30
18.
Di D2 D3 D4 D5 D6 ai
°I 9 12 9 6 9 10 5
02 7 3 7 7 5 5 6
03 6 5 9 11 3 11 2
04 6 8 11 2 2 10 9
bj 4 4 6 2 4 2 •
19.
Market
Plant A B C D Available
X 10 22 10 20 8
Y 15 20 12 8 13
Z 20 12 10 15 11
Required 5 11 8 8 32
20.
Market
Plant Available
A B C D
X 14 9 18 6 11
Y 10 11 7 16 13
Z 25 20 11 34 19
Required 6 10 12 15 , 43
Transportation Problem 589
21.
Warehouse
Plant A B C D Available at plant
X 30 20 50 20 75
Y 20 10 20 40 120
Z 40 30 40 30 105
Required at 65 60 80 95 300
warehouse
22.
Market
Plant A B C Available at plant
X 11 21 16 14
Y 7 17 13 26
Z 11 23 21 36
Required at Market 18 28 25
23. A company has three plants at locations A, B and C which supply warehouses
located at D, E, F, G and H. Monthly plant capacities are 800, 500 and 900 units
respectively. Monthly warehouse requirements are 400, 400, 500, 400 and 800
units respectively. Unit transportation cost (In Rs.) are given below :
D E F G
A 5 8 6 6 3
B 4 7 7 6 5
c. 8 4 6 6 4
Determine an optimum distribution for the company in order to minimize
the total transportation cost. [Meerut 20081
24. A company has three plants A, B, C and three were houses X, Y and Z. Number
of units, available at the plants are 60, 70 and 80 respectively. Demands at X, Y
and Z are 50, 80 and 80 respectively. Units costs of transportation are as
follows :
X Y Z
A 8 7 3
B 3 8 9
C 11 3 5
Find the allocation so that total transportation cost is minimum.
590 Operations Research
25. A manufacturer wants to ship 8 loads of his product as shown below. The
matrix gives the mileage from origin 0 to the destination
D ---> A B C Available
J. 0
X 50 30 220 1
Y 90 45 170 3
Z 250 200 50 4
Required 4 2 2 8
Shipping' costs are Rs. 10 per load mile. What shipping schedule should be
used.
26. A textile firm has three factories F1, F2, F3 and four warehouses W1, W2, W3, W4.
The transportation costs, factory capacitieS and warehouse requirements are
given in the following table :
W1 W2 W3 W4 Capacity
F1 15 24 11 12 5000
F2 25 20 14 16 1000
F3 12 16 22 13 7000
Requirements : 3000 2500 3500 4000
Find the least transportation schedule. [Meerut 2006)
27. Goods to be transported from factories A, B, C and D to warehouse X, Y and Z.
The transportation cost per unit, capacities of the factories and requirements of
the warehouses are given in the following table . Find the distribution with
minimum cost.
Factories Requirement
Warehouses A B C D .
X 15 24 11 12 2000
Y 25 20 14 16 4000
Z 12 16 22 13 7000
Capacity 3000 2500 3500 4000
[UP TECH MBA 2005.061
Transportation Problem 591
01 2 4 1 40
02 6 3 2 50
From 03 4 5 6 20
04 3 2 1 30
05 5 2 5 10
Demand 50 60 40 150
29.
Wi W2 W3 W4 Capacity
F1 . 95 105 80 15 12
F2 115 180 40 30 7
F3 155 180 95 70 5
Requirement 5 4 4 11
30.
Di D2 D3 D4 ai
01 1 2 1 4 30
02 4 2 5 9 50
03 20 40 30 10 20
b•
.1
20 40 30 10 100
31.
Di D2 D3 D4 ai
01 6 6 4 4 5
02 7 9 1 2 7
03 6 5 16 7 8
04 11 9 10 2 10
b. 10 5 10 5 30
592 Operations Research
32.
Store
A B C ai
I 10 9 8 8
II 0 7 10 7
Factory /II 11 9 7 9
IV 12 14 10 4
b
i
10 10 8 28
To Available
7 3 4 2
From 2 1 3 3
3 4 6 5
Demand : 4 1 5 10
[Meerut 2006 (BP)]
34. (a) Consider the transportation problem shown in the following table .:
The matrix shows the cost of transportation from source to demand points.
Find the optimal solution.
(b) Consider the transportation problem with m = 3 and n = 4, where
c11 =Z C12 = 3, c13 = 11, c14 =7
C21 = 1, C 22 = 0, C23 =:
6, C24 = 1
C31 = 5, C32 = 8, C33 = 15, c34 = 9
Suppose S1 = 6,, S2 = 1 and S3 = 10 whereas D1 = 7,D2 = 5,D3 = 3 and
D4 = 2,. Find an optimal solution.
[Hint : see part (a)]
Transportation Problem 593
estination To
Available
Origin D1 • D 2 D3 ' D4 D5
Oi. 12 4 9 5 9 40
02 8 1 6 6 7 20
From • 03 1 12 4 7 7 60
04 10 15 6 9 1 60
Required 40 20 50 30 40
[Meerut 1997 (BP), 20061
36. Solve the transportation problem :
To
Available
Di D2 D3
Oi. 14 . 11 7 5
• From 02 13 15 7 15
. 03 10 16 7 9
Required 15 6 8 .
[Meerut 19971
37. Solve the following transportation problem :
To Available
7 10 7 4 7 8 5
5 1 5 5 3 3 6
From
4 3 7 9. •1 9 2
4 6 9 0 0 8 9
Demand 4 4 6 2 4 2
[Meerut 2002]
38. There are three parties who supply the following quntities of coal and three
consumers who require the coal as follow :
. Party 1 14 tons Consumer A 6 tons
Party 2 12 tons Consumer B 10 tons
Party 3 5 tons Consumer C 15 tons
Total 31 tons
The cost matrix is given as
594 Operations Research
AB C
1 6 8 4
2 4 9 3
3 1 2 6
Find the schedule of a transportation policy which minimizes the cost.
[Meerut 1999]
39. Solve the following cost minimizing transportation prob em
D1 D2 D3 D4 D5 Available
01 5 5 6 4 2 9
02 6 9 7 8 5 13
03 5 6 4 6 3 9
Demand 3 7 8 5 8
[Meerut L.P. 1996 (BP)]
40. Solve the following transportation problem :
Destinations
Availability
D2 D3 D4 D5
Si. 5 7 6 8 7 13
Sources S2 7 6 8 9 8 6
S3 6 4 7 7 9 8
Requirement 6 7 3 5
[Meerut L.P. 1996]
41. A company has factories A, B and C which supply warehouses at D, E, F and G.
Monthly factory capacities are 160, 150 and 190 units respectively. Monthly
warehouse requirements are 80, 90, 110 and 160 units respectively. Unit
shipping costs (in rupees) are as follows :
To
D E F G
A 42 48 38 37
From B 40 49 52 51
C 39 38 40 43
42. At the beginning of next week there will be a surplus of 6, 9, 7 and 5 tailors in
cities 1, 2, 3 and 4 respectively. Cities A, B and C will have a deficit of 8, 7 and 9
tailors respectively. The cost for moving from each surplus city to each deficit
city is given in rupee in the table.
Find the minimum Cost Transportation Schedule.
Deficit
A B C
1 26 32 28
Surplus 2 19 27 16
3 39 21 32
4 18 24 23
To .
Supply
1 2 3
1 5 1 7 10
From 2 6 4 6 80
3 3 2 5 15
Demand 75 20 50
Since there is not enough supply, some of the demands at these destination
may not be satisfied. Suppose there are penalty costs for every unsatisfied
demand unit which are given by 5, 3 and 2 for destinations 1, 2 and 3
respectively. Find the optimal solution.
[Hint : Consider a dummy source 4 whose transportation costs are given by 5,
3, 2 and supply = 145 —105 = 40].
44. A company has 4 warehouses and 6 stores; the cost of shipping one unit from
warehouse i to store j is cu . If
7 10 7 4 7 8
5 1 5 5 3 3
C=
4 3 7 9 1 9
4 6 9 0 0 8
and the requirements of the six stores are 4, 4, 6, 2, 4, 2 and the quantities at
the warehouses are 5, 6, 2, 9, find the minimum cost solution.
596 Operations Research
Origins
Destinations Requirements
A B C D
1 7 4 3 4 15
2 3 2 7 5 25
3 4 4 3 7 20
4 9 7 5 3 40
Availabilities 12 8 35 25
46. A product is produced by four factories A, B, C and D. The unit production costs
in them are Rs. 2, Rs. 3, Rs. 1 and Rs. 5 respectively. Their production capacities
are, factory A-50 units, B-70 units, C-30 units and D-50 units. These factories
supply the product to four stores, demands of which are 25, 35, 105 and 20
units respectively. Unit transport cost in rupees from each factory to each store
is given in the table below :
Stores
1 2 3 4
A 2 4 6 11
Factories B 10 8 7 5
C 13 3 9 12
D 4 6 8 3
Detennine the extent of deliveries from each of the factories to each of the
stores so that the total production and transportation cost is minimum.
[Hint : First construct the transportation matrix with unit costs consisting of
both production and transportation, which is as follows :
Stores
Supply
1 2 3 4
A 2+2 4+2 6+2 11+2 50
B 10+3 8+3 7+3 5+3 70
Factories C 13+1 3+1 9+1 12+1 30
D 4+5 6+5 8+5 3+5 50
Demand 25 35 105 20
Obviously it is a unbalanced Transportation problem, so consider a fictitious
store 5 to absorb surplus 15 units.]
600 Operations Research
ANSWERS +
8. (a) x14 = 11, X21 = 6, x22 = 3, x 24 = X32 = 7,x33 = 12 OP.T.C. = Rs. 796
(b) X11 = 6, X12 = 8, x22 = 2, x23 = 14, X33 = 1, X34 = 4. OP.T.C. = Rs. 128
9. x12 .=25, x13 = 9, X21 = 15, x31 = 4, X33 = 8x41 = X44 = 17. OP.T.C. = 195
10. x11 = 3, x12 =1, x22 = 2 x23 = 4, x24 = 2, X34 = 3, X35 = 6. OP.T.C.= Rs. 153
11. By Vogel's App. Method x11= 20, x23 = 30, x24 = 10, x32 = 20, x42 = 20
By N-W Corner Rule xi]. = 20, X22 = 40, X33 = 20, X43 = 10, X44 = 10
Cost = 400 units.
12. x12 = 15, x13 = 35, x21 = 20, x22 = 20, x32 = 60, OP.T.0 = 555 Units
13. xi]. = 50, X21 = 70, X32 = 20, X33 = 60, X41 = 20, X43 = 120.OP.T.C. = Rs. 710
14. X11 = 50, X14 =2 •x22 = 2 X23 = 7, x32 = 6, X34 = 12. OP.T.C. = Rs. 743
15. /11 = 20, X21 = 4, X23 8, X24 = 18, X31 = 9, X35 = 6, X41 = 7, x42 = 6.
OP.T.C. = 267
16. x12 = 18, x13 = 1, x21 = 12, x24 = 25, x31 = 4,x33 = 30. OP.T.C. = Rs. 355
17. x12 = 45, x15 = 15, x21 = 17, x24 = 18, X31 = 5, x33 = 20, X35 = 15
OP.T.C. = Rs. 290
18. x13 = 5,x22 = 4, x26 = 2x31 = 1,X33 = 1,x41 = 4 = 2, X45 7 4.
OP.T.C. = Rs. 112
19. x11 = 5, x13 = 3, x23 = 5, X24 = 8, x32 = 11. ORT•C• = Rs. 336
20. x14 = 11, X21 = 6, X22 = 3, x24 = 4, x32 = 7, X23 = 12. OP.T.C. = Rs. 495
21. x14 = 75, x22 = 40, X23 = 80, x31 = 65, X32 = 20, X34 = 20.
or x11 = 65, X12 = 10, X22 = 40, x23 = 80, x32 = 10, X34 = 95.
or x11 = 55, x12 = 20, X22 = 40, X23 = 8Q x31 = 10, x34 = 95.
OP.T.C. = Rs. 7300
22. x13 = 14, x22 = 15, x23 = 11, x31 = :18, x32 = 13, 5 units are left at plant Z.
OP.T.C. = Rs. 1119.
23. X15 = 800, x21 = 400, X24 = 100, x32 = 400, X33 = 200, x34 = 300, demand
of 300 units at F remains unfulfilled OP.T.C. = Rs. 92000.
24. x13 = 60, x21 = 50, x23 = 20, x32 = 80, OP.T.C. = Rs. 750.
25. x11 = 1, x21 = 3, x32 = 2, x33 = 2. OP.T.C. = Rs. 8200
26. x13 = 2500, xi4 = 2500, x23 = 1000, x31 = 3000; x32 = 2500, x34 = 1500.
OP.T.C. = Rs. 167000
27. X13 = 2000, X23 = 1500, X24 = 2500, x31 = 3000, x32 = 2500, X34 = 1500
OP.T.C. = Rs. 176500
Transportation Problem 601
28. x11 = 30, x13 = 10, X22 = 50, x31 = 20, x43, = 30, x52 = 10. OP.T.C. = Rs. 350
29. x11 = 5, x12 = X14 = 3, X23 = 4, X24 = 3, X'34 = 5. OP.T.C. = Rs. 1540
30. x13 = 30, x21 = 10, x22 = 40, x31 = 10, x34 = 10. OP.T.C. = Rs. 450
31. x11 = 2, X13 = 3, x23 = 7, x31 = 8, x 42 = 5,x44 = 5. OP.T.C. = Rs. 131
32. x11 = 6.- X12 = 2 X 22 = 7, X32 = 1, x33 = 8, x41 = 4. OP.T.C. = Rs. 240
33. X13 = 25 X22 = 1, X23 = 2, X31 = 4, X33 = 1. OP.T.C. = Rs. 33
34. -x12 = 5, x13 = 1, x23 = 1, x31 = 7, x33 = 1, x34 = 2. Mini. Dist = 100 miles
35. x13 = 10, X14 = 30, X22 = 20, X31 = 40, X33 = 20, X43 = 20, X45 = 40.
OP.T.C. = Rs. 540
36. x12 = 5, x21 = 6, x22 = 1, X23 = 8, x31 = 9. OP.T.C. = Rs. 294 units.
37. x13 = 5, x 22 = 4, X26 = 2, X31 = 1, X33 = 1, x41 = 3, x44 = 2, x45 = 4.
OP.T.C. = Rs. 68
38. x12 = 5, x13 = 9, X21 = 6, x23 = 6, x32 = 5. OP.T.C. = Rs. 128
39. x12 = 4, x14 = 5, X 21 = 3, x22 = 2, x25 = 8,X32 = 1, x33 = 8. OP.T.C. = Rs. 154
40. x11 = 6, X13 = 3, X15 = 4, X24 = 4, X95 = 2, X32 = 7, X34 = 1. OP.T.C. = Rs. 163
41. x14 = 160, x21 = 80, X22 = 10, X32 = 80, X33 = 110.
60 units are left with factory B undispatched. OP.T.C. = Rs. 17050
42. x11 = 3, x23 = 9, x32 = 7, x41 = 5. 3 surplus units at city 1. OP.T.C. =Rs. 459
43. x12 = 10, X21 = 60, X22 = 10, X23 = 10, X31 = 15.
Demand of 40 units at destination 3 remains unsatisfied. OP.T.C. = Rs. 515
44. X13 = 5,X22 = 3, X23 = 1, X26 = 2,X31 = 1, X32 = 1, X41 = 3, x44 = 2,X45 = 4.
OP.T.C. = Rs. 68
45. XA2 =, 12, xB2 = 8, xd = 15, Xe3 = 20, XD4 = 25, where X A2 is the quantity
transported from origin A to destination 2. Requirements of 5 units at
destination 2 and 15 units at destination 4 remain unfulfilled.
OP.T.C. = Rs. 232
46. x11 = 25, X12 = 5, X13 = 20, X23 = 70, X32 = 30, X43 = 15, x44 = 20.
15 units are left at factory D undispatched. Optimal Total Cost Rs. 1465.
47. x11 = 50, x12 = 50, x13 = 50, x23 = 150, x31 = 150, x42 = 150. Max. T.C. =
4250 units.
48. X- BA = 70, X BD = 100, XBK =
30, xa = 100. Demand of 5 coolers remain
unfulfilled at Agra. Maximum profit = Rs. 31600.
49. XID = 200, x 2D = 30, x2E = 145, x3B = 10, x3c = 45, X3E = 15, x4A = 110,
X 4C = 75,
140 units are left with factory 4 undistributed. Maximum profit = Rs. 7060.