SlideShare a Scribd company logo
1 of 20
Download to read offline
ASSIGNMENT PROBLEM
1. Gurmeet Singh, Roll No: 9
2. Jyoti Singh, Roll No: 10
3. Nakul Bhardwaj, Roll No: 15
4. Prakalp Vora, Roll No: 17
5. Vicky Shah, Roll No: 31
6. Yashwant Kharat, Roll No: 34
WHAT IS ASSIGNMENT PROBLEM ?
• Assignment problem refers to special class of linear
programming problems that involves determining the most
efficient assignment of people to projects, salespeople to
territories, contracts to bidders and so on.
• It is often used to minimize total cost or time of performing
task.
• One important characteristic of assignment problems is
that only one job (or worker) is assigned to one machine
(or project).
WHAT IS ASSIGNMENT PROBLEM ?
• Each Assignment problem has a Matrix associated with it.
• The number in the table indicates COST associated with
the assignment.
• The most efficient linear programming algorithm to find
optimum solution to an assignment problem is Hungarian
Method (It is also know as Flood’s Technique).
ASSIGNMENT PROBLEM USING HUNGARIAN METHOD
• The Hungarian method is a combinatorial
optimization algorithm that solves the assignment
problem in polynomial time and which anticipated
later primal-dual methods.
• It was developed and published in 1955 by Harold
Kuhn, who gave the name "Hungarian method"
because the algorithm was largely based on the earlier
works of two Hungarian mathematicians: Denes Konig
and Jeno Egervary.
REQUIREMENTS OF DUMMY ROWS AND
COLUMN
• To arrive at the solution, assignment problems requires
equal number of Row and Column.
• If the number of task that needs to be done exceeds the
number of resource available, dummy row or a column
just needs to be added as the case may be.
• This creates a table of equal dimensions.
• The dummy row or column is non existent . Hence the
value can be entered as Zeros.
Case Study:
A company has a five job to be done by 5 workers each
worker are assigned to one and only one job. Number of
hours each worker takes to complete a job is given with
A J1 J2 J3 J4 J5
W1 28 27 24 35 38
W2 26 24 23 32 39
W3 18 20 22 30 32
W4 27 30 25 24 27
W5 29 31 28 40 36
Step 1:
Find the minimum element in each row and subtract it from
all the elements of that particular row.
ROW SUBTRACTION
A J1 J2 J3 J4 J5
W1 4 (28-24) 3 (27-24) 0 (24- 24) 11(35-24) 14(38-24)
W2 3 (26-23) 1 (24-23) 0 (23-23) 9 (32-23) 16 (39-23)
W3 0(18-18) 2(20-18) 4(22-18) 12 (30-18) 14 (32-18)
W4 3(27-24) 6 (30-24) 1 (25-24) 0 (24-24) 3 (27-24)
W5 1 (29-28) 3 (31-28) 0 (28-28) 12 (40-28) 8 (36-28)
Step 2:
Find the minimum element in each column and subtract
it from all the elements of that particular column.
COLUMN SUBTRACTION
BRAND M1 M2 M3 M4 M5
B1 4 (4-0) 2 (3-1) 0 (0-0) 11 (11-0) 11 (14-3)
B2 3 (3-0) 0 (1-1) 0 (0-0) 9 (9-0) 13 (16-3)
B3 0 (0-0) 1 (2-1) 4 (4-0) 12 (12-0) 11 (14-3)
B4 3 (3-0) 5 (6-1) 1 (1-0) 0 (0-0) 0 (3-3)
B5 1(1-0) 2 (3-1) 0 (0-0) 12 (12-0) 5 (8-3)
Remark: Step 1 and 2 creates at least one Zero ‘0’ in
each row and Column.
Step 3:
Starting from 1st
row, if there is exact one zero, make an
assignment and cancel all Zero's in that column and then
draw a vertical line. Similarly, starting from 1st
column, if
there is exact one zero, make an assignment and cancel all
zero’s in that row, and then draw a horizontal line.
Continue this step till all zero’s are an assignment or
Cancelled.
J1 J2 J3 J4 J5
W1 4 2 0 11 11
W2 3 0 0 9 13
W3 0 1 4 12 11
W4 3 5 1 0 0
W5 1 2 0 12 5
Step 3 (Continued):
If optimal assignment is not formed go to step 4
i.e. There should be 5 straight lines.
J1 J2 J3 J4 J5
W1 4 2 0 11 11
W2 3 0 0 9 13
W3 0 1 4 12 11
W4 3 5 1 0 0
W5 1 2 0 12 5
Step 4:
Ensure all zero’s ‘0’ are covered with minimum one line.
Find the minimum element not covered by any line (in this
sum “5” is the minimum element not covered by any line).
J1 J2 J3 J4 J5
W1 4 2 0 11 11
W2 3 0 0 9 13
W3 0 1 4 12 11
W4 3 5 1 0 0
W5 1 2 0 12 5
Step 5: Subtract the element (i.e. 5) from the elements not
covered by the line. Also add the same element (i.e. 5) to the
elements which are at the intersections.
J1 J2 J3 J4 J5
W1 4 2 0 6 (11-5) 6 (11-5)
W2 3 0 0 4 (9-5) 8 (13-5)
W3 0 1 4 7 (12-5) 6 (11-5)
W4 8 (3+5) 10 (5+5) 6 (1+5) 0 0
W5 1 2 0 7 (12-5) 0 (5-5)
Follow step 3. Cover all zero's with straight lines again
Since five lines are needed, an optimal assignment can be
made.
Assign:
J1 – W3. 18
J2 – W2. 24
J3 – W1. 24
J4 – W4. 24
J5 – W5. 36
Minimum Total Time in hours = 126 Hours.
J1 J2 J3 J4 J5
W1 4 2 0 6 6
W2 3 0 0 4 8
W3 0 1 4 7 6
W4 8 10 6 0 0
W5 1 2 0 7 0
Assign:
J1 – W3 18
J2 – W2 24
J3 – W1 24
J4 – W4 24
J5 – W5 36
Minimum Total Time = 126 Hours.
Hence, the optimum solution is UNIQUE.
MAXIMISATION PROBLEM
• Assignment problems can also be used solve cases of
maximization model.
• For instance, Travelling Salesman problem, milk van
routings and so on.
• Problem can be solved by first subtracting the biggest
element in the problem from all other elements (i.e.
converting cost table in to opportunity loss table.).
• Later steps, are similar as the minimization problem.
SUMMARY
• Assignment problem deals with the problem of assigning
jobs to machines or men to jobs which are to be performed
with varying efficiency.
• It can be used to solve cases of Travelling Salesman
problem.
• It is basically a minimizing model but it can be used to
solve cases of maximization by converting cost table in to
opportunity loss table.
DRAWBACK OF ASSIGNMENT
PROBLEM
• 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.
• When assignment is a problem it becomes a typical optimization problem it can
therefore be compared to a transportation problem. The cost elements are given
and is a square matrix and requirement at each destination is one and
availability at each origin is also one.
• In addition we have number of origins which equals the number of destinations
hence the total demand equals total supply . There is only one assignment in
each row and each column .However If we compare this to a transportation
problem we find that a general transportation problem does not have the above
mentioned limitations. These limitations are peculiar to assignment problem
only.
THANK YOU!

More Related Content

Similar to qadm-ppt-150918102124-lva1-app6892.pdf

Assignment problem
Assignment problemAssignment problem
Assignment problem
Abu Bashar
 

Similar to qadm-ppt-150918102124-lva1-app6892.pdf (20)

Assignment Chapter - Q & A Compilation by Niraj Thapa
Assignment Chapter  - Q & A Compilation by Niraj ThapaAssignment Chapter  - Q & A Compilation by Niraj Thapa
Assignment Chapter - Q & A Compilation by Niraj Thapa
 
Hungarian Assignment Problem
Hungarian Assignment ProblemHungarian Assignment Problem
Hungarian Assignment Problem
 
Assignment Poblems
Assignment Poblems Assignment Poblems
Assignment Poblems
 
Decision Science.pdf
Decision Science.pdfDecision Science.pdf
Decision Science.pdf
 
Unit ii-3-am
Unit ii-3-amUnit ii-3-am
Unit ii-3-am
 
Quantitativeanalysisfordecisionmaking 13427543542352-phpapp02-120719222252-ph...
Quantitativeanalysisfordecisionmaking 13427543542352-phpapp02-120719222252-ph...Quantitativeanalysisfordecisionmaking 13427543542352-phpapp02-120719222252-ph...
Quantitativeanalysisfordecisionmaking 13427543542352-phpapp02-120719222252-ph...
 
Qa 2
Qa 2Qa 2
Qa 2
 
Chapter 1 Assignment Problems (DS) (1).pptx
Chapter 1 Assignment Problems (DS) (1).pptxChapter 1 Assignment Problems (DS) (1).pptx
Chapter 1 Assignment Problems (DS) (1).pptx
 
A study on solving Assignment Problem
A study on solving Assignment ProblemA study on solving Assignment Problem
A study on solving Assignment Problem
 
Assignment model
Assignment modelAssignment model
Assignment model
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
Linear Programing.pptx
Linear Programing.pptxLinear Programing.pptx
Linear Programing.pptx
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
Solving ONE’S interval linear assignment problem
Solving ONE’S interval linear assignment problemSolving ONE’S interval linear assignment problem
Solving ONE’S interval linear assignment problem
 
Assignment Problem
Assignment ProblemAssignment Problem
Assignment Problem
 
Assignment method
Assignment methodAssignment method
Assignment method
 
6. assignment problems
6. assignment problems6. assignment problems
6. assignment problems
 
Operations research : Assignment problem (One's method) presentation
Operations research : Assignment problem (One's method) presentationOperations research : Assignment problem (One's method) presentation
Operations research : Assignment problem (One's method) presentation
 
Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem
 
Hungarian algorithm
Hungarian algorithmHungarian algorithm
Hungarian algorithm
 

More from Hari31856 (8)

GUIDANCE AND COUNSELLING-WPS Office.ppt
GUIDANCE AND COUNSELLING-WPS Office.pptGUIDANCE AND COUNSELLING-WPS Office.ppt
GUIDANCE AND COUNSELLING-WPS Office.ppt
 
ashish-151017061011-lva1-app6892.pptx
ashish-151017061011-lva1-app6892.pptxashish-151017061011-lva1-app6892.pptx
ashish-151017061011-lva1-app6892.pptx
 
laxmi (1).pptx
laxmi (1).pptxlaxmi (1).pptx
laxmi (1).pptx
 
laxmi.pptx
laxmi.pptxlaxmi.pptx
laxmi.pptx
 
QuasiExperiments.ppt
QuasiExperiments.pptQuasiExperiments.ppt
QuasiExperiments.ppt
 
laxmidhar.pptx
laxmidhar.pptxlaxmidhar.pptx
laxmidhar.pptx
 
ସମାସ.pptx
ସମାସ.pptxସମାସ.pptx
ସମାସ.pptx
 
CLASS 6 PPT KNOWING OUR NUMBERS.ppt
CLASS 6 PPT KNOWING OUR NUMBERS.pptCLASS 6 PPT KNOWING OUR NUMBERS.ppt
CLASS 6 PPT KNOWING OUR NUMBERS.ppt
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

qadm-ppt-150918102124-lva1-app6892.pdf

  • 1.
  • 2. ASSIGNMENT PROBLEM 1. Gurmeet Singh, Roll No: 9 2. Jyoti Singh, Roll No: 10 3. Nakul Bhardwaj, Roll No: 15 4. Prakalp Vora, Roll No: 17 5. Vicky Shah, Roll No: 31 6. Yashwant Kharat, Roll No: 34
  • 3. WHAT IS ASSIGNMENT PROBLEM ? • Assignment problem refers to special class of linear programming problems that involves determining the most efficient assignment of people to projects, salespeople to territories, contracts to bidders and so on. • It is often used to minimize total cost or time of performing task. • One important characteristic of assignment problems is that only one job (or worker) is assigned to one machine (or project).
  • 4. WHAT IS ASSIGNMENT PROBLEM ? • Each Assignment problem has a Matrix associated with it. • The number in the table indicates COST associated with the assignment. • The most efficient linear programming algorithm to find optimum solution to an assignment problem is Hungarian Method (It is also know as Flood’s Technique).
  • 5. ASSIGNMENT PROBLEM USING HUNGARIAN METHOD • The Hungarian method is a combinatorial optimization algorithm that solves the assignment problem in polynomial time and which anticipated later primal-dual methods. • It was developed and published in 1955 by Harold Kuhn, who gave the name "Hungarian method" because the algorithm was largely based on the earlier works of two Hungarian mathematicians: Denes Konig and Jeno Egervary.
  • 6. REQUIREMENTS OF DUMMY ROWS AND COLUMN • To arrive at the solution, assignment problems requires equal number of Row and Column. • If the number of task that needs to be done exceeds the number of resource available, dummy row or a column just needs to be added as the case may be. • This creates a table of equal dimensions. • The dummy row or column is non existent . Hence the value can be entered as Zeros.
  • 7. Case Study: A company has a five job to be done by 5 workers each worker are assigned to one and only one job. Number of hours each worker takes to complete a job is given with A J1 J2 J3 J4 J5 W1 28 27 24 35 38 W2 26 24 23 32 39 W3 18 20 22 30 32 W4 27 30 25 24 27 W5 29 31 28 40 36
  • 8. Step 1: Find the minimum element in each row and subtract it from all the elements of that particular row. ROW SUBTRACTION A J1 J2 J3 J4 J5 W1 4 (28-24) 3 (27-24) 0 (24- 24) 11(35-24) 14(38-24) W2 3 (26-23) 1 (24-23) 0 (23-23) 9 (32-23) 16 (39-23) W3 0(18-18) 2(20-18) 4(22-18) 12 (30-18) 14 (32-18) W4 3(27-24) 6 (30-24) 1 (25-24) 0 (24-24) 3 (27-24) W5 1 (29-28) 3 (31-28) 0 (28-28) 12 (40-28) 8 (36-28)
  • 9. Step 2: Find the minimum element in each column and subtract it from all the elements of that particular column. COLUMN SUBTRACTION BRAND M1 M2 M3 M4 M5 B1 4 (4-0) 2 (3-1) 0 (0-0) 11 (11-0) 11 (14-3) B2 3 (3-0) 0 (1-1) 0 (0-0) 9 (9-0) 13 (16-3) B3 0 (0-0) 1 (2-1) 4 (4-0) 12 (12-0) 11 (14-3) B4 3 (3-0) 5 (6-1) 1 (1-0) 0 (0-0) 0 (3-3) B5 1(1-0) 2 (3-1) 0 (0-0) 12 (12-0) 5 (8-3)
  • 10. Remark: Step 1 and 2 creates at least one Zero ‘0’ in each row and Column.
  • 11. Step 3: Starting from 1st row, if there is exact one zero, make an assignment and cancel all Zero's in that column and then draw a vertical line. Similarly, starting from 1st column, if there is exact one zero, make an assignment and cancel all zero’s in that row, and then draw a horizontal line. Continue this step till all zero’s are an assignment or Cancelled. J1 J2 J3 J4 J5 W1 4 2 0 11 11 W2 3 0 0 9 13 W3 0 1 4 12 11 W4 3 5 1 0 0 W5 1 2 0 12 5
  • 12. Step 3 (Continued): If optimal assignment is not formed go to step 4 i.e. There should be 5 straight lines. J1 J2 J3 J4 J5 W1 4 2 0 11 11 W2 3 0 0 9 13 W3 0 1 4 12 11 W4 3 5 1 0 0 W5 1 2 0 12 5
  • 13. Step 4: Ensure all zero’s ‘0’ are covered with minimum one line. Find the minimum element not covered by any line (in this sum “5” is the minimum element not covered by any line). J1 J2 J3 J4 J5 W1 4 2 0 11 11 W2 3 0 0 9 13 W3 0 1 4 12 11 W4 3 5 1 0 0 W5 1 2 0 12 5
  • 14. Step 5: Subtract the element (i.e. 5) from the elements not covered by the line. Also add the same element (i.e. 5) to the elements which are at the intersections. J1 J2 J3 J4 J5 W1 4 2 0 6 (11-5) 6 (11-5) W2 3 0 0 4 (9-5) 8 (13-5) W3 0 1 4 7 (12-5) 6 (11-5) W4 8 (3+5) 10 (5+5) 6 (1+5) 0 0 W5 1 2 0 7 (12-5) 0 (5-5)
  • 15. Follow step 3. Cover all zero's with straight lines again Since five lines are needed, an optimal assignment can be made. Assign: J1 – W3. 18 J2 – W2. 24 J3 – W1. 24 J4 – W4. 24 J5 – W5. 36 Minimum Total Time in hours = 126 Hours. J1 J2 J3 J4 J5 W1 4 2 0 6 6 W2 3 0 0 4 8 W3 0 1 4 7 6 W4 8 10 6 0 0 W5 1 2 0 7 0
  • 16. Assign: J1 – W3 18 J2 – W2 24 J3 – W1 24 J4 – W4 24 J5 – W5 36 Minimum Total Time = 126 Hours. Hence, the optimum solution is UNIQUE.
  • 17. MAXIMISATION PROBLEM • Assignment problems can also be used solve cases of maximization model. • For instance, Travelling Salesman problem, milk van routings and so on. • Problem can be solved by first subtracting the biggest element in the problem from all other elements (i.e. converting cost table in to opportunity loss table.). • Later steps, are similar as the minimization problem.
  • 18. SUMMARY • Assignment problem deals with the problem of assigning jobs to machines or men to jobs which are to be performed with varying efficiency. • It can be used to solve cases of Travelling Salesman problem. • It is basically a minimizing model but it can be used to solve cases of maximization by converting cost table in to opportunity loss table.
  • 19. DRAWBACK OF ASSIGNMENT PROBLEM • 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. • When assignment is a problem it becomes a typical optimization problem it can therefore be compared to a transportation problem. The cost elements are given and is a square matrix and requirement at each destination is one and availability at each origin is also one. • In addition we have number of origins which equals the number of destinations hence the total demand equals total supply . There is only one assignment in each row and each column .However If we compare this to a transportation problem we find that a general transportation problem does not have the above mentioned limitations. These limitations are peculiar to assignment problem only.