A modified method for solving the unbalanced assignment problems.pdf

Paper Writing Service http://StudyHub.vip/A-Modified-Method-For-Solving-The-Unbal

A modified method for solving the unbalanced
assignment problems
Avanish Kumar
Department of Mathematical Sciences and Computer Applications, Bundelkhand University, Jhansi 284 128, UP, India
Abstract
It has been noticed that in real life situations, one finds it difficult to balance between jobs and machines, therefore most
of the time we face unbalanced assignment problems. The methods suggested in the literature is based on the assumption to
assign some of the jobs to dummy or fictitious machines, those jobs are executed on dummy machines which later may be
ignored. The present paper suggests a modified method for solving the unbalanced assignment problems. The method is
capable of assigning all the jobs to machine optimally. The method is presented in an algorithmic form and implemented
on the several sets of input data to test the performance and effectiveness of the algorithm. The developed algorithm is
coded into C++. A comparison is also made with the existing approach and it is recorded that our algorithm gives better
results.
 2005 Elsevier Inc. All rights reserved.
Keyword: Unbalanced assignment problems
1. Introduction
During the last 1930s in England and early 1940s in United States, the use of scientific methods was exten-
sively made to analyze optimization problems. World War II challenged both countries at that time to develop
optimal solution for assignment, transportation and multi-variable type problems. The modeling techniques
studied by operation researchers in 1940s and 1950s usually required algebra or calculus for solution purposes.
The term ‘‘Mathematical programming’’ was used then, and is still used today, to describe the structuring of
mathematical symbols into a model or program [2,3]. The assignment problem is a special case of the linear
programming problem. It has been discussed with the situation in which jobs are to be assigned to a machine
for execution. The linear programming formulation of the assignment problem and systematic method of solu-
tion was given by Hungarian mathematician D. König [1]. When we deal with real life situation, it becomes
quite difficult to ensure that jobs are exactly equal to machines. Thus the need arises to solve the unbalanced
assignment problem in such a way that total assignment cost may be optimized along with the other con-
straints. The mathematical formulation of the assignment problem is as follows:
0096-3003/$ - see front matter  2005 Elsevier Inc. All rights reserved.
doi:10.1016/j.amc.2005.09.056
E-mail address: dravanishkumar@yahoo.com
Applied Mathematics and Computation 176 (2006) 76–82
www.elsevier.com/locate/amc
Minimize (Maximize):
Z ¼
X
m
i¼1
X
n
j¼1
CijXij
Subject to
P
n
j¼1
Xij ¼ 1; for i ¼ 1; 2; . . . ; m;
P
m
i¼1
Xij ¼ 1; for j ¼ 1; 2; . . . ; n;
where Xij ¼ 0; 1; 8i; j.
2. Definitions
• To assign various jobs to different machines, in such a way that the total assignment cost is to be minimum,
known as the assignment problem.
• If the number jobs are not equal to number of the machines, then it is known to be unbalanced assignment
problem.
3. Assumptions
• The completion of a program from computational point of view means that all the jobs have been assigned
to the various machines and the final optimal assignment cost has been obtained.
• The number of jobs is more than number of machines.
4. Problem definition
Consider a problem which consists of a set of ‘‘n’’ machines M = {M1,M2,. . .,Mn}. A set of ‘‘m’’ jobs
J = {J1,J2,. . .,Jm} is considered which are to be assigned for execution on ‘‘n’’ available machines. The exe-
cution cost of each job on all the machines is known and mentioned in the matrix, namely, ACM (,) of order
m · n. The objective is to determine the optimal assignment cost. A method is devised to obtain the said costs
in such a way that all the jobs are to be allotted on the available machines.
5. Proposed method
To determine the assignment cost as well as combination of job(s) vs. machine(s) of an unbalanced assign-
ment problem, we concentrate on a problem which consists of a set of ‘‘n’’ machines M = {M1,M2,. . .,Mn}. A
set of ‘‘m’’ jobs J = {J1,J2,. . .,Jm} is considered which are to be assigned for execution on the ‘‘n’’ available
machines and the execution cost Cij, where i = 1,2,. . .,m and j = 1,2,. . .,n are mentioned in the assignment
cost matrix ACM (,), where m  n. First of all, we obtain the sum of each row and each column of the
ACM (,), store the results in the array, namely, Sum_Row () and Sum_Column (). Then we select the first
m rows (jobs) on the basis of Sum_Row (), i.e., starting with most minimums to next minimum to the array
Sum_Row () and deleting rows (jobs) corresponding to the remaining (m  n) jobs. Store the results in the new
array that should be the array for the first sub-problem. Repeat this process until remaining jobs become less
than machine, when remaining jobs are less than n, then, deleting (n  m) columns (machines) on the basis of
Sum_Column (), i.e., corresponding to value(s) most maximum to next maximum to form the last sub-prob-
lem. Store the results in the new array that shall be the array for the last sub-problem. Apply Hungarian
method to obtain the optimum solution [1,4] of each sub-problem, which are now becoming balanced assign-
ment problem. Finally, add the total assignment cost of each sub-problem to obtain the optimal assignment
cost along with assignment sets.
A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82 77
5.1. Computational algorithm
The method discussed in the present paper is to determine the following components:
– Determine criterion to assign the excess jobs.
– Determine the process of assignment.
– Compute the optimal assignment cost.
5.2. Algorithm
To give an algorithmic representation to the method, let us consider a problem which consists of a set of
‘‘n’’ machines M = {M1,M2, . . .,Mn}. A set of ‘‘m’’ jobs J = {J1 J2,. . .,Jm} is considered which are to be
assigned for execution on ‘‘n’’ available machines and the execution cost Cij, where i = 1,2,. . .,m and
j = 1,2,. . .,n, where m  n, i.e., the number of jobs is more than number of machines.
Step-1: Input: m, n, ACM (,).
Step-2: If number of rows and columns are equal, i.e., balanced assignment problem, then, use Hungarian
method, else, partition the matrix to form sub-problems.
Step-3:
Step-3.1: Obtain the sum of each row and each column of the ACM (,), store the results in the array,
namely, Sum_Row () and Sum_Column ().
Step-3.2: Select the first m rows (jobs) on the basis of Sum_Row (), i.e., starting with most minimums
to next minimum to the array Sum_Row () and deleting rows (jobs) corresponding to the
remaining (m  n) jobs. Store the results in the new array that shall be the array for the first
sub-problem.
Step-3.2.1: If there is not any remaining jobs, i.e., (m  n = 0), then go to Step-3.4.
Step-3.2.2: If the remaining (m  n) jobs are still more than n, then repeat Step-3.2 for the
remaining jobs to form next sub-problem(s), else, Step-3.3.
Step-3.3: If remaining jobs are less than n, then, delete (n  m) columns (machines) on the basis of
Sum_Column (), i.e., corresponding to value(s) most maximum to next maximum to form
the last sub-problem. Store the results in the new array that shall be the array for the last
sub-problem.
Step-3.4: List sub-problems and repeat Step-4 to Step-16 to solve each sub-problem.
Step-4: If the total effectiveness is to be maximized, change the sign of each element in the effectiveness
matrix and go to Step-5; otherwise go directly to Step-5.
Step-5: If the minimum element in the row i is not zero, then subtract this minimum element from each ele-
ment in the row i (i = 1,2,. . .,m).
Step-6: If the minimum element in the column j is not zero, then subtract this minimum element from each
element in the column j (j = 1,2,. . .,m).
Step-7: Examine rows successively, beginning with row 1, for a row with exactly one unmarked zero. If at
least one exists, mark this zero with the symbol (D) to denote an assignment. Cross out (X) the other
zeros in the same column so that additional assignment will not be made to that column. Repeat the
process until each row has no unmarked zeros or at least two unmarked zeros.
Step-8: Examine columns successively, beginning with column 1, for a column with exactly one unmarked
zero. If at least one exists, mark this zero with the symbol (D) to denote an assignment. Cross out
(X) the other zeros in the same row so additional assignment will not be made to that row. Repeat
the process until each column has no unmarked zeros or at least two unmarked zeros.
Step-9: Repeat Steps 7 and 8 successively (if necessary) until one of the three things occurs:
Step-9.1: Every row has an assignment (D). Go to Step-16.
Step-9.2: There are at least two unmarked zeros in each row and each column. Go to Step-7.
78 A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82
Step-9.3: There are no zeros left unmarked and a complete assignment has not been made. Go to
Step-10.
Step-10: Check (
p
) all rows for which assignment (D) has not been made.
Step-11: Check (
p
) columns not already checked which have a zero in checked rows.
Step-12: Check (
p
) rows not already checked which have assignments in the checked column.
Step-13: Repeat Steps 11 and 12 until the chain of checking ends.
Step-14: Draw lines through all unchecked rows and through all checked columns. This will necessarily give
the minimum number of lines needed to cover each zero at least one time.
Step-15: Examine the elements that do not have at least one line through them. Select the smallest of these and
subtract it from every element in each row that contains at least one uncovered element. Add the
same element to every element in each column that has a vertical line through it. Return to Step-7.
Step-16: List the assignment cost and combination corresponding to sub problem.
Step-17: Add assignment cost of each sub-problem to obtain the total assignment cost of the main problem,
which shall be the optimal cost, and also rearrange the combinations.
Step-18: Stop.
6. Illustration of an example
Let us consider a problem in which a set of 3 machines M = {M1,M2,M3}, and a set of 8 jobs
J = {J1,J2,J3,J4,J5,J6,J7,J8}. The assignment matrix ACM (,) contains the execution costs of every job to
each machine.
Steps-1 to 2: Input: 5, 8,
ACMð; Þ ¼
M1 M2 M3 M4 M5
J1 300 290 280 290 210
J2 250 310 290 300 200
J3 180 190 300 190 180
J4 320 180 190 240 170
J5 270 210 190 250 160
J6 190 200 220 190 140
J7 220 300 230 180 160
J8 260 190 260 210 180.
Step-3: Obtain the sum of each row and column of ACM (,), i .e., the sum of each row and each column is as
follows:
Sum Rowð Þ ¼
J1 J2 J3 J4 J5 J6 J7 J8
1370 1350 1040 1100 1080 0940 1090 1100;
Sum Columnð Þ ¼
M1 M2 M3 M4 M5
1990 1870 1960 1850 1400.
We partitioned the matrix ACM (,) to define the first sub-problem N1ACM (,) by selecting rows correspond-
ing to J3,J4,J5,J6,J7 and second sub-problem N2ACM (,) by selecting rows corresponding to the jobs J1,J2,J8
and by deleting columns corresponding to M1,M3. Then the modified matrices are as follows:
Sub-Problem-I:
N1ACMð; Þ ¼
M1 M2 M3 M4 M5
J3 180 190 300 190 180
J4 320 180 190 240 170
J5 270 210 190 250 160
J6 190 200 220 190 140
J7 220 300 230 180 160
A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82 79
and, Sub-Problem-II:
N2ACMð; Þ ¼
M2 M4 M5
J1 290 290 210
J2 310 300 200
J8 190 210 180.
Steps-4 to 16: The solution of the Sub-Problem-I, i.e., N1ACM (,) is mentioned below,
and the solution of the Sub-Problem-II, i.e., N2ACM (,) is,
Step-17: Thus, the total assignment cost of the main problem, i.e., ACM (,) is 1550. The final optimal assign-
ments are as follows:
Step-18: Stop.
7. Conclusion
The present paper suggests a modified method for solving the unbalanced assignment problems. The Hun-
garian method [1] gives us total assignment cost 870 along with the other three jobs assigned to dummy
machine, in other words that these three jobs are ignored for further processing, while, when the original prob-
lem is divided in the sub-problems, which are balanced assignment problems in nature. With the use of Hun-
garian method, the total assignment cost 870 recorded for the first sub-problem along with that of none of the
jobs assigned to dummy machine and total assignment cost 680 for the second sub-problem along with that of
Job ! Machine Cost
J3 ! M1 180
J4 ! M2 180
J5 ! M3 190
J6 ! M5 140
J7 ! M4 180
Total assignment cost = 870
Job ! Machine Cost
J1 ! M4 290
J2 ! M5 200
J8 ! M2 190
Total assignment cost = 680.
Job ! Machine Cost
J1 ! M4 290
J2 ! M5 200
J3 ! M1 180
J4 ! M2 180
J5 ! M3 190
J6 ! M5 140
J7 ! M4 180
J8 ! M2 190.
80 A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82
none of the jobs assigned to dummy machine. The solution of the unbalanced assignment problem, ACM (,)
obtained with the help of Hungarian method is mentioned below:
The present method which modifies the assignment cost matrix to form the sub-problems that give optimal
assignment cost, which is the sum of total assignment costs of all sub-problems, i.e., 1550 along with neither of
the jobs assigned to dummy machine nor ignored for further processing. The reasoning behind the increase in
cost is that the present method executes all the jobs, while the original method does not execute all the jobs. If
we take the total minimum assignment cost and total average assignment cost of those jobs, which were
assigned to dummy machines in Hungarian method are 590 and 764, respectively. So that if we add this cost
to the Hungarian solution then the total assignment costs would have become 1460 and 1634. The above
method can also be verified by modifying the ACM (,) on the basis of above assignment of the two sub-prob-
lems N1ACM (,) and N2ACM (,), i.e., to club the costs of jobs J1,J2,J8 with J4,J6,J7 on various machines. So
that modify matrix of ACM (,) is NACM (,), i.e.,
NACMð; Þ ¼
M1 M2 M3 M4 M5
J1  J7 520 590 510 470 370
J2  J6 440 510 510 490 340
J3 180 190 300 190 180
J4  J8 580 370 450 450 350
J5 270 210 190 250 160.
The solution of the NACM (,) obtained with the help of Hungarian method is mentioned below,
The method is presented in algorithmic form and implemented on the several sets of input data to test the
performance and effectiveness of the algorithm. The developed algorithm is coded into C++ and implemented
on RISC based DEC-2000 mini computer.
References
[1] E. Gillett Billy, Introduction to Operations Research – A Computer Oriented Algorithmic Approach, Tata Mc-Graw Hill, New Delhi,
2000.
Job ! Machine Cost
J1 ! M6(Dm) 000
J2 ! M7(Dm) 000
J3 ! M1 180
J4 ! M2 180
J5 ! M3 190
J6 ! M5 140
J7 ! M4 180
J8 ! M8(Dm) 000
Total assignment cost = 870.
Machine Job Cost
M1 J3 180
M2 J4 * J8 370
M3 J5 190
M4 J1 * J7 470
M5 J2 * J6 340
Total assignment cost = 1550.
A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82 81
[2] K.V. Mittal, C. Mohan, Optimization Methods in Operations Research and System Analysis, New Age International Pvt. Ltd., New
Delhi, 1996.
[3] S.S. Rao, Optimization Theory and Applications, Wiley Eastern Ltd., New Delhi, 1991.
[4] H.A. Taha, Operation Research: An Introduction, MacMillan Inc., New York, 1971.
82 A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82

Recomendados

An Amalgamated Approach For Solving Unbalanced Assignment Problem von
An Amalgamated Approach For Solving Unbalanced Assignment ProblemAn Amalgamated Approach For Solving Unbalanced Assignment Problem
An Amalgamated Approach For Solving Unbalanced Assignment ProblemJim Jimenez
3 views5 Folien
Assignment problem von
Assignment problemAssignment problem
Assignment problemAbu Bashar
65.8K views26 Folien
AMA_Assignment Theory notes von
AMA_Assignment Theory notesAMA_Assignment Theory notes
AMA_Assignment Theory notesCA Niraj Thapa
775 views7 Folien
Solving ONE’S interval linear assignment problem von
Solving ONE’S interval linear assignment problemSolving ONE’S interval linear assignment problem
Solving ONE’S interval linear assignment problemIJERA Editor
43 views7 Folien
A Comparative Analysis Of Assignment Problem von
A Comparative Analysis Of Assignment ProblemA Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment ProblemJim Webb
7 views15 Folien
A0280115(1) von
A0280115(1)A0280115(1)
A0280115(1)prabhat k prasad
976 views15 Folien

Más contenido relacionado

Similar a A modified method for solving the unbalanced assignment problems.pdf

This should be solved in the matrix.cpp file. Write a program which .docx von
 This should be solved in the matrix.cpp file.  Write a program which .docx This should be solved in the matrix.cpp file.  Write a program which .docx
This should be solved in the matrix.cpp file. Write a program which .docxKomlin1
2 views4 Folien
A study on solving Assignment Problem von
A study on solving Assignment ProblemA study on solving Assignment Problem
A study on solving Assignment Problemvivatechijri
41 views6 Folien
Dynamic programming1 von
Dynamic programming1Dynamic programming1
Dynamic programming1debolina13
1.1K views20 Folien
Assignment Poblems von
Assignment Poblems Assignment Poblems
Assignment Poblems vkabre
967 views39 Folien
Hungarian Method von
Hungarian MethodHungarian Method
Hungarian MethodAritra7469
9.7K views17 Folien
Assignment Of Multiple Jobs Scheduling To A Single Machine von
Assignment Of Multiple Jobs Scheduling To A Single MachineAssignment Of Multiple Jobs Scheduling To A Single Machine
Assignment Of Multiple Jobs Scheduling To A Single MachineDaniel Wachtel
3 views9 Folien

Similar a A modified method for solving the unbalanced assignment problems.pdf(20)

This should be solved in the matrix.cpp file. Write a program which .docx von Komlin1
 This should be solved in the matrix.cpp file.  Write a program which .docx This should be solved in the matrix.cpp file.  Write a program which .docx
This should be solved in the matrix.cpp file. Write a program which .docx
Komlin12 views
A study on solving Assignment Problem von vivatechijri
A study on solving Assignment ProblemA study on solving Assignment Problem
A study on solving Assignment Problem
vivatechijri41 views
Dynamic programming1 von debolina13
Dynamic programming1Dynamic programming1
Dynamic programming1
debolina131.1K views
Assignment Poblems von vkabre
Assignment Poblems Assignment Poblems
Assignment Poblems
vkabre967 views
Hungarian Method von Aritra7469
Hungarian MethodHungarian Method
Hungarian Method
Aritra74699.7K views
Assignment Of Multiple Jobs Scheduling To A Single Machine von Daniel Wachtel
Assignment Of Multiple Jobs Scheduling To A Single MachineAssignment Of Multiple Jobs Scheduling To A Single Machine
Assignment Of Multiple Jobs Scheduling To A Single Machine
Daniel Wachtel3 views
4tocontest von berthin
4tocontest4tocontest
4tocontest
berthin540 views
A01 von lksoo
A01A01
A01
lksoo368 views
Digital communication lab lectures von marwaeng
Digital communication lab  lecturesDigital communication lab  lectures
Digital communication lab lectures
marwaeng75 views
Assignment.pdf#___text=Assignment problem is a special LPP which deals,offs a... von vishwasmahajan7
Assignment.pdf#___text=Assignment problem is a special LPP which deals,offs a...Assignment.pdf#___text=Assignment problem is a special LPP which deals,offs a...
Assignment.pdf#___text=Assignment problem is a special LPP which deals,offs a...
vishwasmahajan788 views
Minimization of Assignment Problems von ijtsrd
Minimization of Assignment ProblemsMinimization of Assignment Problems
Minimization of Assignment Problems
ijtsrd1.1K views
AN APPROXIMATION ALGORITHM FOR THE GENERALIZED ASSIGNMENT PROBLEM von Monica Gero
AN APPROXIMATION ALGORITHM FOR THE GENERALIZED ASSIGNMENT PROBLEMAN APPROXIMATION ALGORITHM FOR THE GENERALIZED ASSIGNMENT PROBLEM
AN APPROXIMATION ALGORITHM FOR THE GENERALIZED ASSIGNMENT PROBLEM
Monica Gero3 views
NEW APPROACH FOR SOLVING FUZZY TRIANGULAR ASSIGNMENT BY ROW MINIMA METHOD von IAEME Publication
NEW APPROACH FOR SOLVING FUZZY TRIANGULAR ASSIGNMENT BY ROW MINIMA METHODNEW APPROACH FOR SOLVING FUZZY TRIANGULAR ASSIGNMENT BY ROW MINIMA METHOD
NEW APPROACH FOR SOLVING FUZZY TRIANGULAR ASSIGNMENT BY ROW MINIMA METHOD
A LABELING ALGORITHM TO SOLVE THE ASSIGNMENT PROBLEM von Jeff Nelson
A LABELING ALGORITHM TO SOLVE THE ASSIGNMENT PROBLEMA LABELING ALGORITHM TO SOLVE THE ASSIGNMENT PROBLEM
A LABELING ALGORITHM TO SOLVE THE ASSIGNMENT PROBLEM
Jeff Nelson2 views
A BRANCH-AND-BOUND ALGORITHM FOR PARALLEL MACHINE SCHEDULING PROBLEMS von Nicole Heredia
A BRANCH-AND-BOUND ALGORITHM FOR PARALLEL MACHINE SCHEDULING PROBLEMSA BRANCH-AND-BOUND ALGORITHM FOR PARALLEL MACHINE SCHEDULING PROBLEMS
A BRANCH-AND-BOUND ALGORITHM FOR PARALLEL MACHINE SCHEDULING PROBLEMS
Nicole Heredia2 views

Más de Carrie Cox

An analysis of Social Organisaion and Customs of The Irula Tribe.pdf von
An analysis of Social Organisaion and Customs of The Irula Tribe.pdfAn analysis of Social Organisaion and Customs of The Irula Tribe.pdf
An analysis of Social Organisaion and Customs of The Irula Tribe.pdfCarrie Cox
21 views12 Folien
A Wolf in Tiger s Clothing Danger, Desire, and Pleasure in Judith Kerr s The... von
A Wolf in Tiger s Clothing  Danger, Desire, and Pleasure in Judith Kerr s The...A Wolf in Tiger s Clothing  Danger, Desire, and Pleasure in Judith Kerr s The...
A Wolf in Tiger s Clothing Danger, Desire, and Pleasure in Judith Kerr s The...Carrie Cox
2 views17 Folien
Annotating Retina Fundus Images for Teaching and Learning Diabetic Retinopath... von
Annotating Retina Fundus Images for Teaching and Learning Diabetic Retinopath...Annotating Retina Fundus Images for Teaching and Learning Diabetic Retinopath...
Annotating Retina Fundus Images for Teaching and Learning Diabetic Retinopath...Carrie Cox
2 views6 Folien
Automatically translating a general purpose C image processing library for ... von
Automatically translating a general purpose C   image processing library for ...Automatically translating a general purpose C   image processing library for ...
Automatically translating a general purpose C image processing library for ...Carrie Cox
2 views8 Folien
A Novel Approach to Make Presentation Using PowerPoint Without Projector in L... von
A Novel Approach to Make Presentation Using PowerPoint Without Projector in L...A Novel Approach to Make Presentation Using PowerPoint Without Projector in L...
A Novel Approach to Make Presentation Using PowerPoint Without Projector in L...Carrie Cox
3 views6 Folien
A glossary of haunting.pdf von
A glossary of haunting.pdfA glossary of haunting.pdf
A glossary of haunting.pdfCarrie Cox
3 views20 Folien

Más de Carrie Cox(20)

An analysis of Social Organisaion and Customs of The Irula Tribe.pdf von Carrie Cox
An analysis of Social Organisaion and Customs of The Irula Tribe.pdfAn analysis of Social Organisaion and Customs of The Irula Tribe.pdf
An analysis of Social Organisaion and Customs of The Irula Tribe.pdf
Carrie Cox21 views
A Wolf in Tiger s Clothing Danger, Desire, and Pleasure in Judith Kerr s The... von Carrie Cox
A Wolf in Tiger s Clothing  Danger, Desire, and Pleasure in Judith Kerr s The...A Wolf in Tiger s Clothing  Danger, Desire, and Pleasure in Judith Kerr s The...
A Wolf in Tiger s Clothing Danger, Desire, and Pleasure in Judith Kerr s The...
Carrie Cox2 views
Annotating Retina Fundus Images for Teaching and Learning Diabetic Retinopath... von Carrie Cox
Annotating Retina Fundus Images for Teaching and Learning Diabetic Retinopath...Annotating Retina Fundus Images for Teaching and Learning Diabetic Retinopath...
Annotating Retina Fundus Images for Teaching and Learning Diabetic Retinopath...
Carrie Cox2 views
Automatically translating a general purpose C image processing library for ... von Carrie Cox
Automatically translating a general purpose C   image processing library for ...Automatically translating a general purpose C   image processing library for ...
Automatically translating a general purpose C image processing library for ...
Carrie Cox2 views
A Novel Approach to Make Presentation Using PowerPoint Without Projector in L... von Carrie Cox
A Novel Approach to Make Presentation Using PowerPoint Without Projector in L...A Novel Approach to Make Presentation Using PowerPoint Without Projector in L...
A Novel Approach to Make Presentation Using PowerPoint Without Projector in L...
Carrie Cox3 views
A glossary of haunting.pdf von Carrie Cox
A glossary of haunting.pdfA glossary of haunting.pdf
A glossary of haunting.pdf
Carrie Cox3 views
A Case Study in the Design of a Restaurant Management System.pdf von Carrie Cox
A Case Study in the Design of a Restaurant Management System.pdfA Case Study in the Design of a Restaurant Management System.pdf
A Case Study in the Design of a Restaurant Management System.pdf
Carrie Cox36 views
A Critical Analyses of Edward Said s Orientalism through Foucaultian Perspect... von Carrie Cox
A Critical Analyses of Edward Said s Orientalism through Foucaultian Perspect...A Critical Analyses of Edward Said s Orientalism through Foucaultian Perspect...
A Critical Analyses of Edward Said s Orientalism through Foucaultian Perspect...
Carrie Cox2 views
A Review Of Electronic Interventions For Prevention And Treatment Of Overweig... von Carrie Cox
A Review Of Electronic Interventions For Prevention And Treatment Of Overweig...A Review Of Electronic Interventions For Prevention And Treatment Of Overweig...
A Review Of Electronic Interventions For Prevention And Treatment Of Overweig...
Carrie Cox2 views
An Investigation On The Learners Perceptions And Experiences In Engaging Wit... von Carrie Cox
An Investigation On The Learners  Perceptions And Experiences In Engaging Wit...An Investigation On The Learners  Perceptions And Experiences In Engaging Wit...
An Investigation On The Learners Perceptions And Experiences In Engaging Wit...
Carrie Cox3 views
An Application Of Flipped Classroom In Mathematics Teacher Education Programme von Carrie Cox
An Application Of Flipped Classroom In Mathematics Teacher Education ProgrammeAn Application Of Flipped Classroom In Mathematics Teacher Education Programme
An Application Of Flipped Classroom In Mathematics Teacher Education Programme
Carrie Cox2 views
Application Of Cloud Computing In Teaching And Learning In A Post Graduate Pr... von Carrie Cox
Application Of Cloud Computing In Teaching And Learning In A Post Graduate Pr...Application Of Cloud Computing In Teaching And Learning In A Post Graduate Pr...
Application Of Cloud Computing In Teaching And Learning In A Post Graduate Pr...
Carrie Cox2 views
A Tetra Pak Case Study von Carrie Cox
A Tetra Pak Case StudyA Tetra Pak Case Study
A Tetra Pak Case Study
Carrie Cox13 views
An Inspector Calls Notes For GCSE English Literature von Carrie Cox
An Inspector Calls Notes For GCSE English LiteratureAn Inspector Calls Notes For GCSE English Literature
An Inspector Calls Notes For GCSE English Literature
Carrie Cox4 views
A SURVEY ON EDUCATIONAL DATA MINING AND RESEARCH TRENDS von Carrie Cox
A SURVEY ON EDUCATIONAL DATA MINING AND RESEARCH TRENDSA SURVEY ON EDUCATIONAL DATA MINING AND RESEARCH TRENDS
A SURVEY ON EDUCATIONAL DATA MINING AND RESEARCH TRENDS
Carrie Cox2 views
Aristotle Epistemology Download von Carrie Cox
Aristotle Epistemology DownloadAristotle Epistemology Download
Aristotle Epistemology Download
Carrie Cox13 views
A Case Study On Implementing ITIL In Business Organization Considering Busi... von Carrie Cox
A Case Study On Implementing ITIL In Business Organization   Considering Busi...A Case Study On Implementing ITIL In Business Organization   Considering Busi...
A Case Study On Implementing ITIL In Business Organization Considering Busi...
Carrie Cox4 views
APPLIED MATHEMATICS 1A von Carrie Cox
APPLIED MATHEMATICS 1AAPPLIED MATHEMATICS 1A
APPLIED MATHEMATICS 1A
Carrie Cox2 views

Último

2022 CAPE Merit List 2023 von
2022 CAPE Merit List 2023 2022 CAPE Merit List 2023
2022 CAPE Merit List 2023 Caribbean Examinations Council
5K views76 Folien
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively von
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyPECB
585 views18 Folien
Narration lesson plan.docx von
Narration lesson plan.docxNarration lesson plan.docx
Narration lesson plan.docxTARIQ KHAN
112 views11 Folien
AUDIENCE - BANDURA.pptx von
AUDIENCE - BANDURA.pptxAUDIENCE - BANDURA.pptx
AUDIENCE - BANDURA.pptxiammrhaywood
84 views44 Folien
Psychology KS5 von
Psychology KS5Psychology KS5
Psychology KS5WestHatch
93 views5 Folien
REPRESENTATION - GAUNTLET.pptx von
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptxiammrhaywood
100 views26 Folien

Último(20)

ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively von PECB
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
PECB 585 views
Narration lesson plan.docx von TARIQ KHAN
Narration lesson plan.docxNarration lesson plan.docx
Narration lesson plan.docx
TARIQ KHAN112 views
Psychology KS5 von WestHatch
Psychology KS5Psychology KS5
Psychology KS5
WestHatch93 views
REPRESENTATION - GAUNTLET.pptx von iammrhaywood
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptx
iammrhaywood100 views
11.30.23 Poverty and Inequality in America.pptx von mary850239
11.30.23 Poverty and Inequality in America.pptx11.30.23 Poverty and Inequality in America.pptx
11.30.23 Poverty and Inequality in America.pptx
mary850239160 views
The basics - information, data, technology and systems.pdf von JonathanCovena1
The basics - information, data, technology and systems.pdfThe basics - information, data, technology and systems.pdf
The basics - information, data, technology and systems.pdf
JonathanCovena1115 views
Dance KS5 Breakdown von WestHatch
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch79 views
The Open Access Community Framework (OACF) 2023 (1).pptx von Jisc
The Open Access Community Framework (OACF) 2023 (1).pptxThe Open Access Community Framework (OACF) 2023 (1).pptx
The Open Access Community Framework (OACF) 2023 (1).pptx
Jisc110 views
JiscOAWeek_LAIR_slides_October2023.pptx von Jisc
JiscOAWeek_LAIR_slides_October2023.pptxJiscOAWeek_LAIR_slides_October2023.pptx
JiscOAWeek_LAIR_slides_October2023.pptx
Jisc96 views
Solar System and Galaxies.pptx von DrHafizKosar
Solar System and Galaxies.pptxSolar System and Galaxies.pptx
Solar System and Galaxies.pptx
DrHafizKosar91 views
Structure and Functions of Cell.pdf von Nithya Murugan
Structure and Functions of Cell.pdfStructure and Functions of Cell.pdf
Structure and Functions of Cell.pdf
Nithya Murugan545 views
Class 10 English notes 23-24.pptx von TARIQ KHAN
Class 10 English notes 23-24.pptxClass 10 English notes 23-24.pptx
Class 10 English notes 23-24.pptx
TARIQ KHAN131 views

A modified method for solving the unbalanced assignment problems.pdf

  • 1. A modified method for solving the unbalanced assignment problems Avanish Kumar Department of Mathematical Sciences and Computer Applications, Bundelkhand University, Jhansi 284 128, UP, India Abstract It has been noticed that in real life situations, one finds it difficult to balance between jobs and machines, therefore most of the time we face unbalanced assignment problems. The methods suggested in the literature is based on the assumption to assign some of the jobs to dummy or fictitious machines, those jobs are executed on dummy machines which later may be ignored. The present paper suggests a modified method for solving the unbalanced assignment problems. The method is capable of assigning all the jobs to machine optimally. The method is presented in an algorithmic form and implemented on the several sets of input data to test the performance and effectiveness of the algorithm. The developed algorithm is coded into C++. A comparison is also made with the existing approach and it is recorded that our algorithm gives better results. 2005 Elsevier Inc. All rights reserved. Keyword: Unbalanced assignment problems 1. Introduction During the last 1930s in England and early 1940s in United States, the use of scientific methods was exten- sively made to analyze optimization problems. World War II challenged both countries at that time to develop optimal solution for assignment, transportation and multi-variable type problems. The modeling techniques studied by operation researchers in 1940s and 1950s usually required algebra or calculus for solution purposes. The term ‘‘Mathematical programming’’ was used then, and is still used today, to describe the structuring of mathematical symbols into a model or program [2,3]. The assignment problem is a special case of the linear programming problem. It has been discussed with the situation in which jobs are to be assigned to a machine for execution. The linear programming formulation of the assignment problem and systematic method of solu- tion was given by Hungarian mathematician D. König [1]. When we deal with real life situation, it becomes quite difficult to ensure that jobs are exactly equal to machines. Thus the need arises to solve the unbalanced assignment problem in such a way that total assignment cost may be optimized along with the other con- straints. The mathematical formulation of the assignment problem is as follows: 0096-3003/$ - see front matter 2005 Elsevier Inc. All rights reserved. doi:10.1016/j.amc.2005.09.056 E-mail address: dravanishkumar@yahoo.com Applied Mathematics and Computation 176 (2006) 76–82 www.elsevier.com/locate/amc
  • 2. Minimize (Maximize): Z ¼ X m i¼1 X n j¼1 CijXij Subject to P n j¼1 Xij ¼ 1; for i ¼ 1; 2; . . . ; m; P m i¼1 Xij ¼ 1; for j ¼ 1; 2; . . . ; n; where Xij ¼ 0; 1; 8i; j. 2. Definitions • To assign various jobs to different machines, in such a way that the total assignment cost is to be minimum, known as the assignment problem. • If the number jobs are not equal to number of the machines, then it is known to be unbalanced assignment problem. 3. Assumptions • The completion of a program from computational point of view means that all the jobs have been assigned to the various machines and the final optimal assignment cost has been obtained. • The number of jobs is more than number of machines. 4. Problem definition Consider a problem which consists of a set of ‘‘n’’ machines M = {M1,M2,. . .,Mn}. A set of ‘‘m’’ jobs J = {J1,J2,. . .,Jm} is considered which are to be assigned for execution on ‘‘n’’ available machines. The exe- cution cost of each job on all the machines is known and mentioned in the matrix, namely, ACM (,) of order m · n. The objective is to determine the optimal assignment cost. A method is devised to obtain the said costs in such a way that all the jobs are to be allotted on the available machines. 5. Proposed method To determine the assignment cost as well as combination of job(s) vs. machine(s) of an unbalanced assign- ment problem, we concentrate on a problem which consists of a set of ‘‘n’’ machines M = {M1,M2,. . .,Mn}. A set of ‘‘m’’ jobs J = {J1,J2,. . .,Jm} is considered which are to be assigned for execution on the ‘‘n’’ available machines and the execution cost Cij, where i = 1,2,. . .,m and j = 1,2,. . .,n are mentioned in the assignment cost matrix ACM (,), where m n. First of all, we obtain the sum of each row and each column of the ACM (,), store the results in the array, namely, Sum_Row () and Sum_Column (). Then we select the first m rows (jobs) on the basis of Sum_Row (), i.e., starting with most minimums to next minimum to the array Sum_Row () and deleting rows (jobs) corresponding to the remaining (m n) jobs. Store the results in the new array that should be the array for the first sub-problem. Repeat this process until remaining jobs become less than machine, when remaining jobs are less than n, then, deleting (n m) columns (machines) on the basis of Sum_Column (), i.e., corresponding to value(s) most maximum to next maximum to form the last sub-prob- lem. Store the results in the new array that shall be the array for the last sub-problem. Apply Hungarian method to obtain the optimum solution [1,4] of each sub-problem, which are now becoming balanced assign- ment problem. Finally, add the total assignment cost of each sub-problem to obtain the optimal assignment cost along with assignment sets. A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82 77
  • 3. 5.1. Computational algorithm The method discussed in the present paper is to determine the following components: – Determine criterion to assign the excess jobs. – Determine the process of assignment. – Compute the optimal assignment cost. 5.2. Algorithm To give an algorithmic representation to the method, let us consider a problem which consists of a set of ‘‘n’’ machines M = {M1,M2, . . .,Mn}. A set of ‘‘m’’ jobs J = {J1 J2,. . .,Jm} is considered which are to be assigned for execution on ‘‘n’’ available machines and the execution cost Cij, where i = 1,2,. . .,m and j = 1,2,. . .,n, where m n, i.e., the number of jobs is more than number of machines. Step-1: Input: m, n, ACM (,). Step-2: If number of rows and columns are equal, i.e., balanced assignment problem, then, use Hungarian method, else, partition the matrix to form sub-problems. Step-3: Step-3.1: Obtain the sum of each row and each column of the ACM (,), store the results in the array, namely, Sum_Row () and Sum_Column (). Step-3.2: Select the first m rows (jobs) on the basis of Sum_Row (), i.e., starting with most minimums to next minimum to the array Sum_Row () and deleting rows (jobs) corresponding to the remaining (m n) jobs. Store the results in the new array that shall be the array for the first sub-problem. Step-3.2.1: If there is not any remaining jobs, i.e., (m n = 0), then go to Step-3.4. Step-3.2.2: If the remaining (m n) jobs are still more than n, then repeat Step-3.2 for the remaining jobs to form next sub-problem(s), else, Step-3.3. Step-3.3: If remaining jobs are less than n, then, delete (n m) columns (machines) on the basis of Sum_Column (), i.e., corresponding to value(s) most maximum to next maximum to form the last sub-problem. Store the results in the new array that shall be the array for the last sub-problem. Step-3.4: List sub-problems and repeat Step-4 to Step-16 to solve each sub-problem. Step-4: If the total effectiveness is to be maximized, change the sign of each element in the effectiveness matrix and go to Step-5; otherwise go directly to Step-5. Step-5: If the minimum element in the row i is not zero, then subtract this minimum element from each ele- ment in the row i (i = 1,2,. . .,m). Step-6: If the minimum element in the column j is not zero, then subtract this minimum element from each element in the column j (j = 1,2,. . .,m). Step-7: Examine rows successively, beginning with row 1, for a row with exactly one unmarked zero. If at least one exists, mark this zero with the symbol (D) to denote an assignment. Cross out (X) the other zeros in the same column so that additional assignment will not be made to that column. Repeat the process until each row has no unmarked zeros or at least two unmarked zeros. Step-8: Examine columns successively, beginning with column 1, for a column with exactly one unmarked zero. If at least one exists, mark this zero with the symbol (D) to denote an assignment. Cross out (X) the other zeros in the same row so additional assignment will not be made to that row. Repeat the process until each column has no unmarked zeros or at least two unmarked zeros. Step-9: Repeat Steps 7 and 8 successively (if necessary) until one of the three things occurs: Step-9.1: Every row has an assignment (D). Go to Step-16. Step-9.2: There are at least two unmarked zeros in each row and each column. Go to Step-7. 78 A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82
  • 4. Step-9.3: There are no zeros left unmarked and a complete assignment has not been made. Go to Step-10. Step-10: Check ( p ) all rows for which assignment (D) has not been made. Step-11: Check ( p ) columns not already checked which have a zero in checked rows. Step-12: Check ( p ) rows not already checked which have assignments in the checked column. Step-13: Repeat Steps 11 and 12 until the chain of checking ends. Step-14: Draw lines through all unchecked rows and through all checked columns. This will necessarily give the minimum number of lines needed to cover each zero at least one time. Step-15: Examine the elements that do not have at least one line through them. Select the smallest of these and subtract it from every element in each row that contains at least one uncovered element. Add the same element to every element in each column that has a vertical line through it. Return to Step-7. Step-16: List the assignment cost and combination corresponding to sub problem. Step-17: Add assignment cost of each sub-problem to obtain the total assignment cost of the main problem, which shall be the optimal cost, and also rearrange the combinations. Step-18: Stop. 6. Illustration of an example Let us consider a problem in which a set of 3 machines M = {M1,M2,M3}, and a set of 8 jobs J = {J1,J2,J3,J4,J5,J6,J7,J8}. The assignment matrix ACM (,) contains the execution costs of every job to each machine. Steps-1 to 2: Input: 5, 8, ACMð; Þ ¼ M1 M2 M3 M4 M5 J1 300 290 280 290 210 J2 250 310 290 300 200 J3 180 190 300 190 180 J4 320 180 190 240 170 J5 270 210 190 250 160 J6 190 200 220 190 140 J7 220 300 230 180 160 J8 260 190 260 210 180. Step-3: Obtain the sum of each row and column of ACM (,), i .e., the sum of each row and each column is as follows: Sum Rowð Þ ¼ J1 J2 J3 J4 J5 J6 J7 J8 1370 1350 1040 1100 1080 0940 1090 1100; Sum Columnð Þ ¼ M1 M2 M3 M4 M5 1990 1870 1960 1850 1400. We partitioned the matrix ACM (,) to define the first sub-problem N1ACM (,) by selecting rows correspond- ing to J3,J4,J5,J6,J7 and second sub-problem N2ACM (,) by selecting rows corresponding to the jobs J1,J2,J8 and by deleting columns corresponding to M1,M3. Then the modified matrices are as follows: Sub-Problem-I: N1ACMð; Þ ¼ M1 M2 M3 M4 M5 J3 180 190 300 190 180 J4 320 180 190 240 170 J5 270 210 190 250 160 J6 190 200 220 190 140 J7 220 300 230 180 160 A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82 79
  • 5. and, Sub-Problem-II: N2ACMð; Þ ¼ M2 M4 M5 J1 290 290 210 J2 310 300 200 J8 190 210 180. Steps-4 to 16: The solution of the Sub-Problem-I, i.e., N1ACM (,) is mentioned below, and the solution of the Sub-Problem-II, i.e., N2ACM (,) is, Step-17: Thus, the total assignment cost of the main problem, i.e., ACM (,) is 1550. The final optimal assign- ments are as follows: Step-18: Stop. 7. Conclusion The present paper suggests a modified method for solving the unbalanced assignment problems. The Hun- garian method [1] gives us total assignment cost 870 along with the other three jobs assigned to dummy machine, in other words that these three jobs are ignored for further processing, while, when the original prob- lem is divided in the sub-problems, which are balanced assignment problems in nature. With the use of Hun- garian method, the total assignment cost 870 recorded for the first sub-problem along with that of none of the jobs assigned to dummy machine and total assignment cost 680 for the second sub-problem along with that of Job ! Machine Cost J3 ! M1 180 J4 ! M2 180 J5 ! M3 190 J6 ! M5 140 J7 ! M4 180 Total assignment cost = 870 Job ! Machine Cost J1 ! M4 290 J2 ! M5 200 J8 ! M2 190 Total assignment cost = 680. Job ! Machine Cost J1 ! M4 290 J2 ! M5 200 J3 ! M1 180 J4 ! M2 180 J5 ! M3 190 J6 ! M5 140 J7 ! M4 180 J8 ! M2 190. 80 A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82
  • 6. none of the jobs assigned to dummy machine. The solution of the unbalanced assignment problem, ACM (,) obtained with the help of Hungarian method is mentioned below: The present method which modifies the assignment cost matrix to form the sub-problems that give optimal assignment cost, which is the sum of total assignment costs of all sub-problems, i.e., 1550 along with neither of the jobs assigned to dummy machine nor ignored for further processing. The reasoning behind the increase in cost is that the present method executes all the jobs, while the original method does not execute all the jobs. If we take the total minimum assignment cost and total average assignment cost of those jobs, which were assigned to dummy machines in Hungarian method are 590 and 764, respectively. So that if we add this cost to the Hungarian solution then the total assignment costs would have become 1460 and 1634. The above method can also be verified by modifying the ACM (,) on the basis of above assignment of the two sub-prob- lems N1ACM (,) and N2ACM (,), i.e., to club the costs of jobs J1,J2,J8 with J4,J6,J7 on various machines. So that modify matrix of ACM (,) is NACM (,), i.e., NACMð; Þ ¼ M1 M2 M3 M4 M5 J1 J7 520 590 510 470 370 J2 J6 440 510 510 490 340 J3 180 190 300 190 180 J4 J8 580 370 450 450 350 J5 270 210 190 250 160. The solution of the NACM (,) obtained with the help of Hungarian method is mentioned below, The method is presented in algorithmic form and implemented on the several sets of input data to test the performance and effectiveness of the algorithm. The developed algorithm is coded into C++ and implemented on RISC based DEC-2000 mini computer. References [1] E. Gillett Billy, Introduction to Operations Research – A Computer Oriented Algorithmic Approach, Tata Mc-Graw Hill, New Delhi, 2000. Job ! Machine Cost J1 ! M6(Dm) 000 J2 ! M7(Dm) 000 J3 ! M1 180 J4 ! M2 180 J5 ! M3 190 J6 ! M5 140 J7 ! M4 180 J8 ! M8(Dm) 000 Total assignment cost = 870. Machine Job Cost M1 J3 180 M2 J4 * J8 370 M3 J5 190 M4 J1 * J7 470 M5 J2 * J6 340 Total assignment cost = 1550. A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82 81
  • 7. [2] K.V. Mittal, C. Mohan, Optimization Methods in Operations Research and System Analysis, New Age International Pvt. Ltd., New Delhi, 1996. [3] S.S. Rao, Optimization Theory and Applications, Wiley Eastern Ltd., New Delhi, 1991. [4] H.A. Taha, Operation Research: An Introduction, MacMillan Inc., New York, 1971. 82 A. Kumar / Applied Mathematics and Computation 176 (2006) 76–82