SlideShare a Scribd company logo
By
A. Raja
Subject: Operations Research
Topic : Hungarian Assignment Algorithm
INTRODUCTION
The assignment problem is a particular case of
transportation problem in which the number of jobs
are equal to the number of facilities.
The objective is to maximise total profit of allocation
or to minimise the total cost.
Hungarian Assignment Algorithm
Various steps of the computational procedure for
obtaining an optimal solution may be summarised as
follows.
Step1:
If the number of rows are not equal to the number of
columns and vice versa , then a dummy row or
dummy column must be added with zero cost
elements.
Step2:
Find the smallest cost in each row of the cost
matrix . subtract this smallest cost element from
each element in that row . therefore , there will be
at least one zero in each row of this new matrix
which is called the first reduced cost matrix.
Step3:
In the reduced cost matrix , find the smallest
element in each column . subtract the smallest cost
element from each element in that column . as a
result , there would be at least one zero in each
row and column of the second reduced cost
matrix.
Step4:
Determine an optimum solution a follows:
1.Examine the rows successively until a row with exactly
one zero is found . box around the zero element as an
assigned cell and cross out all other zero in its column.
Proceed in this manner until all the rows have been
examined. If there are more than one zero in any row, then
do not consider that row and pass on the next row.
2.Repeat the procedure for the columns of the reduced
matrix. If there is no single zero in any row or column of
the reduced matrix, then arbitrarily choose a row or
column having the minimum number of zeros. Arbitrarily,
choose zero in the row or column and cross the remaining
zeros in that row or column.
Repeat (1) and (2) steps until all zeros are either assigned
or crossed out.
Step5:
An optimal assignment is found , if the number assigned
cells equals the number of rows and columns.
Step6:
Draw the number of horizontal or vertical lines through all
the zeros.
Step7:
If the minimum number of lines passing through
all the zeros is equal to the number of rows or
columns the optimum solution is attained by an
arbitrary allocation in the position of the zeros not
crossed in step3 otherwise go to the next step.
Step8:
Revise the cost matrix as follows:
1. Find the elements that covered by a line. Choose the
smallest of this elements and subtract this elements
from all the uncrossed elements and add the same at the
point of the intersection of the two lines.
2. Other elements crossed by the lines remain unchanged.
Step9:
Go to step4 and repeat the procedure till an optimum
solution is attained.
THANK YOU

More Related Content

What's hot

Assignment Problem
Assignment ProblemAssignment Problem
Assignment Problem
Nakul Bhardwaj
 
Assignment Problem
Assignment ProblemAssignment Problem
Assignment Problem
JIMS Rohini Sector 5
 
Transportation Problem
Transportation ProblemTransportation Problem
Transportation Problem
Alvin Niere
 
Transportation and Assignment
Transportation and AssignmentTransportation and Assignment
Transportation and Assignment
Lokesh Payasi
 
Sequencing problems in Operations Research
Sequencing problems in Operations ResearchSequencing problems in Operations Research
Sequencing problems in Operations Research
Abu Bashar
 
Transportation problem ppt
Transportation problem pptTransportation problem ppt
Transportation problem ppt
Dr T.Sivakami
 
Game Theory Operation Research
Game Theory Operation ResearchGame Theory Operation Research
Game Theory Operation Research
R A Shah
 
Assignment Poblems
Assignment Poblems Assignment Poblems
Assignment Poblems
vkabre
 
Assignment model
Assignment modelAssignment model
Assignment model
Palash Badal
 
Least Cost Method - operation research
Least Cost Method - operation researchLeast Cost Method - operation research
Least Cost Method - operation research
sajan gohel
 
Decision theory
Decision theoryDecision theory
Decision theory
KULDEEP MATHUR
 
North West Corner Rule
North   West Corner RuleNorth   West Corner Rule
North West Corner Ruleitsvineeth209
 
Dominance method
Dominance methodDominance method
Dominance methodpooja rani
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Methoditsvineeth209
 
Operation research history and overview application limitation
Operation research history and overview application limitationOperation research history and overview application limitation
Operation research history and overview application limitation
Balaji P
 
Linear programing
Linear programingLinear programing
Linear programing
Aniruddh Tiwari
 
Transportation problems
Transportation problemsTransportation problems
Transportation problems
VishalHotchandani2
 

What's hot (20)

Assignment Problem
Assignment ProblemAssignment Problem
Assignment Problem
 
Assignment Problem
Assignment ProblemAssignment Problem
Assignment Problem
 
Transportation Problem
Transportation ProblemTransportation Problem
Transportation Problem
 
Transportation and Assignment
Transportation and AssignmentTransportation and Assignment
Transportation and Assignment
 
Game theory
Game theoryGame theory
Game theory
 
Modi method
Modi methodModi method
Modi method
 
Assignment problems
Assignment problemsAssignment problems
Assignment problems
 
Sequencing problems in Operations Research
Sequencing problems in Operations ResearchSequencing problems in Operations Research
Sequencing problems in Operations Research
 
Transportation problem ppt
Transportation problem pptTransportation problem ppt
Transportation problem ppt
 
Game Theory Operation Research
Game Theory Operation ResearchGame Theory Operation Research
Game Theory Operation Research
 
Assignment Poblems
Assignment Poblems Assignment Poblems
Assignment Poblems
 
Assignment model
Assignment modelAssignment model
Assignment model
 
Least Cost Method - operation research
Least Cost Method - operation researchLeast Cost Method - operation research
Least Cost Method - operation research
 
Decision theory
Decision theoryDecision theory
Decision theory
 
North West Corner Rule
North   West Corner RuleNorth   West Corner Rule
North West Corner Rule
 
Dominance method
Dominance methodDominance method
Dominance method
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
 
Operation research history and overview application limitation
Operation research history and overview application limitationOperation research history and overview application limitation
Operation research history and overview application limitation
 
Linear programing
Linear programingLinear programing
Linear programing
 
Transportation problems
Transportation problemsTransportation problems
Transportation problems
 

Similar to Algorithm for Hungarian Method of Assignment

Quantitative Math
Quantitative MathQuantitative Math
Quantitative Math
kzoe1996
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
Albin Panalickal
 
AMA_Assignment Theory notes
AMA_Assignment Theory notesAMA_Assignment Theory notes
AMA_Assignment Theory notes
CA Niraj Thapa
 
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
CA Niraj Thapa
 
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
IJERA Editor
 
A Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment ProblemA Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment Problem
Jim Webb
 
Muzammil irshad.pptxhdududududiufufufufu
Muzammil irshad.pptxhdududududiufufufufuMuzammil irshad.pptxhdududududiufufufufu
Muzammil irshad.pptxhdududududiufufufufu
adarsharyan999
 
Transportation model and assignment model
Transportation model and assignment modelTransportation model and assignment model
Transportation model and assignment model
priyanka yadav
 
Asssignment problem
Asssignment problemAsssignment problem
Asssignment problem
Mamatha Upadhya
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
SmrutiShah9
 
Chapter3.pptx
Chapter3.pptxChapter3.pptx
Chapter3.pptx
ASMAALWADEE2
 
A study on solving Assignment Problem
A study on solving Assignment ProblemA study on solving Assignment Problem
A study on solving Assignment Problem
vivatechijri
 
Brute force method
Brute force methodBrute force method
Brute force method
priyankabhansali217
 
Operational research on Assignment ppt
Operational research on Assignment pptOperational research on Assignment ppt
Operational research on Assignment pptNirali Solanki
 
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
PriyankaLunavat
 
Selection-sort-in-algorithm and complexity.pptx
Selection-sort-in-algorithm and complexity.pptxSelection-sort-in-algorithm and complexity.pptx
Selection-sort-in-algorithm and complexity.pptx
ArjayBalberan1
 
Ac4103169172
Ac4103169172Ac4103169172
Ac4103169172
IJERA Editor
 
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
Pankaj Kumar
 
Assignment problem maximum
Assignment problem  maximumAssignment problem  maximum
Assignment problem maximum
RafidahAli1
 

Similar to Algorithm for Hungarian Method of Assignment (20)

Quantitative Math
Quantitative MathQuantitative Math
Quantitative Math
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
AMA_Assignment Theory notes
AMA_Assignment Theory notesAMA_Assignment Theory notes
AMA_Assignment Theory notes
 
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
 
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
 
A0280115(1)
A0280115(1)A0280115(1)
A0280115(1)
 
A Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment ProblemA Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment Problem
 
Muzammil irshad.pptxhdududududiufufufufu
Muzammil irshad.pptxhdududududiufufufufuMuzammil irshad.pptxhdududududiufufufufu
Muzammil irshad.pptxhdududududiufufufufu
 
Transportation model and assignment model
Transportation model and assignment modelTransportation model and assignment model
Transportation model and assignment model
 
Asssignment problem
Asssignment problemAsssignment problem
Asssignment problem
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
Chapter3.pptx
Chapter3.pptxChapter3.pptx
Chapter3.pptx
 
A study on solving Assignment Problem
A study on solving Assignment ProblemA study on solving Assignment Problem
A study on solving Assignment Problem
 
Brute force method
Brute force methodBrute force method
Brute force method
 
Operational research on Assignment ppt
Operational research on Assignment pptOperational research on Assignment ppt
Operational research on Assignment ppt
 
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
 
Selection-sort-in-algorithm and complexity.pptx
Selection-sort-in-algorithm and complexity.pptxSelection-sort-in-algorithm and complexity.pptx
Selection-sort-in-algorithm and complexity.pptx
 
Ac4103169172
Ac4103169172Ac4103169172
Ac4103169172
 
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
 
Assignment problem maximum
Assignment problem  maximumAssignment problem  maximum
Assignment problem maximum
 

More from Raja Adapa

Ambassador and its journey in India.docx
Ambassador and its journey in India.docxAmbassador and its journey in India.docx
Ambassador and its journey in India.docx
Raja Adapa
 
To create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxTo create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docx
Raja Adapa
 
To create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxTo create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docx
Raja Adapa
 
SCM PPT.pptx
SCM PPT.pptxSCM PPT.pptx
SCM PPT.pptx
Raja Adapa
 
Methods of Capital Budgeting
Methods of Capital BudgetingMethods of Capital Budgeting
Methods of Capital Budgeting
Raja Adapa
 
Outline the Methods of Performance Appraisal
Outline the Methods of Performance AppraisalOutline the Methods of Performance Appraisal
Outline the Methods of Performance Appraisal
Raja Adapa
 
Methods of Wage Fixation 3
Methods of Wage Fixation 3Methods of Wage Fixation 3
Methods of Wage Fixation 3
Raja Adapa
 
Methods of Wage Fixation - 2
Methods of Wage Fixation - 2Methods of Wage Fixation - 2
Methods of Wage Fixation - 2
Raja Adapa
 
Methods of Wage Fixation
Methods of Wage FixationMethods of Wage Fixation
Methods of Wage Fixation
Raja Adapa
 
Loading Capability Limits of Transmission Lines
Loading Capability Limits of Transmission LinesLoading Capability Limits of Transmission Lines
Loading Capability Limits of Transmission Lines
Raja Adapa
 
Some of the Basic Important Concepts in MBA
Some of the Basic Important Concepts in MBASome of the Basic Important Concepts in MBA
Some of the Basic Important Concepts in MBA
Raja Adapa
 
Important Formulas of BEP, Ratio Analysis, Capital Budgeting
Important Formulas of BEP, Ratio Analysis, Capital BudgetingImportant Formulas of BEP, Ratio Analysis, Capital Budgeting
Important Formulas of BEP, Ratio Analysis, Capital Budgeting
Raja Adapa
 
Theoretical Framework for a Marketing Project
Theoretical Framework for a Marketing ProjectTheoretical Framework for a Marketing Project
Theoretical Framework for a Marketing Project
Raja Adapa
 
Types of Market Structure
Types of Market StructureTypes of Market Structure
Types of Market Structure
Raja Adapa
 
Types of Scales and Scaling Techniques
Types of Scales and Scaling TechniquesTypes of Scales and Scaling Techniques
Types of Scales and Scaling Techniques
Raja Adapa
 
Market Location Tactics
Market Location TacticsMarket Location Tactics
Market Location Tactics
Raja Adapa
 
Porter's Five Force Model
Porter's Five Force ModelPorter's Five Force Model
Porter's Five Force Model
Raja Adapa
 
Outline of Types of Organizational Structures
Outline of Types of Organizational StructuresOutline of Types of Organizational Structures
Outline of Types of Organizational Structures
Raja Adapa
 
Model paper 6 (UGC NET Paper-1)
Model paper 6 (UGC NET Paper-1)Model paper 6 (UGC NET Paper-1)
Model paper 6 (UGC NET Paper-1)
Raja Adapa
 
Model paper 5 (UGC NET Paper-1)
Model paper 5 (UGC NET Paper-1)Model paper 5 (UGC NET Paper-1)
Model paper 5 (UGC NET Paper-1)
Raja Adapa
 

More from Raja Adapa (20)

Ambassador and its journey in India.docx
Ambassador and its journey in India.docxAmbassador and its journey in India.docx
Ambassador and its journey in India.docx
 
To create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxTo create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docx
 
To create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxTo create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docx
 
SCM PPT.pptx
SCM PPT.pptxSCM PPT.pptx
SCM PPT.pptx
 
Methods of Capital Budgeting
Methods of Capital BudgetingMethods of Capital Budgeting
Methods of Capital Budgeting
 
Outline the Methods of Performance Appraisal
Outline the Methods of Performance AppraisalOutline the Methods of Performance Appraisal
Outline the Methods of Performance Appraisal
 
Methods of Wage Fixation 3
Methods of Wage Fixation 3Methods of Wage Fixation 3
Methods of Wage Fixation 3
 
Methods of Wage Fixation - 2
Methods of Wage Fixation - 2Methods of Wage Fixation - 2
Methods of Wage Fixation - 2
 
Methods of Wage Fixation
Methods of Wage FixationMethods of Wage Fixation
Methods of Wage Fixation
 
Loading Capability Limits of Transmission Lines
Loading Capability Limits of Transmission LinesLoading Capability Limits of Transmission Lines
Loading Capability Limits of Transmission Lines
 
Some of the Basic Important Concepts in MBA
Some of the Basic Important Concepts in MBASome of the Basic Important Concepts in MBA
Some of the Basic Important Concepts in MBA
 
Important Formulas of BEP, Ratio Analysis, Capital Budgeting
Important Formulas of BEP, Ratio Analysis, Capital BudgetingImportant Formulas of BEP, Ratio Analysis, Capital Budgeting
Important Formulas of BEP, Ratio Analysis, Capital Budgeting
 
Theoretical Framework for a Marketing Project
Theoretical Framework for a Marketing ProjectTheoretical Framework for a Marketing Project
Theoretical Framework for a Marketing Project
 
Types of Market Structure
Types of Market StructureTypes of Market Structure
Types of Market Structure
 
Types of Scales and Scaling Techniques
Types of Scales and Scaling TechniquesTypes of Scales and Scaling Techniques
Types of Scales and Scaling Techniques
 
Market Location Tactics
Market Location TacticsMarket Location Tactics
Market Location Tactics
 
Porter's Five Force Model
Porter's Five Force ModelPorter's Five Force Model
Porter's Five Force Model
 
Outline of Types of Organizational Structures
Outline of Types of Organizational StructuresOutline of Types of Organizational Structures
Outline of Types of Organizational Structures
 
Model paper 6 (UGC NET Paper-1)
Model paper 6 (UGC NET Paper-1)Model paper 6 (UGC NET Paper-1)
Model paper 6 (UGC NET Paper-1)
 
Model paper 5 (UGC NET Paper-1)
Model paper 5 (UGC NET Paper-1)Model paper 5 (UGC NET Paper-1)
Model paper 5 (UGC NET Paper-1)
 

Recently uploaded

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 

Recently uploaded (20)

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 

Algorithm for Hungarian Method of Assignment

  • 1. By A. Raja Subject: Operations Research Topic : Hungarian Assignment Algorithm
  • 2. INTRODUCTION The assignment problem is a particular case of transportation problem in which the number of jobs are equal to the number of facilities. The objective is to maximise total profit of allocation or to minimise the total cost.
  • 3. Hungarian Assignment Algorithm Various steps of the computational procedure for obtaining an optimal solution may be summarised as follows. Step1: If the number of rows are not equal to the number of columns and vice versa , then a dummy row or dummy column must be added with zero cost elements.
  • 4. Step2: Find the smallest cost in each row of the cost matrix . subtract this smallest cost element from each element in that row . therefore , there will be at least one zero in each row of this new matrix which is called the first reduced cost matrix.
  • 5. Step3: In the reduced cost matrix , find the smallest element in each column . subtract the smallest cost element from each element in that column . as a result , there would be at least one zero in each row and column of the second reduced cost matrix.
  • 6. Step4: Determine an optimum solution a follows: 1.Examine the rows successively until a row with exactly one zero is found . box around the zero element as an assigned cell and cross out all other zero in its column. Proceed in this manner until all the rows have been examined. If there are more than one zero in any row, then do not consider that row and pass on the next row. 2.Repeat the procedure for the columns of the reduced matrix. If there is no single zero in any row or column of the reduced matrix, then arbitrarily choose a row or column having the minimum number of zeros. Arbitrarily, choose zero in the row or column and cross the remaining zeros in that row or column. Repeat (1) and (2) steps until all zeros are either assigned or crossed out.
  • 7. Step5: An optimal assignment is found , if the number assigned cells equals the number of rows and columns. Step6: Draw the number of horizontal or vertical lines through all the zeros.
  • 8. Step7: If the minimum number of lines passing through all the zeros is equal to the number of rows or columns the optimum solution is attained by an arbitrary allocation in the position of the zeros not crossed in step3 otherwise go to the next step.
  • 9. Step8: Revise the cost matrix as follows: 1. Find the elements that covered by a line. Choose the smallest of this elements and subtract this elements from all the uncrossed elements and add the same at the point of the intersection of the two lines. 2. Other elements crossed by the lines remain unchanged. Step9: Go to step4 and repeat the procedure till an optimum solution is attained.