Assignmentproblem 141030113543 Conversion Gate01
Assignmentproblem 141030113543 Conversion Gate01
PROBLEM
Anggy Herny Anggraeni
13030214016
Mathematics 2013-B
Standard Assignment
Problems
Consider a machine shop with M machine and J
job where M=N
Xji = 1 if job j is assigned to machine i otherwise
0
Since each machine is assigned exactly to one
job, we have
for i = 1,2,...,n
Similiary each job is assigned exactly to one
machine
for j = 1,2,...,n
Nonstandard Assignment
Problem
Consider a machine shop with M machines
and J jobs where M ≠ J.
If more machines than jobs
(M > J)
or
If more jobs than machines
(M < J)
STEPS OF HUNGARIAN
METHOD
STEP 1 : reduce all element of rows with the
smallest element of each row.
STEP 2 : if there is zero more than one on
the row, then do step one of the
coloumn that don’ t have zero.
STEP 3 : if there is job that doesn’t have pair,
then we search it with close the row
and coloumn which have zero. After
that do step one and add the minimal
value on the intersection of row and
coloumn.
Find the optimal assignment of four jobs
and four machines when the cost of
assignment is given by the following table
J1 J2 J3 J4
M1 10 9 8 7
M2 3 4 5 6
M3 2 1 1 2
M4 4 3 5 6
Find less costs from the rows
J1 J2 J3 J4
M1 10 9 8 7
M2 3 4 5 6
M3 2 1 1 2
M4 4 3 5 6
This produces the following cost
matrix
J1 J2 J3 J4
M1 3 2 1 0
M2 0 1 2 3
M3 1 0 0 1
M4 1 0 2 3
J1 J2 J3 J4
M1 3 2 1 0
M2 0 1 2 3
M3 1 0 0 1
M4 1 0 2 3
J1 J2 J3 J4
M1 10 9 7 8
M2 5 8 7 7
M3 5 4 6 5
M4 2 3 4 5
First the minimum element in each row
is subtracted from all the moments in
that row. This gives the followin
reduced-cost matrix.
J1 J2 J3 J4
M1 10 9 7 8
M2 5 8 7 7
M3 5 4 6 5
M4 2 3 4 5
First the minimum element in each row
is subtracted from all the moments in
that row. This gives the followin
reduced-cost matrix.
J1 J2 J3 J4
M1 3 2 0 1
M2 0 3 2 2
M3 1 0 2 1
M4 0 1 2 3
Since both the machines M2 and M4
have zero cost corresponding to job J1
only, a feasible assignment using only
cells with zero costs is not possible.
J1 J2 J3 J4
M1 3 2 0 1
M2 0 3 2 2
M3 1 0 2 1
M4 0 1 2 3
To get additional zeros subtract the
minimum element in the fourth column
from all the elements in that column.
J1 J2 J3 J4
M1 3 2 0 1
M2 0 3 2 2
M3 1 0 2 1
M4 0 1 2 3
To get additional zeros subtract the
minimum element in the fourth column
from all the elements in that column.
J1 J2 J3 J4
M1 3 2 0 1
M2 0 3 2 2
M3 1 0 2 1
M4 0 1 2 3
To get additional zeros subtract the
minimum element in the fourth column
from all the elements in that column.
J1 J2 J3 J4
M1 3 2 0 0
M2 0 3 2 1
M3 1 0 2 0
M4 0 1 2 2
The machines M2 and M4 have zero cost
corresponding to job J1 only
J1 J2 J3 J4
M1 3 2 0 0
M2 0 3 2 1
M3 1 0 2 0
M4 0 1 2 2
The procedure draws a minimum number
of lines through some selected rows and
columns in such a way that all the cells
with zero costs are covered by the lines.
J1 J2 J3 J4
M1 3 2 0 0
M2 0 3 2 1
M3 1 0 2 0
M4 0 1 2 2
Reduce with the minimum element not
covered with lines on matrix
J1 J2 J3 J4
M1 3 2 0 0
M2 0 3 2 1
M3 1 0 2 0
M4 0 1 2 2
Reduce with the minimum element not
covered with lines on matrix
J1 J2 J3 J4
M1 3 2 0 0
M2 0 3 2 1
M3 1 0 2 0
M4 0 1 2 2
The procedure draws a minimum
number of lines through some selected
rows and columns in such a way that all
the cells with zero costs are covered by
the lines.
J1 J2 J3 J4
M1 3 2 0 0
M2 0 2 1 0
M3 1 0 2 0
M4 0 0 1 1
Then add this number to all those
covered elements that are at the
intersection of two lines.
J1 J2 J3 J4
M1 3 2 0 0
M2 0 2 1 0
M3 1 0 2 0
M4 0 0 1 1
Then add this number to all those
covered elements that are at the
intersection of two lines.
J1 J2 J3 J4
M1 4 2 0 0
M2 0 2 1 0
M3 2 0 2 0
M4 0 0 1 1
J1 J2 J3 J4
M1 4 2 0 0
M2 0 2 1 0
M3 2 0 2 0
M4 0 0 1 1
J1 J2 J3 J4 J5
M1 10 11 4 2 8
M2 7 11 10 14 12
M3 5 6 9 12 14
M4 13 15 11 10 7
Make 1 row for M5 with zero costs
J1 J2 J3 J4 J5
M1 10 11 4 2 8
M2 7 11 10 14 12
M3 5 6 9 12 14
M4 13 15 11 10 7
M5 0 0 0 0 0
Find less costs from every rows
J1 J2 J3 J4 J5
M1 10 11 4 2 8
M2 7 11 10 14 12
M3 5 6 9 12 14
M4 13 15 11 10 7
M5 0 0 0 0 0
The machines M2 and M4 have zero cost
corresponding to job J1 only
J1 J2 J3 J4 J5
M1 8 9 2 0 6
M2 0 4 3 7 5
M3 0 1 4 7 9
M4 6 8 4 3 0
M5 0 0 0 0 0
To get additional zeros subtract the
minimum element in the second and
third column from all the elements in that
column.
J1 J2 J3 J4 J5
M1 8 9 2 0 6
M2 0 4 3 7 5
M3 0 1 4 7 9
M4 6 8 4 3 0
M5 0 0 0 0 0
To get additional zeros subtract the
minimum element in the second and third
column from all the elements in that
column.
J1 J2 J3 J4 J5
M1 8 9 2 0 6
M2 0 4 3 7 5
M3 0 1 4 7 9
M4 6 8 4 3 0
M5 0 0 0 0 0
To get additional zeros subtract the
minimum element in the second and third
column from all the elements in that
column.
J1 J2 J3 J4 J5
M1 8 8 0 0 6
M2 0 3 1 7 5
M3 0 0 2 7 9
M4 6 7 2 3 0
M5 0 0 0 0 0
J1 J2 J3 J4 J5
M1 8 8 0 0 6
M2 0 3 1 7 5
M3 0 0 2 7 9
M4 6 7 2 3 0
M5 0 0 0 0 0