The Assignment Problem
The Assignment Problem
Suppose there are n-jobs for a factory and has n-machines to process the jobs. A job i (i=1,2,…
n ) when processed by machine j ( j=1,2,…n) is assumed to incur a cost c ij .The assignment is
to be made in such a way that each job can associate with one and only one machine.
Determine an assignment of jobs to machines so as to minimize the overall cost.
MATHEMATCAL FORMULATION
We can define xij = 0, if the ith job not assigned to jth machine.
= 1 , if the ith job is assigned to jth machine.
Step (1). Determine the effectiveness matrix. Subtract the minimum element of each row of the
given cost matrix from all of the elements of the row. Examine if there is at least one zero in
each row and in each column. If it is so, stop here, otherwise subtract the minimum element of
each column from all the elements of the column. The resulting matrix is the starting
effectiveness matrix.
Step (3). Check for Optimality. Repeat step 2 successively till one of the following occurs.
(a). There is no row and no column without assignment. In such a case, the current assignment
is optimal.
(b). There may be some row or column without an assignment. In this case the current solution
is not optimal. Proceed to next step.
Step (4). Draw minimum number of lines crossing all zeroes as follows. If the number of lines
is equal to the order of the matrix, then the current solution is optimal, otherwise it is not
optimal. Go to the next step>
Step (5). Examine the elements that do not have a line through them. Select the smallest of
these elements and subtract the same from all the elements that do not have a line through
them, and add this element to every element that lies in the intersection of the two lines.
When the cost matrix of an assignment problem is not a square matrix, i.e; number of
sources is not equal to the number of destinations, the assignment problem is called an
unbalanced assignment problem. In such problems, dummy rows or columns are added in the
matrix so as to complete it to form a square matrix.