Project Report On Assignment Problem
Project Report On Assignment Problem
EXECUTIVE SUMMARY
Assignment problems arise in different situations where we have to find an optimal way to assign n objects to m other objects in an injective fashion. Depending on the objective we want to optimize, we obtain different problems ranging from linear assignment problems to quadratic and higher dimensional assignment problems. The assignment problems are a well studied topic in combinatorial optimization. These problems find numerous applications in production planning, telecommunication, VLSI design, economics, etc. They can be classified into three groups: linear assignment problems, three and higher dimensional assignment problems, and quadratic assignment problems and problems related to it. For each group of problems we mention some applications, show some basic properties and describe briefly some of the most successful algorithms used to solve these problems. Although assignment problem can be solved using the techniques of Linear Programming or the transportation method, the assignment method is much faster and efficient. This method was developed by D. Konig, a Hungarian mathematician and is therefore known as the Hungarian method of assignment problem. So we will try to figure out the application of assignment problem with a case on NASA astronaut assignment to space missions and will see how excel solver can be applied to solve this kind of problems.
Table of Contents
Table of Contents................................................................................................... 3 2.1 Application Areas of Assignment Problem..............................................................................5 2.2 Formulation Of The Problem...................................................................................................5 2.3 Solution Methods ......................................................................................................................6 2.4 Hungarian Method....................................................................................................................6 3.1 A Case of Assignment Problem...............................................................................................11 3.2 Solution to the Case.................................................................................................................12 References:..........................................................................................................18
Chapter 1
1.1 Introduction
to Assignment Problems
In the world of trade Business Organisations are confronting the conflicting need for optimal utilization of their limited resources among competing activities. When the information available on resources and relationship between variables is known we can use LP very reliably. The course of action chosen will invariably lead to optimal or nearly optimal results. The assignment problem is a special case of transportation problem in which the objective is to assign a number of origins to the equal number of destinations at the minimum cost (or maximum profit). It involves assignment of people to projects, jobs to machines, workers to jobs and teachers to classes etc., while minimizing the total assignment costs. One of the important characteristics of assignment problem is that only one job (or worker) is assigned to one machine (or project). Hence the number of sources are equal the number of destinations and each requirement and capacity value is exactly one unit. Although assignment problem can be solved using the techniques of Linear Programming or the transportation method, the assignment method is much faster and efficient. This method was developed by D. Konig, a Hungarian mathematician and is therefore known as the Hungarian method of assignment problem. In order to use this method, one needs to know only the cost of making all the possible assignments. Each assignment problem has a matrix (table) associated with it. Normally, the objects (or people) one wishes to assign are expressed in rows, whereas the columns represent the tasks (or things) assigned to them. The number in the table would then be the costs associated with each particular assignment. It may be noted that the assignment problem is a variation of transportation problem with two characteristics.(i)the cost matrix is a square matrix, and (ii)the optimum solution for the problem would be such that there would be only one assignment in a row or column of the cost matrix .
Chapter 2
2.1 Application Areas of Assignment Problem
Though assignment problem finds applicability in various diverse business situations, we discuss some of its main application areas: (i) In assigning machines to factory orders. (ii) In assigning sales/marketing people to sales territories. (iii) In assigning contracts to bidders by systematic bid-evaluation. (iv) In assigning teachers to classes. (v) In assigning accountants to accounts of the clients.
C11
C12
C13
.....C1j
......C1n
C21
C22
C23
......C2j
......C2n
.. .. .. ..i 5
.. .. .. Ci1
.. .. .. Ci2
.. .. .. Ci3
.. .. .. Cij
.. .. .. Cin
Now the problem is which work is to be assigned to whom so that the cost of completion of work will be minimum.
Hungarian method As i am going to use Hungarian Method for solving the case so i will briefly describe about the method here.
10
Chapter 3
3.1 A Case of Assignment Problem
NASAS astronaut crew currently includes 10 mission specialists who hold the doctoral degree in either astrophysics or astromedicine. One of these specialists will be assigned to each of the 10 flights scheduled for the upcoming 9 months. Mission specialists are responsible for carrying out scientific and medical experiments in space or for launching, retrieving or repairing satellites. The chief of Astronaut personnel, himself a former crew member with three missions under his belt, must decide who should be assigned and trained for each of the very different missions. Clearly, astronauts with medical educations are more suited to other types of missions. The chief assigns each astronaut a rating on a scale of 1 to 10 for each possible mission, with 10 being a perfect match for the task at hand and a 1 being a mismatch. Only one specialist is assigned to each flight, and none is reassigned until all others have flown at least once. A) Who should be assigned to which flight?
B) NASA has just been notified that Anderson is getting married in February and has been
granted a highly sought publicity tour in Europe that month. (He intends to take his wife and let the trip double as a honeymoon) How does this change the final schedule? C) Creto has complained that he was misrated on his January missions. Both ratings should be 10s, he claims to the chief, who agrees and recomputes the schedule. Do any changes occur over the schedule set in part (b)? D) What are the strengths and weaknesses of this approach to scheduling?
11
Using Solver
Setting up the LP in Solver When all of the LP components have been entered into the worksheet and given names, Bring up Solver using the Tools Solver... menu. There are four main elements of the solver:
12
13
In Solver we add all the constraints and target cell as well as we set the solver to Maximization type as we have to take in consideration the Astronauts with maximum rating points.
Solver Output Options Pressing the Solve button runs Solver. Depending on the size of the LP, it may take some time for Solver to get ready. If Solver reaches a solution, a new dialog box will appear and prompt you to either accept the solution or restore the original worksheet values. At this point you may also choose to see a number of output reports. The Answer report provides a
14
Hence assignments for each astronaut can be given as follows: Vincze Viet Anderson Herbert Schatz Plane Certo Moses Brandon Drtina Mar-26 April-12 Feb-26 Feb-05 Jan-12 June-09 Sep-19 May-01 Aug-20 Jan-27
Hence, we see that each astronaut has been allocated to a different mission. Total rating has been 96
15
sought publicity tour in Europe that month so he cant be assigned to any mission in February. So we would put 0 rating for him in the month of February. That is the only change in the main table and how it will affect the current solution we will see in the solution which we will obtain after solving the problem through excel.
Now on solving the problem through solver we get the following Solution:
Mar-26 April-12 Aug-20 Feb-05 Jan-12 June-09 Sep-19 May-01 Feb-26 Jan-27
So we see that there has been a change in the total score and it has gone up by 1 to 93. But the assignments of astronauts have remained same. D) The strengths and weaknesses of this approach to scheduling are given as follows:
Strengths: Solvers, or optimizers, are software tools that help users find the best way to allocate scarce resources. The resources may be raw materials, machine time or people time,
17
Sometimes due to technical glitches it may give faulty result which may not be optimized. Also when we are assigning values to cell small error can have big impact. It does not take into consideration the effect of time and uncertainty. There may be cases of infeasibility and un-bounded.
References:
1) Quantitative Analysis for Management by Barry Render, Ralph M. Stair, Michael Hanna, T.N. Badri. (Pearson, 10th Edition) Transportation and assignment models Question No. 10-40. 2) The Dynamic Hungarian Algorithm for the Assignment Problem with Changing Costs G. Ayorkor Mills, Tettey Anthony Stentz ,M. Bernardine Dias, CMU-RI-TR-0727 July 2007 Robotics Institute, Carnegie Mellon Date of Access: 28th September 2011 3) http://www.nios.ac.in/srsec311/opt-lp5.pdf Date of Access: 28th September 2011 4) http://mike.mccreavy.com/hungarian-assignment-problem.pdf Date of Access: 28th September 2011 5) http://www.ams.jhu.edu/~castello/362/Handouts/hungarian.pdf Date of Access: 28th September 2011
18