Professional Documents
Culture Documents
AP For B.Tech. (Mechanical)
AP For B.Tech. (Mechanical)
AP For B.Tech. (Mechanical)
(Special Method)
• Assignment Problems
and
problems
Assignment Problem
Jobs (Activities)
1 2 . . n
Cases
Persons (Resources)
1 C 11 C 12 . . C 1n
2 C 21 C 22 . . C 2n
.
. . . . .
.
. . . . .
n
C n1 . . . C nn
• Xij = assignment of ith resource to jth activity
• Assignments are made on one to one basis
Formulation of Assignment Problem as LPP
n n
Min Z = ∑∑ Cij .Xij
i =1 j =1
n
s/t ∑ Xij
j =1
=1 for all i − ( I )
∑ Xij
i =1
=1 for all j −( II )
3. Transportation Method
4. Hungarian Method
1. Enumeration Method
1 2
1 C11 C12
2
C21 C22
• No. of Possible solutions = 2! (=2)
• P1J1 , P2J2 OR P1J2 , P2J1
• For 4 x 4 Problem---- 4! = 24
• For 5 x 5 Problem----5! = 120
• For n x n Problem---- n!
2. Integer Programming Method
• All Xij = 0 or 1 → 0-1 Integer programming.
1 2 3
1 19 28 31
2 11 17 16
3 12 15 13
1 2 3
1 0 9 12
2
0 6 5
3
0 3 1
• Perform Column Deduction
Column Deduction Assign Zeros
Adopt Tick Marking
1 2 3
1 0 6 11
2 0 3 4
3 0 0 0
• Minimum uncrossed no = 3.
• Modify Numbers
1 2 3
1 0 3 8
2
0 0 1
3
3 0 0
• Hence optimal solution is
P1J1, P2J2, P3J3 giving Z = 19+17+13 = 49
Procedure of Assigning Zeros
Steps to be followed, after getting at-least one zero in each row &
each column.
1. Start with 1st row. If there is only one uncrossed, unassigned
zero, assign it & cross other zeros in respective column (of
assigned zero), if they exits, else go to next row. Repeat this for
next all other rows.
2. If still uncrossed, unassigned zeros are available, start with first
column. If there is only one uncrossed, unassigned zero, assign it
and cross other zeros in respective row of assigned zero, if they
exit, else go to next column. Repeat this for next all other columns.
3. Repeat 1 & 2 until single uncrossed, unassigned zeros are
available, while going through rows & columns.
4. If still multiple uncrossed, unassigned zeros are available while
going through rows & columns, it indicates that multiple
(alternative) optimal solutions are possible.
Assign any one remaining uncrossed, unassigned zero & cross
remaining zeros in respective row & column of assigned zero.
Then go to 1.
5. If required assignments are completed then STOP, else perform
“Tick Marking Procedure”. Modify numbers & go to 1.
Tick marking Procedure
3 . . . 0 0
4 . . . 0 0
Office
Delhi Mumbai Kolkata
Personnel Mr. X 1,600 2,200 2,400
Mr. Y 1,000 3,200 2,600
Mr. Z 1,000 2,000 4,600
UBMin (AP), after adding Chennai :
D M K Ch
D M K Ch
X 0 200 400 0
Y 0 1,800 1,200 200
Z 0 600 3,200 1,600
Dm 0 0 0 0
Modified Matrix and Assignment :
D M K Ch
X 200 0 200 0
Y 0 1,400 800 0
Z 0 200 2,800 1,400
Dm 6 00 0 0 200
1
2
3
4
Pij
5
2. 1/Pij = RCij
C1 C2 C3 C4
P1 60 100 90 95
P2 93 60 70 60
P3 75 85 60 90
P4 95 89 65 60
Balanced RC Matrix :
C1 C2 C3 C4
P1 40 0 10 5
P2 7 40 30 40
P3 25 15 40 10
P4 5 11 35 40
After Row Deduction :
C1 C2 C3 C4
P1 40 0 10 5
P2 0 33 23 33
P3 15 5 30 0
P4 0 6 30 35
After Column Deduction :
C1 C2 C3 C4
P1 40 0 0 5
P2 0 33 13 33
P3 15 5 20 0
P4 0 6 20 35
Assigning :
C1 C2 C3 C4
P1 40 0 0 5
P2 0 33 13 33
P3 15 5 20 0
P4 0 6 20 35
Modified Matrix and Assigning :
C1 C2 C3 C4
P1 46 0 0 5
P2 0 27 7 27
P3 21 5 20 0
P4 0 0 14 29
Giving Z = 90 + 93 + 90 + 89 = 362
D. Unbalanced Maximization Problem
Jobs (Activities)
1 2 3
Persons (Resources)
1
2
3
4
Pij
5
• Convert Unbalanced Profit Matrix into
Unbalanced Relative Cost Matrix
• Then Balance the matrix and solve
Prob. 4 Unbalanced Maximization Problem :
J1 J2 J3 J4
P1 62 78 50 101
P2 71 84 61 73
P3 87 111 92 71
Unbalanced RC Matrix :
J1 J2 J3 J4
P1 49 33 61 10
P2 40 27 50 38
P3 24 0 19 40
Balanced RC Matrix :
J1 J2 J3 J4
P1 49 33 61 10
P2 40 27 50 38
P3 24 0 19 40
D 0 0 0 0
After Row Deduction :
J1 J2 J3 J4
P1 39 23 51 0
P2 13 0 23 11
P3 24 0 19 40
D 0 0 0 0
Assigning :
J1 J2 J3 J4
P1 39 23 51 0
P2 13 0 23 11
P3 24 0 19 40
D 0 0 0 0
Modified Matrix and Assigning :
J1 J2 J3 J4
P1 39 34 51 0
P2 2 0 12 0
P3 13 0 8 29
D 0 11 0 0
Modified Matrix and Assigning :
J1 J2 J3 J4
P1 37 34 49 0
P2 0 0 10 0
P3 11 0 6 29
D 0 13 0 2
2 3 9 18 13 6
3 10 7 3 2 2
4 7 11 9 7 12
5 7 9 10 4 12
Jobs (Activities)
1 2 3 4 5
1
Persons (Resources)
5 0 8 10 11
2
0 6 15 10 3
3
8 5 1 0 0
4
5 0 4 2 0 5
3 5 6 0 8
• Minimum uncrossed Number = 1.
Jobs (Activities)
1 2 3 4 5
1 5 0 7 10 11
Persons (Resources)
2 0 6 14 10 3
3 8 5 0 0 0
4 0 4 1 0 5
5 3 5 5 0 8
Jobs (Activities)
1 2 3 4 5
1 6 0 7 11 11
Persons (Resources)
2 0 5 13 10 2
3 9 5 0 1 0
4 0 3 0 0 4
5 3 4 4 0 7
Jobs (Activities)
1 2 3 4
Persons (Resources)
1 4 7 5 6
− 8 7 4
2 3 − 5 3
3 6 6 4 2
4
After Row deduction
Jobs (Activities)
1 2 3 4
Persons (Resources)
1 0 3 1 2
Μ 4 3 0
2 0 Μ 2 0
3 4 4 2 0
4
After Column deduction
Jobs (Activities)
1 2 3 4
Persons (Resources)
1 0 0 0 2
Μ 1 2 0
2 0 Μ 1 0
4 1 1 0
3
4
Μ 0 1 0
2 0 Μ 1 1
3 3 0 0 0
4
• Hence, this is a case of alternative optimal solutions.
• Assign any one remaining zero and cross existing zeros
in respective row and column, then apply assigning
procedure.
• Hence, one of the optimal solutions is P1J2, P2J4, P3J1,
P4J3 giving Z = 7+4+3+4 = 18
To get another optimal solution, assign another remaining zero.
Jobs (Activities)
1 2 3 4
Persons (Resources)
1 0 0 0 3
Μ 0 1 0
2 0 Μ 1 1
3 3 0 0 0
4
P1J3 can not be assigned, as it is already assigned before.
• Hence, another optimal solution is P1J3, P2J2, P3J1,
P4J4 giving Z = 5+8+3+2 = 18
Typical Cases in Assignment Problems
. Restriction in Assignment.
e.g. Assignment of P3 to J4 is not possible.
Then C34 = M (Big Number)
. Alternative Optimal Solution Possibility
-Already considered.
. Particular assignment is prefixed.
e.g. If P3 & J4 prefixed
Then Row3 & Column4 are deleted.
Typical
Questions
Que. Answer each of the following questions in brief.
X Y Z
A 3 2 2
B 6 5 5
C 6 1 1
X Y Z X Y Z
A 3 2 2 A 1 0 0
B 6 5 5 B 1 0 0
C 6 1 1 C 5 0 0
X Y Z X Y Z
A 0 0 0 A 0 0 0
B 0 0 0 B 0 0 0
C 4 0 0 C 4 0 0
X Y Z X Y Z
A 0 0 0 A 0 0 0
B 0 0 0 B 0 0 0
C 4 0 0 C 4 0 0
J1 J2 J3
P1 2 4 3
P2 5 6 6
P Q
A 2 5
B 6 4
[ 5 ] Find optimal assignments for following
“Minimization Assignment Problem”.
J1 J2 J3
P1 −10 −10 −12
P2 −18 −6 −14
P3 −6 −2 −2
[ 6 ] Average time taken by operators on 4 old machines
and a new machine are tabulated below.
Management is considering to replace one of the old
machines by a new machine. Is it advantageous to
replace new machine with an old machine ? Why ?
M1 M2 M3 M4 New
O1 10 12 8 10 11
O2 9 10 8 7 10
O3 8 7 8 8 8
O4 12 13 14 14 11
[ 7 ] Consider the problem of assigning four operators
to four machines. The assignment costs are given
in Rupees. Operator 1 cannot be assigned to
machine 3. Also operator 3 cannot be assigned to
machine 4. Find the optimal assignment.
M1 M2 M3 M4
1 5 5 − 2
2 7 4 2 3
3 9 3 5 −
4 7 2 6 7
P1 P2 P3
P 42 16 27
Q 48 40 25
R 50 18 36
S 58 38 60
[9] Minimization Problem :
J1 J2 J3 J4
P1 20 22 28 15
P2 16 20 12 13
P3 19 23 14 25
P4 10 16 12 10
[ 10 ] Minimization Problem :
J1 J2 J3 J4
P1 10 24 30 15
P2 16 22 28 12
P3 12 20 32 10
P4 9 26 34 16
Thank you
For any Query or suggestion :
Contact :
Dr. D. B. Naik
Professor & Head, Training & Placement (T&P)
S. V. National Institute of Technology (SVNIT),
Ichchhanath, Surat – 395 007 (Gujarat) INDIA.
Email ID : dbnaik@gmail.com
dbnaik@svnit.ac.in
dbnaik_svr@yahoo.com