Lesson 19 Assignment Problem
Lesson 19 Assignment Problem
Learning Objective :
Introduction
In the world of trade Business Organisations are
confronting the conflicting need for optimal utilization of
their limited resources among competing activities. When
the information available on resources and relationship
between variables is known we can use LP very reliably.
The course of action chosen will invariably lead to optimal
or nearly optimal results. The problems which gained much
importance under LP are :
1
Although assignment problem can be solved using
either the techniques of Linear Programming or the
transportation method, the assignment method is much
faster and efficient. This method was developed by D.
Konig, a Hungarian mathematician and is therefore known
as the Hungarian method of assignment problem. In order
to use this method, one needs to know only the cost of
making all the possible assignments. Each assignment
problem has a matrix (table) associated with it. Normally,
the objects (or people) one wishes to assign are expressed
in rows, whereas the columns represent the tasks (or
things) assigned to them. The number in the table would
then be the costs associated with each particular
assignment. It may be noted that the assignment problem
is a variation of transportation problem with two
characteristics.(i)the cost matrix is a square matrix, and
(ii)the optimum solution for the problem would be such that
there would be only one assignment in a row or column of
the cost matrix .
2
In assigning police vehicles to patrolling areas.
Jobs
Persons j1 j2 ------ jn
I1 X11 X12 ----- X1n
I2 X21 X22 ----- X2n
--- ----- ---- ----- -----
In ----- ---- ----- Xnn
n n
Z = ∑ ∑ Cij Xij
i=1 j=1
n
∑ Xij = 1 for all i (activity requirement)
i=1
Solution Methods
The assignment problem can be solved by the following four
methods :
3
Enumeration method
Simplex method
Transportation method
Hungarian method
1. Enumeration method
2. Simplex method
3. Transportation method
4.Hungarian method
Algorithms for Solving
4
There are various ways to solve assignment problems.
Certainly it can be formulated as a linear program (as we saw
above), and the simplex method can be used to solve it. In
addition, since it can be formulated as a network problem, the
network simplex method may solve it quickly.
Step 3. Locate the smallest element in each row of the given cost
matrix and then subtract the same from each element of the row.
Step 5. In the modified matrix obtained in the step 4, search for the
optimal assignment as follows:
(a) Examine the rows successively until a row with a single zero
is found. Enrectangle this row ( )and cross off (X) all other
zeros in its column. Continue in this manner until all the rows
have been taken care of.
(b) Repeat the procedure for each column of the reduced matrix.
(c) If a row and/or column has two or more zeros and one cannot
be chosen by inspection then assign arbitrary any one of
these zeros and cross off all other zeros of that row / column.
(d) Repeat (a) through (c) above successively until the chain of
assigning ( ) or cross (X) ends.
5
Step 6. If the number of assignment ( ) is equal to n (the order of
the cost matrix), an optimum solution is reached.
(b)Subtract this element from all uncovered elements and add the
same to all the elements laying at the intersection of any two lines.
6
START
IS IT A BALNCED
CASE ? NO ADD DUMMY COLUMNS OR
ROWS TO BALANCE IT.
YES