Assignment and Transportation Problrm
Assignment and Transportation Problrm
The assignment problem can be stated as a problem where different jobs are to be
assigned to different machines on the basis of the cost of doing these jobs. The
objective is to minimize the total cost of doing all the jobs on different machines
The peculiarity of the assignment problem is only one job can be assigned to one
machine i.e., it should be a one-to-one assignment
The cost data is given as a matrix where rows correspond to jobs and columns to
machines and there are as many rows as the number of columns i.e. the number of
jobs and number of Machines should be equal
Assignment becomes a problem because each job requires different skills and the
capacity or efficiency of each person with respect to these jobs can be different.
This gives rise to cost differences. If each person is able to do all jobs equally
efficiently then all costs will be the same and each job can be assigned to any
person.
OR
MMS
Unbalanced assignment 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.
OR
MMS
Transportation
Problem
Complete
Enumeration
Simplex Method
Hungarian method
OR
MMS
OR
MMS
Step 1:
Determine the opportunity cost table
Step 2:
Determine the possibility of an optimal assignment
Step 3
Modify the second reduced cost table
Step 4:
Make the optimum assignment
Step 1:
Determine the opportunity cost tableI
Locate the smallest cost in each row and subtract it from each cost figure in that
row. This would result in at least one zero in each row. The new table is called
reduced cost table.
Locate the lowest cost in each column of the reduced cost table subtract this
figure from each cost figure in that column. This would result in at least one zero
in each row and each column, in the second reduced cost table.
Step 2:
Determine the possibility of an optimal assignment:
OR
MMS
Draw minimum number of straight lines vertical and horizontal, to cover all the
zero elements in the second reduced cost table. One cannot draw a diagonal
straight line. The aim is that the number of lines (N) to cover all the zero
elements should be minimum. If the number of lines is equal to the number of
rows (or columns) (n) i.e N=n it is possible to find optimal assignment .
Example :for a 3 x 3 assignment table we need 3 straight lines which cover all the
zero elements in the second reduced cost table. If the number of lines is less than
the number of rows (columns) N < n optimum assignment cannot be made. we
then move to the next step.
Step 3:
Modify the second reduced cost table:
Select the smallest number in the table which is not covered by the lines. Subtract
this number from all uncovered numbers aswell as from itself.
Add this number to the element which is at the intersection of any vertical and
horizontal lines.
Draw minimum number of lines to cover all the zeros in the revised opportunity
cost table.
MMS
Step 4:
Make the optimum assignment:
If the assignment table is small in size it is easy to make assignment after step 3.
However, in case of large tables it is necessary to make the assignments systematically.
So that the total cost is minimum. To decide optimum allocation.
Select a row or column in which there is only one zero element and encircle it
Assign the job corresponding to the zero element i.e. assign the job to the circle
with zero element. Mark a X in the cells of all other zeros lying in the column
(row) of the encircled zero. So that these zeros cannot be considered for next
assignment.
Again select a row with one zero element from the remaining rows or columns.
Make the next assignment continue in this manner for all the rows.
Repeat the process till all the assignments are made i.e. no unmarked zero is left.
now we will have one encircled zero in each row and each column of the cost
matrix. The assignment made in this manner is Optimal.
Calculate the total cost of assignment from the original given cost table.
Maximization method
In order to solve a maximization type problem we find the regret values instead of
opportunity cost. the problem can be solved in two ways
OR
MMS
The first method is by putting a negative sign before the values in the assignment
matrix and then solves the sum as a minimization case using Hungarian methods
as shown above.
Second method is to locate the largest value in the given matrix and subtract each
element in the matrix from this value. Then one can solve this problem as a
minimization case using the new modified matrix.
Hence there are mainly four methods to solve assignment problem but the most efficient
and most widely used method is the Hungarian method
Q5 ) Note on Traveling Salesmen problem.
OR
MMS
MMS
aggregate demand
aggregate supply
(i)
(ii)
Such problems are called unbalanced problems. It is necessary to balance them before
they are solved.
Balancing the transportation problem
In such a case the excess supply is, assumed to go to inventory and costs nothing for
shipping(transporting). This type of problem is balanced by creating a fictitious
destination. This serves the same purpose as the slack variable in the simplex/method A
column of slack variables is added to the transportation tableau which represents a
dummy destination with a requirement equal to the amount of excess supply and the
transportation cost equal to zero. This problem can now be solved using the usual
transportation methods.
OR
MMS
Strikes in certain
Unfavorable
weather
region
conditions
on
Entry restriction.
particular route
(i)
(ii)
(iii)
Entry restriction.
OR
MMS
Initial stage
When in the initial solution the number of occupied cells is less than
m+n1
Degeneracy may appear subsequently when two or more cells are vacated
simultaneously in the process of transferring the units, along the closed loop to
obtain an optimal solution.
When transportation problem becomes degenerate
When transportation problem becomes degenerate it cannot be tested for
optimality because it is impossible to compute u and, v values with MODI method. To
overcome the problem of insufficient number of occupied cell we proceed by assigning
OR
MMS
Step 1:
Check whether the given T.P. is balanced or not
Step 2:
Develop initial feasible solution by any of the five methods
Step 1:
Check whether the given T.P. is balanced or not. If it is unbalanced then balance it by
adding a row or a column.
Step 2:
Develop initial feasible solution by any of the five methods:
a) North West Corner Rule (NWCR) or South West Corner Rule (SWCR)
OR
MMS
We discuss here the two commonly used methods to make initial assignments
(1) Northwest corner rule
OR
MMS
OR
MMS
Step 1:
Add a column u to the RHS of the transportation tableau and a
row v at the bottom of the tableau.
Step 2:
Assign, arbitrarily, any value to u or v generally u = 0.
Step 3
Having determined u1 and v calculate ij = (u1 + v1) for every
unoccupied cell.
Step 4:
If the solution is not optimal select the cell with largest positive
improvement index.
Step 5:
Test the solution again for optimality and improve fit if necessary
OR
MMS
Step I:
Add a column u to the RHS of the transportation tableau and a row v at the bottom of the
tableau.
Step 2:
Assign, arbitrarily, any value to u or v generally u = 0. This method of assigning values
to u1 and v1 is workable only if the initial solution is non-degenerate i.e., for a table there
are exactly m + n -1 occupied cells.
Step 3:
Having determined u1 and v calculate ij = (u1 + v1) for every unoccupied cell. This
represents the net cost change or improvement index of these cells
(1) If all the empty cells have negative net cost change ij, the solution is optimal and
unique
(2) If an empty cell has a zero Xij and all other empty cells have negative Xij the solution
is optimal but not unique.
(3) If the solution has positive Ai for one or more empty cells the solution is not optimal.
Step 4:
If the solution is not optimal select the cell with largest positive improvement index.
Then trace a closed loop and transfer the units along the route.
Tracing loop (closed path):
1) Choose the unused square to be evaluated.
(2) Beginning with the selected unused square trace a loop via used squares back to the
original unused squares. Only one loop exists for any unused square in a given solution.
OR
MMS
OR
MMS
11) What are the differences between assignment problem and transportation
problem?
The differences between AP and TP are the following:
1. TP has supply and demand constraints while AP does not have the same.
2. The optimal test for TP is when all cell evaluation \s are greater than or equal to
zero whereas in AP the number of lines must be equal to the size of matrix.
3. A TP sum is balanced when demand is equal to supply and an AP sum is balanced
when number of rows are equal to the number of columns.
4. for AP. We use Hungarian method and for transportation we use MODI method
5. In AP. We have to assign different jobs to different entities while in transportation
we have to find optimum transportation cost.
Q12) What are the advantages and disadvantages of LPP?
A LPP is concerned with the use of allocation of resources such as time, capital,
materials, etc.
THE ADVANTAGES LPP ARE:
1. It helps the sale manager to negotiate prices with customers. He can price on the basis
of customer demand and price on the basis of supply and demand of them market.
2. Production manager can formulate optimal maximum product mix.
3. it helps manager improve his decision making abilities.
4. it helps make the best decision for cost minimization and profit maximization.
THE DISADVANTAGES OF LPP ARE:
1. A primary requirement for LPP is the objective function and every consistent must be
linear. In practical situation it is not possible to state all coefficients in the objective
function and constraints with certainty.
2. There is no guarantee that LPP will give an integer value solution.
OR
MMS
OR
MMS