SlideShare a Scribd company logo
1 of 11
Download to read offline
International Journal of Sciences:
Basic and Applied Research
(IJSBAR)
ISSN 2307-4531
(Print & Online)
http://gssrr.org/index.php?journal=JournalOfBasicAndApplied
---------------------------------------------------------------------------------------------------------------------------
40
An Alternative Proposed Method for Solution of
Assignment Problem
Farzana Sultana Rafia
*, Md. Abdul azizb
, Mohammed Nizam Uddinc
, Momen
Bhuiyand
a,b
Lecturer,Department of Applied Mathematics, Noakhali Science and Technology University, Noakhali 3814,
Bangladesh
c
Associate Professor, Department of Applied Mathematics Noakhali Science and Technology University,
Noakhali 3814, Bangladesh
d
Research student, Department of Applied Mathematics, Noakhali Science and Technology University
a
Email: rafi.farzana@yahoo.com
Abstract
The assignment problem is a particular type of linear programming problem. In this paper, we analyzed the
standard and existing proposed methods. After studying these methods, we proposed a new alternative method
for solving the assignment problem. We examined the newly proposed method by a couple of numerical
examples and compare this result with the standard method. The main characteristic of this newly proposed
method is that it constructed a very easy logical and arithmetical algorithm. Here we point out some advantages
and limitations of the new proposed method. Programming code for the newly proposed method has been added
in this paper.
Keywords: assignment problem; Hungarian method; linear programming problem; C++ programming code.
1. Introduction
In linear programming problem, assignment problem is introducing instantly after transportation problem [1].
The main aim of the assignment problem is to minimize total cost or time of several resources to an equal
number of activities[1]. Assignment problem holds a condition that one resource can connect with only one
activity[2].
------------------------------------------------------------------------
* Corresponding author.
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
41
Applications of assignment problem are many and widespread because its uses just not only confined to assign
jobs to worker or machines but also uses in personnel to offices, transportation, airbus to a destination, teachers
to classrooms and so on[3,4]. Actually, assignment problem is one of the initial problems which is important in
decision making [2]. Assignment problem was first discussed as the degenerate case of transportation problem
in 1951 in the SCOOP symposium on linear inequalities and programming [5]. D.F. Votaw and A. Orden, in
1952 was first formulated assignment problem as a type of transportation problem [5] Harold Kuhn in 1955 was
developed and published assignment problem[6]. He named the method as "Hungarian method" because his
method was based on the methods of two Hungarian mathematicians: Dénes Kőnig and Jenő Egerváry [6]. In
1953 Dénes Konig provided an algorithm for linear assignment problem which was based on the translation of a
paper of Jeno Egerváry [7].
2. Preliminaries
2.1. Mathematical representation of assignment problem
Generally, an assignment problem associated with a matrix or table, where the rows present the objects or
manpower that we want to assign, and the column present the jobs or task that we want them assigned to.
suppose we want to minimize the total cost or time of an assignment problem of n resources to m activities
where each resource connects with one and only one job. Then the cost matrix ( ) is given below:
Activity
Resource Available
Required
The cost matrix is the same as that of a T.P except for that availability at each of the resource and the
requirement at each of the destinations is unity. Let denote the assignment of resource to activity
such that
Then the mathematical formulation of the assignment problems is Minimize
Subject to the constraints and ;
For all i = 1, 2… n & j = 1, 2…n
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
42
2.2. Classification of Assignment Problem
The assignment problem divided into two categories:
 Balanced Assignment Problem: When the number of rows and columns of assignment problem is
equal then it is known as a balanced assignment problem.
 Unbalanced Assignment Problem: When the number of rows and columns of assignment problem is
not equal then it is known as an unbalanced assignment problem.
In our newly proposed method, we consider only the balanced assignment problem
3. Algorithm of the new Proposed Method of solving the assignment problem
The steps of the proposed alternative method are discussed below:
Step-1: Find the smallest element of the matrix.
Step-2: Assign this smallest element with a box and eliminate the row and the column for this element.
Step-3: If there are two same smallest elements then find the sum of the row of those two elements respectively.
Assign the element whose sum is less.
Step-4: Repeat step-1, step-2 and step-3 for the remaining matrix and finally assign the final remaining element.
3.1. Numerical Examples
In this section, we examined our newly proposed method by considering two detailed numerical examples and
compared our result with the standard method (Hungarian method).
Example 1
Assign the four tasks to four operators. The assigning costs are given in the table
Table 4.1.1(a): Assignment table of example 1
1 2 3 4
A 20 28 19 13
B 15 30 31 28
C 40 21 20 17
D 21 28 26 12
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
43
Solution:
The smallest element of the matrix is 12. So, we assign this element with the box and eliminate the row and
column of this element.
Table 4.1.1(b): Solution table of example 1
The reduced matrix is:
Table 4.1.1(c): Solution table of example 1
The reduced matrix is:
Table 4.1.1(d): Solution table of example 1
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
44
The total cost of assignment = A3+B1+C2+D4=19+15+21+12=67
The solution of this assignment problem using Hungarian method is 67.
Example 2
Assign the four tasks to four operators. The assigning costs are given in the table.
Table 4.1.2(a): Assignment table of example 2
1 2 3 4
A 14 5 8 7
B 2 12 6 5
C 7 8 3 9
D 2 4 6 10
Solution:
The smallest element of the matrix is 2. So we assign this element with the box and eliminate the row and
column of this element.
Table 4.1.2(b): Solution table of example 2
The reduced matrix is:
Table 4.1.2(c): Solution table of example 2
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
45
The reduced matrix is:
Table 4.1.2(d): Solution table of example 2
The total cost of assignment = A2+B4+C3+D1=5+5+3+2=15
The solution of this assignment problem using Hungarian method is 15.
4. Results
The new alternative proposed method provides the same optimal result compared with the standard Hungarian
method. Our newly proposed method represents a very easy logical and arithmetical algorithm. Therefore, it is
easy to understand and hence requires fewer arithmetic calculations than other standard and existing methods.
The limitation of the newly proposed method that it is only effective for 2n×2n matrix. Another limitation is that
new proposed method does not give optimal result, it gives same result compared with standard method. In
future work, it can be modified as a method that will reduce the limitation.
5. Conclusion
In this paper, we discussed the assignment problem and proposed a new alternative method of solving
assignment problem which requires very easy procedure and consumes less time. We also compared the
proposed method with the standard Hungarian method by illustrating two numerical examples which gave us the
same optimal result. As the newly proposed method is very easy to understand it will be also easy to implement
in the real field which will be very helpful for decision-makers.
Acknowledgement
We acknowledge The Noakhali Science and Technology University for providing research environment to
complete this work.
References
[1] H. Basirzadeh, “Ones Assignment Method for Solving Mathematical formulation of assignment prob-,”
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
46
vol. 6, no. 47, pp. 2345–2355, 2012.
[2] H. D. Afroz and D. M. A. Hossen, “New Proposed Method for Solving Assignment Problem and
Comparative Study with the Existing Methods,” IOSR J. Math., vol. 13, no. 02, pp. 84–88, 2017, doi:
10.9790/5728-1302048488.
[3] A. Rashid, “An Alternative Approach for Solving Unbalanced Assignment Problems,” vol. 40, no. 2,
pp. 45–56, 2017.
[4] M. Khalid, M. Sultana, and F. Zaidi, “New improved ones assignment method,” Appl. Math. Sci., no.
81–84, pp. 4171–4177, 2014, doi: 10.12988/ams.2014.45327.
[5] P. Jaskowski, “Assignment problem and its extensions for construction project scheduling,” Czas.
Tech., vol. 2014, no. January 2014, pp. 241–248, 2014, doi: 10.4467/2353737XCT.14.133.2583.
[6] .7931 .‫نی‬ ‫ی‬ ‫رزم‬ ‫زی‬ ‫های‬ ‫آب‬eltiT oN ,‫یمی‬ ‫ل‬ ‫س‬
[7] Y. J. L. Kamm, D. J. T. Wagener, I. M. C. M. Rietjens, and C. J. A. Punt, “5-Fluorouracil in colorectal
cancer: Rationale and clinical results of frequently used schedules,” Anticancer. Drugs, vol. 9, no. 5,
pp. 371–380, 1998, doi: 10.1097/00001813-199806000-00001.
[8] H. A. Taha, “Pesquisa Operaciona: Uma visão geral.” p. 359, 2008.
[9] A. Mathematics, “Finding an Optimal Solution of the Interval,” vol. 106, no. 6, pp. 1–8, 2016, doi:
10.12732/ijpam.v106i6.1.
[10]A. N. Jasim, “A new method to solve assignment models,” Appl. Math. Sci., vol. 11, no. 54, pp. 2663–
2670, 2017, doi: 10.12988/ams.2017.78252.
[11]S. SINGH, “A Comparative Analysis of Assignment Problem,” IOSR J. Eng., vol. 02, no. 08, pp. 01–
15, 2012, doi: 10.9790/3021-02810115.
6. Appendix
C++ Programming Code for the Alternative Proposed Method
#include<bits/stdc++.h>
using namespace std;
int rowsum[50];
int a[50][50];
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
47
int b[50][50];
int main()
{
int n;
cin>>n;
for(int i=1;i<=n;i++)
{
rowsum[i]=0;
for(int j=1;j<=n;j++)
{
cin>>a[i][j];
rowsum[i]+=a[i][j];
}
}
int cost=0;
while(1)
{
cout<<"--------------------n";
int mn = a[1][1];
pair<int,int> mnindex = {1,1};
for(int i=1;i<=n;i++)
{
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
48
for(int j=1;j<=n;j++)
{
cout<<a[i][j]<<" ";
if(a[i][j]<mn || (a[i][j]==mn && rowsum[i]<rowsum[mnindex.first]))
{
mn = a[i][j];
mnindex = {i,j};
}
}
cout<<"n";
}
cout<<"minimum value at "<<mn <<" at row = "<<mnindex.first<<" column ="<<mnindex.second<<"n";
cost+=mn;
int bi=1;
int bj=1;
for(int i=1;i<=n;i++)
{
if(i==mnindex.first) continue;
bj = 1;
for(int j=1;j<=n;j++)
{
if(j==mnindex.second)continue;
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
49
b[bi][bj++] = a[i][j];
}
bi++;
}
n-=1;
for(int i=1;i<=n;i++)
{
rowsum[i]=0;
for(int j=1;j<=n;j++)
{
a[i][j] = b[i][j];
rowsum[i]+=a[i][j];
}
}
if(n==0) break;
}
cout<<"------------------------nntotal cost = "<<cost;
getchar();
getchar();
getchar();
}
International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50
50
7. Recommendations
Assignment problem is a special type of transportation problem which main objective is to minimize total cost
or maximize total profit. Hungarian method is the most popular existing method for solving assignment
problem. Till now many methods has been proposed to solve assignment problem. In this paper we also
proposed an alternative new method which is very easy to calculate and consume less time. In our paper we
included basic knowledge of assignment problem and we explain our new proposed method with two examples
and compare with the result of existing method. We also discuss about the limitations of newly proposed
method. Finally, we added a C++ programming code of our new proposed method.

More Related Content

Similar to An Alternative Proposed Method For Solution Of Assignment Problem

Apply deep learning to improve the question analysis model in the Vietnamese ...
Apply deep learning to improve the question analysis model in the Vietnamese ...Apply deep learning to improve the question analysis model in the Vietnamese ...
Apply deep learning to improve the question analysis model in the Vietnamese ...
IJECEIAES
 
The idea of projectour project is about creating a intell.docx
The idea of projectour project is about creating a intell.docxThe idea of projectour project is about creating a intell.docx
The idea of projectour project is about creating a intell.docx
cherry686017
 
A0311010106
A0311010106A0311010106
A0311010106
theijes
 

Similar to An Alternative Proposed Method For Solution Of Assignment Problem (19)

FUZZY ASSIGNMENT PROBLEM BASED ON TRAPEZOIDAL APPROXIMATION
FUZZY ASSIGNMENT PROBLEM BASED ON TRAPEZOIDAL APPROXIMATIONFUZZY ASSIGNMENT PROBLEM BASED ON TRAPEZOIDAL APPROXIMATION
FUZZY ASSIGNMENT PROBLEM BASED ON TRAPEZOIDAL APPROXIMATION
 
Apply deep learning to improve the question analysis model in the Vietnamese ...
Apply deep learning to improve the question analysis model in the Vietnamese ...Apply deep learning to improve the question analysis model in the Vietnamese ...
Apply deep learning to improve the question analysis model in the Vietnamese ...
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
 
The idea of projectour project is about creating a intell.docx
The idea of projectour project is about creating a intell.docxThe idea of projectour project is about creating a intell.docx
The idea of projectour project is about creating a intell.docx
 
Runge Kutta Method
Runge Kutta MethodRunge Kutta Method
Runge Kutta Method
 
Teaching Mathematics Concepts via Computer Algebra Systems
Teaching Mathematics Concepts via Computer Algebra SystemsTeaching Mathematics Concepts via Computer Algebra Systems
Teaching Mathematics Concepts via Computer Algebra Systems
 
An Application Of An Optimization Tool To Solve Problems Of Mechanics Of Mate...
An Application Of An Optimization Tool To Solve Problems Of Mechanics Of Mate...An Application Of An Optimization Tool To Solve Problems Of Mechanics Of Mate...
An Application Of An Optimization Tool To Solve Problems Of Mechanics Of Mate...
 
Hand out dm
Hand out dmHand out dm
Hand out dm
 
Fault diagnosis using genetic algorithms and
Fault diagnosis using genetic algorithms andFault diagnosis using genetic algorithms and
Fault diagnosis using genetic algorithms and
 
A Derivative Free High Ordered Hybrid Equation Solver
A Derivative Free High Ordered Hybrid Equation Solver  A Derivative Free High Ordered Hybrid Equation Solver
A Derivative Free High Ordered Hybrid Equation Solver
 
Interior Dual Optimization Software Engineering with Applications in BCS Elec...
Interior Dual Optimization Software Engineering with Applications in BCS Elec...Interior Dual Optimization Software Engineering with Applications in BCS Elec...
Interior Dual Optimization Software Engineering with Applications in BCS Elec...
 
A study on solving Assignment Problem
A study on solving Assignment ProblemA study on solving Assignment Problem
A study on solving Assignment Problem
 
A DERIVATIVE FREE HIGH ORDERED HYBRID EQUATION SOLVER
A DERIVATIVE FREE HIGH ORDERED HYBRID EQUATION SOLVERA DERIVATIVE FREE HIGH ORDERED HYBRID EQUATION SOLVER
A DERIVATIVE FREE HIGH ORDERED HYBRID EQUATION SOLVER
 
The overview of software for computer simulations in profile physics learning...
The overview of software for computer simulations in profile physics learning...The overview of software for computer simulations in profile physics learning...
The overview of software for computer simulations in profile physics learning...
 
Integration of Finite Element Method with Runge – Kuta Solution Algorithm
Integration of Finite Element Method with Runge – Kuta Solution AlgorithmIntegration of Finite Element Method with Runge – Kuta Solution Algorithm
Integration of Finite Element Method with Runge – Kuta Solution Algorithm
 
A_multi-objective_set_covering_problem_A_case_stud.pdf
A_multi-objective_set_covering_problem_A_case_stud.pdfA_multi-objective_set_covering_problem_A_case_stud.pdf
A_multi-objective_set_covering_problem_A_case_stud.pdf
 
Duality Theory in Multi Objective Linear Programming Problems
Duality Theory in Multi Objective Linear Programming ProblemsDuality Theory in Multi Objective Linear Programming Problems
Duality Theory in Multi Objective Linear Programming Problems
 
A0311010106
A0311010106A0311010106
A0311010106
 
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMSA NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
 

More from Nicole Heredia

More from Nicole Heredia (20)

Buy Essays Online From Successful Essay - Essay
Buy Essays Online From Successful Essay - EssayBuy Essays Online From Successful Essay - Essay
Buy Essays Online From Successful Essay - Essay
 
PPT - Top Essay Writing Company In Australia, UK U
PPT - Top Essay Writing Company In Australia, UK UPPT - Top Essay Writing Company In Australia, UK U
PPT - Top Essay Writing Company In Australia, UK U
 
Informative Essay Examples, Samples, Outline To Write
Informative Essay Examples, Samples, Outline To WriteInformative Essay Examples, Samples, Outline To Write
Informative Essay Examples, Samples, Outline To Write
 
RANGER SHOWCASE INFORMATION - Mrs. RatliffS 7T
RANGER SHOWCASE INFORMATION - Mrs. RatliffS 7TRANGER SHOWCASE INFORMATION - Mrs. RatliffS 7T
RANGER SHOWCASE INFORMATION - Mrs. RatliffS 7T
 
Writing Objectives Part 1 - YouTube
Writing Objectives Part 1 - YouTubeWriting Objectives Part 1 - YouTube
Writing Objectives Part 1 - YouTube
 
How To Improve Your Essay Writing Quickly A Step-By
How To Improve Your Essay Writing Quickly A Step-ByHow To Improve Your Essay Writing Quickly A Step-By
How To Improve Your Essay Writing Quickly A Step-By
 
College Essay Help - Get Online College Essay Writi
College Essay Help - Get Online College Essay WritiCollege Essay Help - Get Online College Essay Writi
College Essay Help - Get Online College Essay Writi
 
Typewriter With Blank Sheet Of Paper Arts Entertainment Stock
Typewriter With Blank Sheet Of Paper Arts Entertainment StockTypewriter With Blank Sheet Of Paper Arts Entertainment Stock
Typewriter With Blank Sheet Of Paper Arts Entertainment Stock
 
How To Write An Essay Introduction Paragraph
How To Write An Essay Introduction ParagraphHow To Write An Essay Introduction Paragraph
How To Write An Essay Introduction Paragraph
 
Descriptive Essays GCE Guide - How To Write A Des
Descriptive Essays GCE Guide - How To Write A DesDescriptive Essays GCE Guide - How To Write A Des
Descriptive Essays GCE Guide - How To Write A Des
 
Fall Scarecrow Stationary For Kids Fall Scarecrows, Fre
Fall Scarecrow Stationary For Kids Fall Scarecrows, FreFall Scarecrow Stationary For Kids Fall Scarecrows, Fre
Fall Scarecrow Stationary For Kids Fall Scarecrows, Fre
 
Apa Research Paper Order
Apa Research Paper OrderApa Research Paper Order
Apa Research Paper Order
 
Tips How To Write A Paper Presentation By Presentation Paper
Tips How To Write A Paper Presentation By Presentation PaperTips How To Write A Paper Presentation By Presentation Paper
Tips How To Write A Paper Presentation By Presentation Paper
 
Dr. MLKJ Reading Passage - Read, Answer Qs, Underlin
Dr. MLKJ Reading Passage - Read, Answer Qs, UnderlinDr. MLKJ Reading Passage - Read, Answer Qs, Underlin
Dr. MLKJ Reading Passage - Read, Answer Qs, Underlin
 
Thesis Statement For Character Analysis Essay Example - Thesi
Thesis Statement For Character Analysis Essay Example - ThesiThesis Statement For Character Analysis Essay Example - Thesi
Thesis Statement For Character Analysis Essay Example - Thesi
 
Writing Paper - Differentiated Writing Paper With Rubric
Writing Paper - Differentiated Writing Paper With RubricWriting Paper - Differentiated Writing Paper With Rubric
Writing Paper - Differentiated Writing Paper With Rubric
 
Sample Scholarship Announcement Maker Sc
Sample Scholarship Announcement Maker ScSample Scholarship Announcement Maker Sc
Sample Scholarship Announcement Maker Sc
 
Sample Essay On Human Resource Management Pra
Sample Essay On Human Resource Management PraSample Essay On Human Resource Management Pra
Sample Essay On Human Resource Management Pra
 
Lap Desk, 10 Writing Board, Best American Wood Leather Littleton
Lap Desk, 10 Writing Board, Best American Wood Leather LittletonLap Desk, 10 Writing Board, Best American Wood Leather Littleton
Lap Desk, 10 Writing Board, Best American Wood Leather Littleton
 
They Say I Essay Templates For College
They Say I Essay Templates For CollegeThey Say I Essay Templates For College
They Say I Essay Templates For College
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Recently uploaded (20)

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).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
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 

An Alternative Proposed Method For Solution Of Assignment Problem

  • 1. International Journal of Sciences: Basic and Applied Research (IJSBAR) ISSN 2307-4531 (Print & Online) http://gssrr.org/index.php?journal=JournalOfBasicAndApplied --------------------------------------------------------------------------------------------------------------------------- 40 An Alternative Proposed Method for Solution of Assignment Problem Farzana Sultana Rafia *, Md. Abdul azizb , Mohammed Nizam Uddinc , Momen Bhuiyand a,b Lecturer,Department of Applied Mathematics, Noakhali Science and Technology University, Noakhali 3814, Bangladesh c Associate Professor, Department of Applied Mathematics Noakhali Science and Technology University, Noakhali 3814, Bangladesh d Research student, Department of Applied Mathematics, Noakhali Science and Technology University a Email: rafi.farzana@yahoo.com Abstract The assignment problem is a particular type of linear programming problem. In this paper, we analyzed the standard and existing proposed methods. After studying these methods, we proposed a new alternative method for solving the assignment problem. We examined the newly proposed method by a couple of numerical examples and compare this result with the standard method. The main characteristic of this newly proposed method is that it constructed a very easy logical and arithmetical algorithm. Here we point out some advantages and limitations of the new proposed method. Programming code for the newly proposed method has been added in this paper. Keywords: assignment problem; Hungarian method; linear programming problem; C++ programming code. 1. Introduction In linear programming problem, assignment problem is introducing instantly after transportation problem [1]. The main aim of the assignment problem is to minimize total cost or time of several resources to an equal number of activities[1]. Assignment problem holds a condition that one resource can connect with only one activity[2]. ------------------------------------------------------------------------ * Corresponding author.
  • 2. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 41 Applications of assignment problem are many and widespread because its uses just not only confined to assign jobs to worker or machines but also uses in personnel to offices, transportation, airbus to a destination, teachers to classrooms and so on[3,4]. Actually, assignment problem is one of the initial problems which is important in decision making [2]. Assignment problem was first discussed as the degenerate case of transportation problem in 1951 in the SCOOP symposium on linear inequalities and programming [5]. D.F. Votaw and A. Orden, in 1952 was first formulated assignment problem as a type of transportation problem [5] Harold Kuhn in 1955 was developed and published assignment problem[6]. He named the method as "Hungarian method" because his method was based on the methods of two Hungarian mathematicians: Dénes Kőnig and Jenő Egerváry [6]. In 1953 Dénes Konig provided an algorithm for linear assignment problem which was based on the translation of a paper of Jeno Egerváry [7]. 2. Preliminaries 2.1. Mathematical representation of assignment problem Generally, an assignment problem associated with a matrix or table, where the rows present the objects or manpower that we want to assign, and the column present the jobs or task that we want them assigned to. suppose we want to minimize the total cost or time of an assignment problem of n resources to m activities where each resource connects with one and only one job. Then the cost matrix ( ) is given below: Activity Resource Available Required The cost matrix is the same as that of a T.P except for that availability at each of the resource and the requirement at each of the destinations is unity. Let denote the assignment of resource to activity such that Then the mathematical formulation of the assignment problems is Minimize Subject to the constraints and ; For all i = 1, 2… n & j = 1, 2…n
  • 3. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 42 2.2. Classification of Assignment Problem The assignment problem divided into two categories:  Balanced Assignment Problem: When the number of rows and columns of assignment problem is equal then it is known as a balanced assignment problem.  Unbalanced Assignment Problem: When the number of rows and columns of assignment problem is not equal then it is known as an unbalanced assignment problem. In our newly proposed method, we consider only the balanced assignment problem 3. Algorithm of the new Proposed Method of solving the assignment problem The steps of the proposed alternative method are discussed below: Step-1: Find the smallest element of the matrix. Step-2: Assign this smallest element with a box and eliminate the row and the column for this element. Step-3: If there are two same smallest elements then find the sum of the row of those two elements respectively. Assign the element whose sum is less. Step-4: Repeat step-1, step-2 and step-3 for the remaining matrix and finally assign the final remaining element. 3.1. Numerical Examples In this section, we examined our newly proposed method by considering two detailed numerical examples and compared our result with the standard method (Hungarian method). Example 1 Assign the four tasks to four operators. The assigning costs are given in the table Table 4.1.1(a): Assignment table of example 1 1 2 3 4 A 20 28 19 13 B 15 30 31 28 C 40 21 20 17 D 21 28 26 12
  • 4. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 43 Solution: The smallest element of the matrix is 12. So, we assign this element with the box and eliminate the row and column of this element. Table 4.1.1(b): Solution table of example 1 The reduced matrix is: Table 4.1.1(c): Solution table of example 1 The reduced matrix is: Table 4.1.1(d): Solution table of example 1
  • 5. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 44 The total cost of assignment = A3+B1+C2+D4=19+15+21+12=67 The solution of this assignment problem using Hungarian method is 67. Example 2 Assign the four tasks to four operators. The assigning costs are given in the table. Table 4.1.2(a): Assignment table of example 2 1 2 3 4 A 14 5 8 7 B 2 12 6 5 C 7 8 3 9 D 2 4 6 10 Solution: The smallest element of the matrix is 2. So we assign this element with the box and eliminate the row and column of this element. Table 4.1.2(b): Solution table of example 2 The reduced matrix is: Table 4.1.2(c): Solution table of example 2
  • 6. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 45 The reduced matrix is: Table 4.1.2(d): Solution table of example 2 The total cost of assignment = A2+B4+C3+D1=5+5+3+2=15 The solution of this assignment problem using Hungarian method is 15. 4. Results The new alternative proposed method provides the same optimal result compared with the standard Hungarian method. Our newly proposed method represents a very easy logical and arithmetical algorithm. Therefore, it is easy to understand and hence requires fewer arithmetic calculations than other standard and existing methods. The limitation of the newly proposed method that it is only effective for 2n×2n matrix. Another limitation is that new proposed method does not give optimal result, it gives same result compared with standard method. In future work, it can be modified as a method that will reduce the limitation. 5. Conclusion In this paper, we discussed the assignment problem and proposed a new alternative method of solving assignment problem which requires very easy procedure and consumes less time. We also compared the proposed method with the standard Hungarian method by illustrating two numerical examples which gave us the same optimal result. As the newly proposed method is very easy to understand it will be also easy to implement in the real field which will be very helpful for decision-makers. Acknowledgement We acknowledge The Noakhali Science and Technology University for providing research environment to complete this work. References [1] H. Basirzadeh, “Ones Assignment Method for Solving Mathematical formulation of assignment prob-,”
  • 7. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 46 vol. 6, no. 47, pp. 2345–2355, 2012. [2] H. D. Afroz and D. M. A. Hossen, “New Proposed Method for Solving Assignment Problem and Comparative Study with the Existing Methods,” IOSR J. Math., vol. 13, no. 02, pp. 84–88, 2017, doi: 10.9790/5728-1302048488. [3] A. Rashid, “An Alternative Approach for Solving Unbalanced Assignment Problems,” vol. 40, no. 2, pp. 45–56, 2017. [4] M. Khalid, M. Sultana, and F. Zaidi, “New improved ones assignment method,” Appl. Math. Sci., no. 81–84, pp. 4171–4177, 2014, doi: 10.12988/ams.2014.45327. [5] P. Jaskowski, “Assignment problem and its extensions for construction project scheduling,” Czas. Tech., vol. 2014, no. January 2014, pp. 241–248, 2014, doi: 10.4467/2353737XCT.14.133.2583. [6] .7931 .‫نی‬ ‫ی‬ ‫رزم‬ ‫زی‬ ‫های‬ ‫آب‬eltiT oN ,‫یمی‬ ‫ل‬ ‫س‬ [7] Y. J. L. Kamm, D. J. T. Wagener, I. M. C. M. Rietjens, and C. J. A. Punt, “5-Fluorouracil in colorectal cancer: Rationale and clinical results of frequently used schedules,” Anticancer. Drugs, vol. 9, no. 5, pp. 371–380, 1998, doi: 10.1097/00001813-199806000-00001. [8] H. A. Taha, “Pesquisa Operaciona: Uma visão geral.” p. 359, 2008. [9] A. Mathematics, “Finding an Optimal Solution of the Interval,” vol. 106, no. 6, pp. 1–8, 2016, doi: 10.12732/ijpam.v106i6.1. [10]A. N. Jasim, “A new method to solve assignment models,” Appl. Math. Sci., vol. 11, no. 54, pp. 2663– 2670, 2017, doi: 10.12988/ams.2017.78252. [11]S. SINGH, “A Comparative Analysis of Assignment Problem,” IOSR J. Eng., vol. 02, no. 08, pp. 01– 15, 2012, doi: 10.9790/3021-02810115. 6. Appendix C++ Programming Code for the Alternative Proposed Method #include<bits/stdc++.h> using namespace std; int rowsum[50]; int a[50][50];
  • 8. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 47 int b[50][50]; int main() { int n; cin>>n; for(int i=1;i<=n;i++) { rowsum[i]=0; for(int j=1;j<=n;j++) { cin>>a[i][j]; rowsum[i]+=a[i][j]; } } int cost=0; while(1) { cout<<"--------------------n"; int mn = a[1][1]; pair<int,int> mnindex = {1,1}; for(int i=1;i<=n;i++) {
  • 9. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 48 for(int j=1;j<=n;j++) { cout<<a[i][j]<<" "; if(a[i][j]<mn || (a[i][j]==mn && rowsum[i]<rowsum[mnindex.first])) { mn = a[i][j]; mnindex = {i,j}; } } cout<<"n"; } cout<<"minimum value at "<<mn <<" at row = "<<mnindex.first<<" column ="<<mnindex.second<<"n"; cost+=mn; int bi=1; int bj=1; for(int i=1;i<=n;i++) { if(i==mnindex.first) continue; bj = 1; for(int j=1;j<=n;j++) { if(j==mnindex.second)continue;
  • 10. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 49 b[bi][bj++] = a[i][j]; } bi++; } n-=1; for(int i=1;i<=n;i++) { rowsum[i]=0; for(int j=1;j<=n;j++) { a[i][j] = b[i][j]; rowsum[i]+=a[i][j]; } } if(n==0) break; } cout<<"------------------------nntotal cost = "<<cost; getchar(); getchar(); getchar(); }
  • 11. International Journal of Sciences: Basic and Applied Research (IJSBAR) (2020) Volume 52, No 1, pp 40-50 50 7. Recommendations Assignment problem is a special type of transportation problem which main objective is to minimize total cost or maximize total profit. Hungarian method is the most popular existing method for solving assignment problem. Till now many methods has been proposed to solve assignment problem. In this paper we also proposed an alternative new method which is very easy to calculate and consume less time. In our paper we included basic knowledge of assignment problem and we explain our new proposed method with two examples and compare with the result of existing method. We also discuss about the limitations of newly proposed method. Finally, we added a C++ programming code of our new proposed method.