Assignment Problem in Operational Research
Assignment Problem in Operational Research
Consider an assignment problem of assigning n jobs to n machines (one job to one machine).
Let c ij be the unit cost of assigning i th machine to the j th job and, i th machine to j th job.
n n
Minimize Z = ∑ ∑ c ij x ij
i=1 j=1
subject to the constraints
n
∑ x ij = 1, j= 1,2,…,n
i=1
∑ x ij = 1, i= 1,2,…,n
j=1
x ij = 0 or 1.
[ ]
c11 ⋯ c 1n
⋮ ⋱ ⋮
c m 1 ⋯ c mn
Comparison with Transportation problem
1 Supply at any source may be any Supply at any source (machine) will be 1.
positive quantity ai. i.e., a i=1.
2 Demand at any destination may be any Demand at any destination (job) will be 1.
positive bj. i.e., b j = 1.
3 One or more source to any number of One source (machine) to only one
destinations. destination (job).
A balanced assignment problem is one where the number of rows = the number of columns
(comparable to a balanced transportation problem where total demand = total supply
Unbalanced assignment problem is one when the number of rows not equal to the number of
columns and vice versa. E.g. The number of machines may be more than the number of jobs
or the number of jobs may be more than the number of machines.
In such a situation we introduce dummy row/column(s) in the matrix. These rows or columns
have a zero cost element. Thus we can balance the problem and then use Hungarian method
to find optimal assignment.
To solve this type of problem of restriction on job assignment we will have to assign a very
high cost M. This ensures that restricted or impractical combination does not enter the
optimal assignment plan which aims at minimization of total cost.
Solution methods
1. Enumeration method
2. Simple method
3. Transportation method
4. Hungarian method
1. Enumeration method
This method can be used in case of assignment problems of small size. In such cases a
complete enumeration and evalution of all combinations of persons and jobs is possible.
One can select the optimal combination. We may also come across more than one optimal
combination. The number of combinations increases manifold as the size of the problem
increases as the total number of possible combinations depends on the number of say, jobs,
and machines. Hence the use of enumeration method is not feasible in real world cases.
2. Simplex method
The assignment problem can be formulated as a linear programming problem and hence can
be solved by using simplex method. However solving the problem using simplex method can
be a tedious job.
3. Transportation method
4. Hungarian method
This method is based on the concept of opportunity cost and is more efficient in solving
assignment problems.
As we are using the concept “opportunity this means that the cost of any opportunity that is
lost while taking a particular decision or action is taken into account while making
assignment. Given below are the steps involved to solve an assignment roblem by using
Hungarian method.
Step 1:
Determine the opportunity cost table
Locate the smallest cost in each row and subtract it from each cost figure in that row. This