<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AJOR</journal-id><journal-title-group><journal-title>American Journal of Operations Research</journal-title></journal-title-group><issn pub-type="epub">2160-8830</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ajor.2016.66040</article-id><article-id pub-id-type="publisher-id">AJOR-71967</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Proposed Heuristic Method for Solving Assignment Problems
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>S.</surname><given-names>K. Amponsah</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>D.</surname><given-names>Otoo</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>S.</surname><given-names>Salhi</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>E.</surname><given-names>Quayson</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>Department of Mathematics and Statistics, University of Energy and Natural Recourses, Sunyani, Ghana</addr-line></aff><aff id="aff1"><addr-line>Department of Mathematics, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana</addr-line></aff><aff id="aff3"><addr-line>Management Science Group, University of Kent, Kent, UK</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>dominicotoo@rocketmail.com(DO)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>28</day><month>10</month><year>2016</year></pub-date><volume>06</volume><issue>06</issue><fpage>436</fpage><lpage>441</lpage><history><date date-type="received"><day>July</day>	<month>24,</month>	<year>2016</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>November</month>	<year>11,</year>	</date><date date-type="accepted"><day>November</day>	<month>14,</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Assignment of jobs to workers, contract to contractors undergoing a bidding process, assigning nurses to duty post, or time tabling for teachers in school and many more have become a growing concern to both management and sector leaders alike. Hungarian algorithm has been the most successful tool for solving such problems. The authors have proposed a heuristic method for solving assignment problems with less computing time in comparison with Hungarian algorithm that gives comparable results with an added advantage of easy implementation. The proposed heuristic method is used to compute some bench mark problems.
 
</p></abstract><kwd-group><kwd>Assignment Problem</kwd><kwd> Hungarian Algorithm</kwd><kwd> Heuristic</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The Assignment Problem (AP), also known as the maximum weighted bipartite matching problem, is a special type of Linear Programming Problem (LPP), in which the objective is to assign number of jobs to number of workers at a minimum cost (time). The mathematical formulation of the problem suggests that this is an integer programming problem and is highly degenerated. All the algorithms developed to find optimal solution of transportation problem are applicable to assignment problem. However, due to its highly degeneracy nature, a specially designed algorithm widely known as Hungarian method proposed by Kuhn [<xref ref-type="bibr" rid="scirp.71967-ref1">1</xref>] is used for its solution. The assignment problem, also known as the maximum weighted bipartite matching problem, is a widely-studied problem applicable to many domains, specifically for maximization of output or minimization of cost. It can be stated as follows: given a bipartite graph made up of two partitions V and U, and a set of weighted edges E between the two partitions, the problem requires the selection of a subset of the edges with a maximum sum of weights such that each node <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1040403x2.png" xlink:type="simple"/></inline-formula> or <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1040403x3.png" xlink:type="simple"/></inline-formula> is connected to at most one edge. The problem may also be phrased as a minimization problem by considering, instead of edge weights<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1040403x4.png" xlink:type="simple"/></inline-formula>, a set of non-negative edge costs, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1040403x5.png" xlink:type="simple"/></inline-formula>, where W is at least as large as the maximum of all the edge weights. It can also be stated as: how to determine the best possible assignment of workers to jobs, such that the total ratings are maximized [<xref ref-type="bibr" rid="scirp.71967-ref2">2</xref>] .</p></sec><sec id="s2"><title>2. Related Works</title><p>Franses and Gerhard [<xref ref-type="bibr" rid="scirp.71967-ref3">3</xref>] studied an assignment problem particular to the personnel scheduling of organisations such as laboratories. Here the authors have to assign tasks to employees. The authors focused on the situation where this assignment problem reduces to constructing maximal matchings in a set of interrelated bipartite graphs. The authors described in detail how the continuity of tasks over the week is achieved to suit the wishes of the planner. Turkish Armed Forces assign thousands of personnel to vacant positions every year, and want to utilize the personnel to a maximum extent by assigning the right person to the right job, while taking into consideration the hierarchy constraint, Cimen [<xref ref-type="bibr" rid="scirp.71967-ref4">4</xref>] .</p><p>Toroslu and Arslanoglu [<xref ref-type="bibr" rid="scirp.71967-ref5">5</xref>] , presented variations of the standard assignment problem with matching constraints by introducing structures in the partitions of the bipartite graph, and by defining constraints on these structures.</p><p>Naveh et al. [<xref ref-type="bibr" rid="scirp.71967-ref6">6</xref>] presented a novel solution designed to bridge the gap between the need for high-quality matches and the need for timeliness. By applying constraint programming, a subfield of artificial intelligence, the authors dealt successfully with the complex constraints encountered in the field and reach near-optimal assignments that take into account all resources and positions in the pool.</p><p>Katta and Jay [<xref ref-type="bibr" rid="scirp.71967-ref7">7</xref>] presented the problem of allocating a set of indivisible objects to agents in a fair and efficient manner.</p><p>Bogomolnaia and Moulin [<xref ref-type="bibr" rid="scirp.71967-ref8">8</xref>] considered the case in which all agents have strict preferences, and proposed the Probabilistic Serial (PS) mechanism; they defined a new notion of efficiency, called ordinal efficiency, and prove that the probabilistic serial mechanism finds an envy-free ordinarily efficient assignment.</p><p>Zhang and Bard [<xref ref-type="bibr" rid="scirp.71967-ref9">9</xref>] studied a multi-period assignment problem that arises as part of a weekly planning problem at mail processing and distribution centres.</p><sec id="s2_1"><title>2.1. The Assignment Problem</title><p>Suppose we have n resources to which we want to assign to n tasks on a one-to-one basis. Suppose also that we know the cost of assigning a given resource to a given task. We wish to find an optimal assignment?one which minimizes total cost.</p></sec><sec id="s2_2"><title>2.2. Mathematical Model</title><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1040403x6.png" xlink:type="simple"/></inline-formula> be the cost of assigning the ith resource to the jth task. We define the cost matrix to be the n &#215; n matrix</p><disp-formula id="scirp.71967-formula91"><graphic  xlink:href="http://html.scirp.org/file/2-1040403x7.png"  xlink:type="simple"/></disp-formula><p>An assignment is a set of n entry positions in the cost matrix, no two of which lie in the same row or column. The sum of the n entries of an assignment is its cost. An assignment with the smallest possible cost is called an optimal assignment. The assignment problem can be written mathematically as:</p><p>Minimize</p><disp-formula id="scirp.71967-formula92"><graphic  xlink:href="http://html.scirp.org/file/2-1040403x8.png"  xlink:type="simple"/></disp-formula></sec><sec id="s2_3"><title>2.3. Hungarian Method</title><p>The following algorithm applies the above theorem to a given n &#215; n cost matrix to find an optimal assignment.</p><p>Step 1: Subtract the smallest entry in each row from all the entries of its row.</p><p>Step 2: Subtract the smallest entry in each column from all the entries of its column.</p><p>Step 3: Draw lines through appropriate rows and columns so that all the zero entries of the cost matrix are covered and the minimum number of such lines is used.</p><p>Step 4: Test for Optimality:</p><p>i) If the minimum number of covering lines is n, an optimal assignment of zeros is possible and we are finished.</p><p>ii) If the minimum number of covering lines is less than n, an optimal assignment of zeros is not yet possible. In that case, proceed to Step 5.</p><p>Step 5: Determine the smallest entry not covered by any line. Subtract this entry from each uncovered row, and then add it to each covered column. Return to Step 3.</p></sec><sec id="s2_4"><title>2.4. Penalty method (Proposed Heuristic Method)</title><p>The algorithm for n &#215; n cost matrix using the proposed heuristic method is as shown below.</p><p>・ Compute row/column penalties by subtracting the least entry from the next least;</p><p>・ Select the two maximum penalties from the row or column penalties. Use the maximum penalties to select the least cost among these penalties.</p><p>・ Cross-out the row and column on which the minimum cost is located</p><p>・ If there is a tie of the minimum cost from the same row or the same column, choose the cost of the third maximum penalty</p><p>・ Break ties arbitrary when there is a tie on the cost from maximum row and column penalty</p><p>・ If the least cost emanating from maximum penalty has its corresponding row or column penalty as zero, choose the least cost from the next maximum penalty.</p><p>・ Repeat bullet two</p><p>・ Stopping criteria: stop when all rows and columns have been crossed out.</p></sec></sec><sec id="s3"><title>3. Comparative Results Using the Hungarian and the Proposed Method</title><p>The following examples give the optimal results from the two methods and their computing time. The two algorithms were coded using C++ on</p></sec><sec id="s4"><title>4. Results and Conclusion</title><p>Test computation from a randomly generated numbers with our proposed heuristic method gave comparable results compared with that of Hungarian method. However, the computational time and convergence rate of the proposed method showed much less time than that of the Hungarian method.</p></sec><sec id="s5"><title>Cite this paper</title><p>Amponsah, S.K., Otoo, D., Salhi, S. and Quayson, E. (2016) Proposed Heuristic Method for Solving Assignment Problems. American Journal of Operations Research, 6, 436-441. http://dx.doi.org/10.4236/ajor.2016.66040</p></sec></body><back><ref-list><title>References</title><ref id="scirp.71967-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Bogomolnaia, A. and Moulin, H. (2001) New Solution to the Random Assignment Problem. Journal of Economic Theory, 100, 295-328. http://dx.doi.org/10.1006/jeth.2000.2710</mixed-citation></ref><ref id="scirp.71967-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Cimen, Z. (2001) A Multi-Objective Decision Support Model for the Turkish Armed Forces Personnel Assignment System. Department of Operational Sciences, Air Force Institute of Technology, Ohio.</mixed-citation></ref><ref id="scirp.71967-ref3"><label>3</label><mixed-citation publication-type="book" xlink:type="simple">Franses, P. and Gerhard, P. (2003) Personnel Scheduling in Laboratories. In: Burke, E. and De Causmaecker, P., Eds., Practice and Theory of Automated Timetabling IV, Vol. 2740, Lecture Notes in Computer Science, Springer Berlin, Heidelberg, 113-119.</mixed-citation></ref><ref id="scirp.71967-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Katta and Jay (2005) Fair and Efficient Assignment via the Probabilistic Serial Mechanism.</mixed-citation></ref><ref id="scirp.71967-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Kuhn, H.W. (1955) The Hungarian Method for the assignment problem. Naval Research Logistics Quarterly, 2, 83-97. http://dx.doi.org/10.1002/nav.3800020109</mixed-citation></ref><ref id="scirp.71967-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Munkres, J. (1957) Algorithms for the Assignment and Transportation Problems. Journal of the Society for Industrial and Applied Mathematics, 5, 32-38. 
http://dx.doi.org/10.1137/0105003</mixed-citation></ref><ref id="scirp.71967-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Naveh, Y., Richter, Y., Altshuler, Y., Gresh, D.L. and Connors, D.P. (2007) Workforce Optimization: Identification and Assignment of Professional Workers Using Constraint Programming. IBM Journal of Research and Development, Business Optimization Archive, 51, 263-279. http://dx.doi.org/10.1147/rd.513.0263</mixed-citation></ref><ref id="scirp.71967-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Yilmaz, A. and Toroslu, I.H. (2011) Adaptation and Fine-Tuning of the Weighted Sum Method on Personnel Assignment Problem with Hierarchical Ordering and Team Constraints. 26th International Symposium on Computer and Information Sciences, London, 26-28 September 2011, 571-576.</mixed-citation></ref><ref id="scirp.71967-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, X. and Bard, J.F. (2005) Equipment Scheduling at Mail Processing and Distribution Centers. IIE Transactions, 37, 175-187. http://dx.doi.org/10.1080/07408170590885657</mixed-citation></ref></ref-list></back></article>