M.C.a.sem III Operation Research 3
M.C.a.sem III Operation Research 3
20 10 2
P1 30 / 10 / 0
3 4
2 10 15
P2 25 / 15 / 0
1 5
4 3 20
P3 20 / 0
3
Market 20 / 0 20 / 10 / 0 35 / 20 / 0
requirements
This method involves following steps for finding initial feasible solution :
i) The least cost method starts by making the first allocation to that
cell whose shipping cost per unit is lowest.
www.educlash.com
102
ii) This lowest cost cell is loaded or filled as much as possible in view
of the plant capacity of its row and the market requirements of its column.
In our example, the cell P2 W2 has the least shipping cost, so we allocate
20 units to this cell exhausting the requirements of marketW2 .
iii)We move to the next lowest cost cell and make an allocation in view
of the remaining capacity and requirement of its row and column. In case
there is a tie for the lowest cost cell during any allocation we make an
allocation in the cell which will satisfy either the maximum market
requirement or exhaust the plant capacity. In this example, there is a tie
between cells P1 W3 and the cell P2 W1 . So we choose cell P1 W3 because
it will exhaust maximum capacity i.e. 30 units.
iv)The above procedure is repeated till all rim requirements are
satisfied.
The initial feasible solution of the given problem using the least-
cost method is given in the following table.
P1 30 30/0
3 4 2
P2 5 20 25/5/0
2 1 5
P3 15 5 20/15/0
4 3 3
www.educlash.com
103
www.educlash.com
104
Destination
1 2 3 4 Supply
1 5 8 3 6 30
Source 2 4 5 7 4 50
3 6 2 4 5 40
Demand 30 20 40 30
To start with, any one of uj’s or vj’s is assigned the value zero. It is
better to assign zero for a particular ui or vj where there are maximum
number of allocation in a row or column respectively, as it will reduce
arithmetic work considerably. Then complete the calculation of ui’s and
vj’s for other rows and columns by using the relation
cij = ui + vj for all occupied cells (i, j).
Step 2 For unoccupied cells, calculate opportunity cost (the difference that
indicates the per unit cost reduction that can be achieved by an allocation
in the unoccupied cell) by using the relationship
dij = cij - (ui + vj) for all i and j.
Step 4 Construct a closed-path (or loop) for the unoccupied cell with
largest negative opportunity cost. Start the closed path with the selected
unoccupied cell and mark a plus sign (+) in this cell, trace a path along the
rows (or column) to an occupied cell, mark the corner with minus sign (-)
and continue down the column (or row) to an occupied cell and mark the
www.educlash.com
105
corner with plus (+) sign and minus sign (-) alternatively. Close the path
back to the selected unoccupied cell.
Step 5 Select the smallest quantity amongst the cell marked with minus
sign on the corners of closed loop. Allocate this value to the selected
unoccupied cell and add it to other occupied cells marked with plus sign
and subtract it from the occupied cells marked with minus sign.
Step 7 Test the revised solution further for optimality. The procedure
terminates when all d ij 0 , for unoccupied cells.
Remarks :
1. The closed-loop (path) starts and ends at the selected unoccupied cell.
It consists of successive horizontal and vertical (connected) lines
whose end points must be occupied cells, except for an end point
associated with entering unoccupied cell. This means that every corner
element of the loop must be an occupied cell.
www.educlash.com
106
www.educlash.com
107
Destination
D1 D2 D3 D4 D5 Supply
S1 5 8 6 6 3 8
Source S2 4 7 7 6 5 5
S3 8 4 6 6 4 9
Demand 4 4 5 4 8 22
25
Shipping cost is Rs. 0 per load per km. What shipping schedule should be
used to minimize total transportation cost?
Solution :
Since the total destination requirement of 25 units exceeds the total
resource capacity of 22 by 3 units, the problem is unbalanced. The excess
requirement is handled by adding a dummy plant, Sexcess with a capacity
equal to 3 units. We use zero unit transportation cost to the dummy plant.
The modified transportation table is shown in Table 6.3.1.
Initial solution 6.3.1
D1 D2 D3 D4 D5 Supply
S1 5 8 6 6 3 8 u1 0
5 3
S2 4 7 7 6 5 5
u2
4 1
S3 8 4 6 6 4 9
u3
4 5
Sexcess 0 0 0 0 3 0 3
u4
Demand 4 4 5 4 8 25
v1 v2 v3 v4 v5
www.educlash.com
108
Table 6.3.2
D1 D2 D3 D4 D5 Supply ui
S1 5 8 6 6 3 8 u1 = 0
5 3
+3 +5 (-) +2 (+)
S2 4 7 7 6 5 5 u2 = 2
4 1
+2 -1 (+) (-)
S3 8 4 6 6 4 9 u3 = 1
4 5
+5 -1 +1
Sexcess 0 0 0 0 0 3 u4 = - 4
3
+2 +1 (+) -2 (-) -7
Demand 4 4 5 4 8 25
vj v1 = 2 v2 = 3 v3 = 6 v4 = 4 v5 = 3
Table 6.3.3
D1 D2 D3 D4 D5 Supply ui
S1 5 8 6 6 3 8 u1 = 0
5 3
+3 +5 (-) +2 (+)
S2 4 7 7 6 5 5 u2 = 0
4 1
+4 +1 +2
S3 8 4 6 6 4 9 u3 = 1
4 ( ) 5
+
+3 -1 -1 (-)
Sexcess 0 0 0 0 0 3 u4 = - 6
3
+2 +3 (+) (-) +3
Demand 4 4 5 4 8 25
vj v1 = 4 v2 = 3 v3 = 6 v4 = 6 v5 = 3
www.educlash.com
109
Table 6.3. 4
D1 D2 D3 D4 D5 Supply
S1 5 8 6 6 3 8 8
S2 4 7 7 6 5 5
4 1
S3 8 4 6 6 4 9
4 2 3
Sexcess 0 0 0 3 6 0 3
Demand 4 4 5 4 8 25
Total cost = (3 × 8 + 4 × 4 + 6 × 1 + 4 × 4 + 6 × 2 + 6 × 3) × 10 =
Rs. 920
Example 6.4
Solve the following transportation problem for minimum cost:
Destina ions A Ori ins D Requirements
t gB C
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
Solution
Since this is an unbalanced transportation problem, introduce a
dummy activity E with availability of 20 units. Apply vogel’s method to
find initial feasible solution.
www.educlash.com
110
A B C D E Requirement 1 2 3 4 5 6
1 7 4 15 4 0 15 3 1 1 1 1 1
0
3
2 12 8 7 5 0 25 2 1 2 2 2 2
17
3 2 5
12
3 4 4 20 7 0 20 3 1 1 1 4 -
0
3
4 9 7 5 20 20 40 3 2 2 - - -
20
3 0
0
12 8 35 25 20 100
Availability 0 0 15 5 0
0 0
1 2 0 1 0
Differene
1 2 0 1 0
1 - 0 1 -
1 - 0 1 -
- - 0 1 -
- 4 1 -
A B C D E
Requirements
7 4 15 4 0
1 15
3
12 8 7 5 0
2 25
3 2 5
4 4 20 7 0
3 20
3
9 7 5 20 20
4 40
3 0
Availability 12 8 35 25 20
www.educlash.com
111
A B C D E
ui
7 4 15 4 e
1 0
3 0
12 8 7 5 0
2 2
3 2 5
4 4 20 7 0
3 0
3
9 7 5 20 20
4 0
3 0
vj 1 0 3 3 0
6 4 1
2 -2
3 4 4 0
8 7 2
ij matrix
Since one of the ij is -ve including the most-negative marginal
cost cell (E,2) in the loop and test the solution for optimality.
15 e
7 4 4 0
12 8 5
0
3 2 7 - 5 +
20 min 5 , 20
4 4 3 7 0
5
20 + 20 -
9 7 5 3 0
www.educlash.com
112
0
7 5
12 8 5
0
3 2 0
4 4 7 0
20 3
0
9 7 5 25 15
vj 3 2 3 3 0
3 0
4 2 1
4 2
1 2 4 0
6 5 2
ij matrix
Since all ij 0, this is optimal solution and the allocation is given by
FROM C A B E C D E
TO 1 2 2 2 3 4 4
QTY. 15 12 8 5 20 25 15
COST 45 36 16 0 60 75 0 = 232 Total Cost
Example 6.5
Destination 1 2 3 4 5 Supply
Source
I 40 36 26 38 30 160
II 38 28 34 34 198 280
III 36 38 24 28 30 240
Demand 160 160 200 120 240
www.educlash.com
113
Solution
Destination
Source 1 2 3 4 5 Difference
I 40 36 26 38 16 160/0 4 4 4 4 4
0
30
III 36 38 80 12 40 240/120/0 4 4 4 4 6
0
24 28 30
Dummy 16 0 0 0 40 200/40/0 0 0
0
0 0
Thus the initial solution is given by the table given above. To test
whether the initial solution is optimal, we apply optimality test. If the
solution is not optimal, then we will try to improve the solution to make it
optimal. To test the optimality of the initial solution, we find whether the
number of allocations is equal to m + n – 1 or not. Also, these allocations
should be independent.
www.educlash.com
114
1 2 3 4 5
i
40 36 26 38 160
I 0
30
38 16 120 34 198
II 10
28 34
36 38 80 120 40
III 0
24 28 30
16 0 0 0 40
Dummy -30
0 0
vj 30 18 24 28 30
-2 16 120 -4 158
II 10
- +
120
III 6 20 80 120 40 0
+ -
Dummy -30
16 12 6 2 40
vj 30 18 24 28 30
Since there are negative ij s this solution is not optimal. Including the
most negative ij in the loop, the next improved solution is given below.
We test this solution for optimality. Since the total number of basic cells is
less than 8 (= m + n – 1), we put e which is a very small quantity in the
least cost independent cell and compute values of i and v j
www.educlash.com
115
Destinations
Source 1 2 3 4 5 i
40 36 26 38 160
I
30 30
38 16 34 120 198
II
28 34 34
36 38 200 28 40
III
24 30 30
16 0 0 e 40
Dummy
0 0 0 0
vj 0 -6 -6 0 0
1 2 3 4 5 i
10 12 2 8 160
I
30
4 16 6 120 164
II
34
6 14 200 -2 + 40
III
- 30
Dummy 16 6 6 e 40
0
- +
vj 0 -6 -6 0 0
Since there is one negative ij this solution is not optimal.
Including this negative value in the loop, the next improved solution is
given below which is tested for optimality.
www.educlash.com
116
Destinations
Source 1 2 3 4 5 i
40 36 26 38 160
I
30 0
38 16 34 120 198
II
28 34 6
36 38 200 e 40
III
24 28 30 0
16 0 0 0 40
Dummy
0 0 - 30
vj 30 22 24 28 30
Destination
sources 1 2 3 4 5 i
10 14 2 10 160
I
0
2 16 4 120 162
II
6
6 16 200 e 40
III
0
16 8 6 2 40
Dummy
-30
vj 30 22 24 28 30
www.educlash.com
117
Since all ij s are positive, the above table will give optimal
solution. The optimal solution is given below.
Example 6.6
Solve the following transportation Problem :
GODOWNS
1 2 3 4 5 6 Stock
Available
F 1 7 5 7 7 5 3 60
A
C 2 9 11 6 11 - 5 20
T
O 3 11 10 6 2 2 8 90
R
Y 4 9 10 9 6 9 12 50
DEMAND 60 20 40 20 40 40
www.educlash.com
118
Solution
The initial solution is found by VAM below :
Factory Godowns Availability Diff.
1 2 3 4 5 6
1 7 20 7 7 5 40 60/40/0 2/4/0
5 3
2 10 11 10 11 5 20/10/0 1/3
9 6
3 11 10 30 20 40 8 90/70/30/0 0/4/2/5
6 2 2
4 50 10 9 6 9 12 50/0 3/0
Demand 60 20 40 20 40 40
50 0 10 0 0 0
0 0
Diff. 2 5 0/1 4 3 2
The initial solution is tested for optimality. Since there are only 8
allocations and we require 9 (m + n – 1 = 9) allocations, we put a small
quantity e in the least cost independent cell (2,6) and apply the optimality
test. Let u3 0 and then we calculate remaining ui and v j
1 2 3 4 5 6 i
1 7 20 5 7 7 5 40 3
-2
2
10 9 11 10 6 11 e 5 0
3
6 2 0
11 10 30 20 40 2 8
4
0
vj 50 9 10 9 6 9 12
9 7 6 2 2 5
www.educlash.com
119
0 3 7 5
4 9
2 3 3
3 3 4 7 7
ij
Since all ij are positive, the initial solution found by VAM is an
optimal solution. The final locations are given below :
www.educlash.com
120
least. Are there alternate optimum solutions? If so, indicate one such
solution.
Solution
The total amount required by five projects is Rs. 750 thousands.
Since private bank can give credit for any amount, we allocate [Rs. 750 –
(Rs. 400 + Rs. 250) = Rs. 100] thousand to private banks. The balanced
problem is given below. The initial solution is found using VAM.
18
100/0 0/1/0/0
Nationalised 20 50 15 15 16
Bank 16 16 16
400/200/50/0 1/0/0/0
Co-operative 15 15 5 125 7
Bank 15 13 14
250/125/50/0 1/1/0
www.educlash.com
121
P Q R S T ui
Pvt. Bank 2 10 0 1 0
2
18
20 18 17 17
Co-operative Bank 0 0 50 12 75
-1
15 13 14
15 15
vj 16 16 16 14 15
Further, since some of the ij ’s are zero, therefore the above solution is
not unique. To find out an alternative solution, let us include the cell
(CB,Q) as the basic cell so the new solution is given below :
P Q R S T
Pvt. Bank 20 10 18 17 17
18
16 16
Co-operative Bank 15 15 50 12 75
15 13 14
www.educlash.com
122
Nationalised 200 -1 20 e 0
2
Bank +
16 -
16 16 15 16
Co-operative 1 50 1 12 75
0
Bank
14
15 - 15 +
15 13
vj 14 15 14 13 14
Co-operative Bank 0 50 0 12 75
-1
15 13 14
15 15
vj 16 16 16 14 15
www.educlash.com
123
= 100 × 018 + 200 × .16 + 200 × .16 + 50 × .15 + 125 × .13 + 75 × .14 =
Rs. 116.25 thousands = Rs. 1,16,250
Note : The alternative solution can be found by taking any cell with zero
ij as the basic cell.
Example 6.8
Solve the following transportation problem to maximize profit and
give criteria for optimality :
Profit (Rs.) / Unit
destination
Origin Supply
1 2 3 4
A 40 25 22 33 100
B 44 35 30 30 30
C 38 38 28 30 70
Demands 40 20 60 30
Solution
Further, the above loss matrix is not a balanced one as (supply >
demand), we will therefore introduce a dummy destination and find the
initial feasible solution using VAM.
www.educlash.com
124
A -22 -33 0
100/70/50/0 7/7/7/1
30 -35 -30 -30 0
B - 44
30/0 9
10 20 40 -30 0
1 2 3 4 Dummy ui
-8 +7
20 30 50
A
-
- 40 -25 -33 0 0
-22
B 30 4 15 12
- 44 -35 -30
-30 0 -12
C 10 20 40 9 6
+
-
-38 -38 -28 -30 0 -6
Demands 40/10/0 20/0 60/20/0 30/0
www.educlash.com
125
1 2 3 4 Dummy ui
10 7 10 30 50
+ -
- 40 -25 -22 -33 0 0
30 -4 7 4
B 1
- +
- 44 -35 -30 -30 0 -4
8 20 50 + 9 6
-38
-38 -28 -30 0 -6
vj -40 -32 -22 -33 0
1 2 3 4 Dummy ui
20 11 4 30 50
A
- 40 -33 0
-25 -22 0
20 -35 10 7 4
B
- 44 -30
-30 0 -4
4 20 50 5 2
C
-38 -28
-38 -30 0 -2
vj -40 -36 -26 -33 0
www.educlash.com
126
1 2 3 4 Dummy
20 25 22 30 50
A
40 33 0
20 35 10 30 0
B
44 30
38 20 50 30 0
C
38 28
Example 6.9
A manufacturer of jeans is interested in developing an adverting
campaign that will reach four different age groups. Advertising campaigns
can be conducted through TV, Radio and Magazines. The following table
gives the estimated cost in paise per exposure for each age group
according to the medium employed. In addition, maximum exposure
levels possible in each of the media, namely TV, Radio and Magazines are
40, 30 and 20 millions respectively. Also the minimum desired exposures
within each age group, namely 13-18, 19-25, 26-35, 36 and older, are
30,25,15 and 10 millions. The objective is to minimize the cost of
attaining the minimum exposure level in each age group.
Media Age Groups
13-18 19-25 26-35 36 & older
TV 12 7 10 10
Radio 10 9 12 10
Magazines 14 12 9 12
www.educlash.com
127
Solution
7 10 10
10
9 0
Penalty 2 2 1 0 0
2 2 1 0 -
2 - 1 0 -
2 - 2 0 - The total cost for
- - 10 10 - this allocation
works out to Rs.
71.5 lakhs
www.educlash.com
128
The solution given by VAM is degenerate since there are only six
assignments. Let us put an E in the least cost independent cell to check for
optimality. Let u1 0 and we calculate remaining ui and v j s .
7 10 10
0
Radio 030 9 12 10 E
10 0
-1
Magazines 14 12 1 12 10
9 0
-1
vj 11 7 10 10 1
3 3 1
4 6
Since one of the ij s is negative, the 3solution given above is not
optimal. Let us include the cell with negative ij as a basic cell and try to
improve the solution. The reallocated solution is given below which is
tested for optimality.
www.educlash.com
129
7 10 0
0
Radio 030 9 12 10 E
10 0
0
Magazines 14 12 1 12 5
9 0
0
vj 10 7 9 10 0
Since all the entries in the last table are non-negative, the second
solution is optimal.
And the total minimum cost of attaining the minimum exposure level is
Rs. 71 lakhs.
Note : since one of ij in the second solution is zero. This solution is not
unique, alternate solution also exists.
www.educlash.com
130
12 25 10 110 5
7 10 0 40
30 9 12 10 0
10 30
14 12 1 12 5
9 0 20
30 25 15 10 10
Example 6.10
A company wishes to determine an investment strategy for each of
the next four years. Five investment types have been selected, investment
capital has been allocated for each of the coming four years, and
maximum investment levels have been established for each investment
type. An assumption is that amounts invested in any year will remain
invested until the end of the planning horizon of four years. The following
table summarises the data for this problem. The values in the body of the
table represent net return on investment of one rupee upto the end of the
planning horizon. For example, a rupee invested in investment type B at
the beginning of year 1 will grow to Rs. 1.90 by the end of the fourth
years, yielding a net return of Re. 0.90.
Investment made Investment type Rupees
at the beginning available
of year (in 000’s)
A B C D E
NET RETURN DATA
1 0.80 0.90 0.60 0.75 1.00 500
2 0.55 0.65 0.40 0.60 0.50 600
3 0.30 0.25 0.30 0.50 0.20 750
4 0.15 0.12 0.25 0.35 0.10 800
Maximum Rupees 750 600 500 800 1,000
Investment (in
000’s)
www.educlash.com
131
Step 2:
We shall now convert the above transportation problem (a profit
matrix) into a loss matrix by subtracting all the elements from the highest
value in the table viz. Re. 1.00
Investment type
Years A B C D E Available Rupees
(in 000’s)
1 Net Loss Data (Re.)
0.20 0.10 0.40 0.25 0 500
2 0.45 0.35 0.60 0.40 0.50 600
3 0.70 0.75 0.70 0.50 0.80 750
4 0.85 0.88 0.75 0.65 0.90 800
Dummy 1.00 1.00 1.00 1.00 1.00 1,000
Maximum rupees 750 600 500 800 1,000 3,650
investment in (‘000)
www.educlash.com
132
For convenience, let us express the net loss data in the body of the
above table in paise. Thereafter, we shall apply VAM to get an initial
solution.
Years A B C D E Rs.
available Difference
(000’s)
1 20 10 40 25 500 500/0 10 - - - -
0
2 45 600 60 40 50 600/0 5 5 - - -
35
3 70 75 70 750 80 750/0
20 20 20 - -
50
4 250 88 500 50 90 800/750/
10 10 10 10 10
250/0
85 75 65
Dummy 500 100 100 100 500 100/500/0
0 0 0 0 0
100 100
www.educlash.com
133
10 0
2 45 600 60 40 50
35
3 70 75 70 750 80
50
4 250 88 500 50 90
85 75 65
Dummy 500 100 100 100 500
100 100
Years A B C D E
1 20 e - 50 45 500 + u1 85
10
2 20 600 45 35 25 u2 60
35
3 0 -5 10 750 10 u3 15
50
4 250 -7 500 50 5 u4
85 75 65
Dummy 500 -10 10 20 500 - u5
100 +
100
u1 85 u2 u3 5 u4 u5 8
www.educlash.com
134
Since some of the ij ' s are negative, the above initial solution is
not optimal. Introducing in the cell (Dummy, B) with most negative ij
an assignment . The value of and the new solution as obtained from
above is shown below. The values of ui s, v j s are also calculated. The
solution satisfies the conditions of optimality. The condition
ij Cij ui v j 0 for non allocated cells is also fulfilled.
Investment Type
Years A B C D E
1 20 10 50 45 500 u1 85
0
2 10 600 35 25 10 u2 50
35
3 0 575 10 750 100 u3 15
50
4 250 3 500 50 5 u4
85 75 65
Dummy 500 e 10 20 500 u5
The net return on investment for the planning horizon of four years
period is given by :
500 × 1.0 + 600 × 0.65 + 750 × 0.50 + 250 × 0.15 + 500 × 0.25 +
50 × 0.35 = Rs. 1,445 thousands.
www.educlash.com
135
Example 6.11
A leading firm has three auditors. Each auditor can work upto 160
hours during the next month, during which time three projects must be
completed. Project 1 will take 130 hours, project 2 will take 140 hours, the
project 3 will take 160 hours. The amount per hour that can be billed for
assigning each auditor to each project is given in Table 1 :
Auditor Project
1 2 3
Rs. Rs. Rs.
1 1,200 1,500 1,900
2 1,400 1,300 1,200
3 1,600 1,400 1,500
Solution
Example:
Project
Auditor 1 2 3 Time
Rs. Rs. Rs. available (hours)
1 1,200 1,500 1,900 160
2 1,400 1,300 1,200 160
3 1,600 1,400 1,500 160
Time required (hrs) 130 140 160
www.educlash.com
136
3 5
Time 130/0 140/110/0 160/0 50/0
Required
Difference 2/2/-/- 1/1/1/ 4/-/- 0/0/0
2 5 110 7 5 160
0
6 19
3 13 3 e 19 160
3 5 4
www.educlash.com
137
www.educlash.com
138
1. A steel company has three open hearth furnaces and five rolling
mills. Transportation costs (rupees per quintal) for shipping steel from
furnaces to rolling mills are shown in the following table :
M1 M2 M3 M4 M5 Supply
F1 4 2 3 2 6 8
F2 5 4 5 2 1 12
F3 6 5 4 7 7 14
Demand 4 4 6 8 8
I II III Supply
A 5 1 7 10
From B 6 4 6 80
C 3 2 5 15
Demand 75 20 50
www.educlash.com
139
Wholesaler
I II III IV V
W 0.05 0.07 0.10 0.25 0.15
Plant X 0.08 0.06 0.09 0.12 0.14
Y 0.10 0.09 0.08 0.10 0.15
To
A B C Supply
X 7 3 4 2
From Y 2 1 3 3
Z 3 4 6 5
Demand 4 1 5
www.educlash.com
140
The transport charges are Rs. 10 per tonne per kilometer. Suggest
optimum transportation schedule and indicate the total minimum
transportation cost. If, for certain reasons, route from plant C to
distribution centre X is closed down, will the transportation scheme
change? If so, suggest the new schedule and effect on total cost.
www.educlash.com
141
9. A company has three plants and four warehouses. The supply and
demand in units and the corresponding transportation costs are given. The
table below has been taken from the solution procedure of the
transportation problem :
www.educlash.com
142
To Agency
1 2 3 4
1 2 5 7 3
From Plant 2 8 4 6 2
3 3 4 4 5
c) Agency Demand (Units) Selling price (Rs.)
1 300 32
2 400 35
3 300 31
4 500 36
Shipping costs :
www.educlash.com
143
Number employed A B C D
Retraining cost : 200 400 300 200
Rs. (thousand) per person
Transfer to: A B C D
Unit E 0.5 0.4 0.6 0.3
Unit F 0.6 0.4 0.6 0.3
Unit G 0.5 0.3 0.7 0.3
Removal costs : Rs. (thousand) per person
Transfer to: A B C D
Unit E 2.5 3.6 3.4 3.7
Unit F 2.4 4.6 3.4 1.7
Unit G 2.5 2.7 3.3 2.7
Redundancy payments : Rs. (thousand) per person
A B C D
6.0 5.0 6.0 7.0
Additional personnel required at E F G
units remaining open :
350 450 200
www.educlash.com
144
7
ASSIGNMENT PROBLEM
Unit Structure :
1. Objectives
2. Introduction
3. Mathematical Model of Assignment Problem
4. Solution methods of assignment problem
7.3.1 Enumeration method
7.3.2 Simplex method
7.3.3 Transportation method
7.3.4 Hungarian method
4. Check your progress
5. Additional Problems
6. Let us sum up
7. Future References
8. Unit End Exercise
1. OBJECTIVES
2. INTRODUCTION
www.educlash.com
145
From Table 7.1, it may be noted that the data matrix is the same as
the transportation cost matrix except that supply (or availability) of each
of the resources and the demand at each of the destinations is taken to be
one. It is due to this fact that assignments are made on a one-to-one basis.
www.educlash.com
146
Then, the mathematical model of the assignment problem can be stated as:
n n
Minimize Z c ij xij subject to the constraints.
i1 j1
n
Enumeration method
Simplex method
Transportation method
Hungarian method
www.educlash.com
147
2. Simplex Method :
3. Transportation Method :
Step 1 Locate the smallest cost element in each row of the cost table. Now
subtract this smallest element from each element in that row. As a result,
there shall be at least one zero in each row of this new table, called the
Reduced Cost Table.
Step 2 In the Reduced Cost Table obtained, consider each column and
locate the smallest element in it. Subtract the smallest value from every
other entry in the column. As a consequence of this action, there would be
at least one zero in each of the rows and columns of the second reduced
cost table.
www.educlash.com
148
Step 3 Draw the minimum number of horizontal and vertical lines (not the
diagonal ones) that are required to cover all the ‘zero’ elements. If the
number of lines drawn is equal to n (the number of rows/columns) the
solution is optimal and proceed to step 6. If the number of lines drawn is
smaller than n, go to step 4.
Step 4 Select the smallest uncovered (by the lines) cost element. Subtract
this element from all uncovered elements including itself and add this
element to each value located at the intersection of any two lines. The cost
elements through which only one line passes remain unaltered.
Step 6 Given the optimal solution, make the job assignments as indicated
by the ‘zero’ elements. This is done as follows :
a)Locate a row which contains only one ‘zero’ element. Assign the job
corresponding to this element to its corresponding person. Cross out the
zero’s, if any, in the column corresponding to the element, which is
indicative of the fact that the particular job and person are no more
available.
b)Repeat (a) for each of such rows which contain only one zero.
Similarly, perform the same operation in respect of each column
containing only one ‘zero’ element, crossing out the zero(s), if any, in the
row in which the element lies.
c)If there is row or column with only a single ‘zero’ element left, then
select a row/column arbitrarily and choose one of the jobs (or
persons) and make the assignment. Now cross the remaining zeros in the
column and row in respect of which the assignment is made.
d) Repeat steps (a) through (c) until all assignment are made.
e) Determine the total cost with reference to the original cost table.
Example 7.1
Solve the assignment optimal solution using HAM.
1 45 40 51 67
2 57 42 63 55
3 49 52 48 64
4 41 45 60 55
www.educlash.com
149
1 5 0 11 27
2 15 0 21 13
3 1 4 0 16
4 0 4 19 14
Step 2 For each column of this table, the minimum value is subtracted
from all the other values.
Job
Worker
A B C D
1 5 0 11 14
2 15 0 21 0
3 1 4 0 3
4 0 4 19 1
www.educlash.com
150
Job
Worker
A B C D
1 5 0 11 14
2 15 21
0 0
3 1 4 3
0
4 0 4 19 1
www.educlash.com