Professional Documents
Culture Documents
Assignment Problems
Assignment Problems
ASSIGNMENT PROBLEMS
62.1 INTRODUCTION
Imagine, if in a printing press there is one machine and one
operator is there to operate. How would you employ the worker?
Your immediate answer will be, the available operator will
operate the machine.
Again suppose there are two machines in the press and two
operators are engaged at different rates to operate them. Which
operator should operate which machine for maximising profit?
Similarly, if there are n machines available and n persons are
engaged at different rates to operate them. Which operator should
be assigned to which machine to ensure maximum efficiency?
While answering the above questions we have to think about
the interest of the press, so we have to find such an assignment
by which the press gets maximum profit on minimum investment.
Such problems are known as "assignment problems".
In this lesson we will study such problems.
62.2 OBJECTIVES
After completion of this lesson you will be able to:
l
98::Mathematics
Jobs
1
........ j
........ n
c 11
c 12
c 13
........ c 1j
........ c 1n
c 21
c 22
c 23
........ c 2j
........ c 2n
.
.
.
.
i
.
.
.
.
c i1
.
.
.
.
c i2
.
.
.
.
c i3
............
............
............
............
........ c ij
.............
.............
.............
.............
........ c in
.
.
.
.
n
.
.
.
.
c n1
.
.
.
.
c n2
.
.
.
.
.............
.............
.............
........ c nj
............
............
.............
........ c nn
Persons
c n3
Table
1
To minimize z (cost) =
i=1 j=1
where x ij
(i)
i=1
n
(ii)
j=1
xij =1; j=1,2,...n., i.e., ith person will do only one work.
xij=1; i=1,2,...n.,i.e., jth work will be done only by one person.
Assignment Problems :: 99
c ij xij = 0.
(B)
100 :: Mathematics
(ii)
modify the matrix with the help of step II and find the
required assignment.
This procedure will be more clear by the following examples.
Example A:
Four persons A,B,C and D are to be assigned four jobs I, II, III
and IV. The cost matrix is given as under, find the proper
assignment.
Man
10
17
II
III
10
12
11
IV
13
Jobs
Solution :
In order to find the proper assignment we apply the Hungarian
algorithm as follows:
I (A) Row reduction
Man
II
III
IV
Jobs
I (B)
Column reduction
Man
II
III
IV
Jobs
102 :: Mathematics
II
III
IV
Jobs
In this way all the zeros are either crossed out or assigned.
Also total assigned zeros = 4 (i.e., number of rows or columns).
Thus, the assignment is optimal.
From the table we get I B; II C: III D and IV A.
Example B:
There are five machines and five jobs are to be assigned and the
associated cost matrix is as follows. Find the proper assignment.
Machines
Jobs
II
III
IV
12
11
15
10
11
10
11
16
19
12
23
21
10
Solution:
In order to find the proper assignment, we apply the Hungarian
method as follows:
IA (Row reduction)
Machines
Jobs
II
III
IV
12
11
IB (Column reduction)
Machines
Jobs
II
III
IV
11
II (Zero assignment)
Machines
Jobs
From
assigned
i.e., 4<5
we have
II
III
IV
11
the last table we see that all the zeros are either
or crossed out, but the total number of assignment,
(number of jobs to be assigned to machines). Therefore,
to follow step III and onwards as follows:
Step III
Machines
Jobs
II
III
IV
11
Step IV: Here, the smallest element among the uncovered elements
is 2.
104 :: Mathematics
(i)
(ii)
Jobs
II
III
IV
Jobs
II
III
IV
Example C:
Solve the minimal assignment problem whose effectiveness matrix
is given by
A
II
III
IV
Solution:
In order to find the proper assignment, we apply the Hungarian
method as follows:
Step I (A)
II
III
IV
II
III
IV
I(B)
Step II:
Since single zero neither exist in columns nor in rows, it is
usually easy to make zero assignments.
While examining rows successively, it is observed that row 4
has two zeros in both cells (4,1) and (4,4).
Now, arbitrarily make an experiemental assignment to one of
these two cells, say (4,1) and cross other zeros in row 4 and
column 1.
106 :: Mathematics
The tables given below show the necessary steps for reaching
the optimal assignment I B, II C, III D, IV A.
A
II
III
IV
II
III
IV
II
III
IV
Tasks
2.
II
III
IV
23
14
10
25
23
35
16
15
12
16
23
21
140
110
155
170
180
115
100
110
140
155
120
90
135
150
165
30
30
60
60
90
35
15
50
60
85
108 :: Mathematics
START
Row reduction
Column reduction
No
Is
zero assignment
possible
No
Is
Zero assignment
Possible
Yes
Yes
ASSIGNMENT
Put square over the
zero and cross out
all zeros (if any) of
the corresponding
column.
SOLUTION
Add the elements
of the given matrix
correspond to
each square
STOP
TERMINAL QUESTIONS
1. Solve the following assignment problems:
(a)
Workers
I
Jobs
II
III
IV
19
10
21
19
31
12
11
12
19
17
(b)
Persons
Jobs
II
III
IV
15
17
24
16
10
15
12
13
17
19
18
16
13
20
16
14
(c)
Persons
Jobs
26
17
11
II
14
29
27
III
40
21
20
17
IV
19
26
24
10
110 :: Mathematics
II
III
IV
10
11
10
11
11
10
11
II
III
IV
10
11
10
11
12
13
13
14
15
13
11
14
10
I A, II C, III B, IV D
2.
A e, B c, C b, D a, E d
min distance (km) = 180+110+90+30+60=470 km.
(a)
A I, B III, C II, D IV
(b)
(c)
I A, II C, III B, IV D
2.
A V, B I, C IV, D III, E II
3.