Assignment Problem: Meaning, Methods and Variations | Operations Research

dummy row in assignment problem

After reading this article you will learn about:- 1. Meaning of Assignment Problem 2. Definition of Assignment Problem 3. Mathematical Formulation 4. Hungarian Method 5. Variations.

Meaning of Assignment Problem:

An assignment problem is a particular case of transportation problem where the objective is to assign a number of resources to an equal number of activities so as to minimise total cost or maximize total profit of allocation.

The problem of assignment arises because available resources such as men, machines etc. have varying degrees of efficiency for performing different activities, therefore, cost, profit or loss of performing the different activities is different.

Thus, the problem is “How should the assignments be made so as to optimize the given objective”. Some of the problem where the assignment technique may be useful are assignment of workers to machines, salesman to different sales areas.

Definition of Assignment Problem:

ADVERTISEMENTS:

Suppose there are n jobs to be performed and n persons are available for doing these jobs. Assume that each person can do each job at a term, though with varying degree of efficiency, let c ij be the cost if the i-th person is assigned to the j-th job. The problem is to find an assignment (which job should be assigned to which person one on-one basis) So that the total cost of performing all jobs is minimum, problem of this kind are known as assignment problem.

The assignment problem can be stated in the form of n x n cost matrix C real members as given in the following table:

dummy row in assignment problem

Solution:  Convert the 4 × 5 matrix into a square matrix by adding a dummy row D5.

Dummy Row D5 Added

topic 5.2.png

Row-wise Reduction of the Matrix

topic 5.3.png

Column-wise reduction is not necessary since all columns contain a single zero. Now, draw minimum number of lines to cover all the zeros, as shown in Table.

All Zeros in the Matrix Covered

topic 5.4.png

Number of lines drawn ≠ Order of matrix. Hence not optimal.

Select the least uncovered element, i.e., 1, subtract it from other uncovered elements, add to the elements at intersection of lines and leave the elements that are covered with single line unchanged as shown in Table.

Subtracted or Added to Elements

topic 5.5.png

Again Added or Subtracted 1 from Elements

topic 5.6

Number of lines drawn = Order of matrix. Hence optimality is reached. Now assign the jobs to machines, as shown in Table.

Assigning Jobs to Machines

topic 5.7.png

Example :  In a plant layout, four different machines M1, M2, M3 and M4 are to be erected in a machine shop. There are five vacant areas A, B, C, D and E. Because of limited space, Machine M2 cannot be erected at area C and Machine M4 cannot be erected at area A. The cost of erection of machines is given in the Table.

topic 5.9.png

Find the optimal assignment plan.

Solution:  As the given matrix is not balanced, add a dummy row D5 with zero cost values. Assign a high cost H for (M2, C) and (M4, A). While selecting the lowest cost element neglect the high cost assigned H, as shown in Table below.

topic 5.10

– Row-wise reduction of the matrix is shown in Table.

Matrix Reduced Row-wise

topic 5.11.png

Note:  Column-wise reduction is not necessary, as each column has at least one single zero. Now, draw minimum number of lines to cover all the zeros, see Table.

Lines Drawn to Cover all Zeros

topic 5.12.png

Number of lines drawn ≠ Order of matrix. Hence not Optimal. Select the smallest uncovered element, in this case 1. Subtract 1 from all other uncovered element and add 1 with the elements at the intersection. The element covered by single line remains unchanged. These changes are shown in Table. Now try to draw minimum number of lines to cover all the zeros.

Added or Subtracted 1 from Elements

topic 5.13.png

Now number of lines drawn = Order of matrix, hence optimality is reached. Optimal assignment of machines to areas are shown in Table.

Optimal Assignment

topic 5.14.png

Hence, the optimal solution is:

topic 5.15.png

Share this:

You might also like, linear programming meaning and assumption, report writing, pre-feasibility study, 2 thoughts on “ unbalanced assignment problems ”.

  • Pingback: GGSIPU(NEW DELHI) QUANTITATIVE TECHNIQUE – 2ND SEMESTER – STUDY MBA & BBA NOTES
  • Pingback: CCSU(BBA) 406 Operation Research – Home | Management

Leave a Reply Cancel reply

Assignment Problem

  • Feb 20, 2024

The assignment problem is a special case of transportation problem.

Suppose there are $n$ jobs to be performed and $n$ persons are available for these jobs. Assume that each person can do each job at a time, though with varying degree of efficiency.

Let $c_{ij}$ be the cost if the $i^{th}$ person is assigned the $j^{th}$ job. Then the problem is to find an assignment so that the total cost of performing all jobs is minimum. (i.e., which job should be assigned to which person with minimum cost). Such problem is called an Assignment Problem (AP).

The tabular form of the assignment problem is as follows

The above table is called the $n\times n$ cost-matrix, where $c_{ij}$ are real numbers.

Thus the objective in the Assignment Problem is to assign a number of jobs to the equal number of persons at a minimum cost or maximum profit. e.g. assigning men to offices, classes to rooms, drivers to trucks, problems to research teams etc.

Mathematical Formulation of AP

Mathematically, the AP can be stated as $$ \begin{equation}\label{eq2.4} \min z = \sum_{i=1}^n\sum_{j=1}^n x_{ij} c_{ij}. \end{equation} $$ subject to $$ \begin{equation}\label{eq2.5} \sum_{j=1}^n x_{ij} =1,; \text{ for } i=1,2,\ldots, n \end{equation} $$

$$ \begin{equation}\label{eq2.6} \sum_{i=1}^n x_{ij} =1,; \text{ for } j=1,2,\ldots,n \end{equation} $$ where $$ \begin{equation*} x_{ij}=\left{ \begin{array}{ll} 1, & \hbox{if $i^{th}$ person is assigned $j^{th}$ job;} \ 0, & \hbox{otherwise.} \end{array} \right. \end{equation*} $$ Constraint \eqref{eq2.5} indicate that one job is done by $i^{th}$ person $i=1,2,\ldots, n$ and constraint \eqref{eq2.6} indicate that one person should be assigned $j^{th}$ job $j=1,2,\ldots, n$.

It may be observed from the above formulation that AP is a special type of Linear programming problem.

Unbalanced Assignment Problem

If the cost matrix of an assignment problem is not a square matrix, the assignment problem is called an Unbalanced Assignment Problem . In such a case, add dummy row or dummy column with zero cost in the cost matrix so as to form a square matrix. Then apply the usual assignment method to find the optimal solution.

Maximal Assignment Problem

Sometimes, the assignment problem deals with the maximization of an objective function instead of minimization.. For example, it may be required to assign persons to jobs in such a way that the expected profit is maximum. In such a case, first convert the problem of maximization to minimization and apply the usual procedure of assignment.

The assignment problem of maximization type can be converted to minimization type by subtracting all the elements of the given profit matrix from the largest element.

Restrictions on Assignment

Sometimes due to technical or other difficulties do not permit the assignment of a particular facility to a particular job. In such a situation, the difficulty can be overcome by assigning a very high cost (say, infinity i.e. $\infty$) to the corresponding cell.

Because of assigning an infinite penalty to such a cell the activity will be automatically excluded from the optimal solution. Then apply the usual procedure to find the optimal assignment.

dummy row in assignment problem

Procedure, Example Solved Problem | Operations Research - Solution of assignment problems (Hungarian Method) | 12th Business Maths and Statistics : Chapter 10 : Operations Research

Chapter: 12th business maths and statistics : chapter 10 : operations research.

Solution of assignment problems (Hungarian Method)

First check whether the number of rows is equal to the numbers of columns, if it is so, the assignment problem is said to be balanced.

Step :1 Choose the least element in each row and subtract it from all the elements of that row.

Step :2 Choose the least element in each column and subtract it from all the elements of that column. Step 2 has to be performed from the table obtained in step 1.

Step:3 Check whether there is atleast one zero in each row and each column and make an assignment as follows.

dummy row in assignment problem

Step :4 If each row and each column contains exactly one assignment, then the solution is optimal.

Example 10.7

Solve the following assignment problem. Cell values represent cost of assigning job A, B, C and D to the machines I, II, III and IV.

dummy row in assignment problem

Here the number of rows and columns are equal.

∴ The given assignment problem is balanced. Now let us find the solution.

Step 1: Select a smallest element in each row and subtract this from all the elements in its row.

dummy row in assignment problem

Look for atleast one zero in each row and each column.Otherwise go to step 2.

Step 2: Select the smallest element in each column and subtract this from all the elements in its column.

dummy row in assignment problem

Since each row and column contains atleast one zero, assignments can be made.

Step 3 (Assignment):

dummy row in assignment problem

Thus all the four assignments have been made. The optimal assignment schedule and total cost is

dummy row in assignment problem

The optimal assignment (minimum) cost

Example 10.8

Consider the problem of assigning five jobs to five persons. The assignment costs are given as follows. Determine the optimum assignment schedule.

dummy row in assignment problem

∴ The given assignment problem is balanced.

Now let us find the solution.

The cost matrix of the given assignment problem is

dummy row in assignment problem

Column 3 contains no zero. Go to Step 2.

dummy row in assignment problem

Thus all the five assignments have been made. The Optimal assignment schedule and total cost is

dummy row in assignment problem

The optimal assignment (minimum) cost = ` 9

Example 10.9

Solve the following assignment problem.

dummy row in assignment problem

Since the number of columns is less than the number of rows, given assignment problem is unbalanced one. To balance it , introduce a dummy column with all the entries zero. The revised assignment problem is

dummy row in assignment problem

Here only 3 tasks can be assigned to 3 men.

Step 1: is not necessary, since each row contains zero entry. Go to Step 2.

dummy row in assignment problem

Step 3 (Assignment) :

dummy row in assignment problem

Since each row and each columncontains exactly one assignment,all the three men have been assigned a task. But task S is not assigned to any Man. The optimal assignment schedule and total cost is

dummy row in assignment problem

The optimal assignment (minimum) cost = ₹ 35

Related Topics

amozon

Privacy Policy , Terms and Conditions , DMCA Policy and Compliant

Copyright © 2018-2024 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.

  • Practice Mathematical Algorithm
  • Mathematical Algorithms
  • Pythagorean Triplet
  • Fibonacci Number
  • Euclidean Algorithm
  • LCM of Array
  • GCD of Array
  • Binomial Coefficient
  • Catalan Numbers
  • Sieve of Eratosthenes
  • Euler Totient Function
  • Modular Exponentiation
  • Modular Multiplicative Inverse
  • Stein's Algorithm
  • Juggler Sequence
  • Chinese Remainder Theorem
  • Quiz on Fibonacci Numbers

Transportation Problem | Set 5 ( Unbalanced )

  • Transportation Problem Set 8 | Transshipment Model-1
  • Transportation Problem | Set 1 (Introduction)
  • Transportation Problem | Set 6 (MODI Method - UV Method)
  • Transportation Problem | Set 7 ( Degeneracy in Transportation Problem )
  • Transportation Problem | Set 3 (Least Cost Cell Method)
  • Transportation Problem | Set 4 (Vogel's Approximation Method)
  • Transportation Problem | Set 2 (NorthWest Corner Method)
  • Bitonic Travelling Salesman Problem
  • Unbounded Knapsack (Repetition of items allowed)
  • Number of stopping station problem
  • Travelling Salesman Problem using Dynamic Programming
  • Python Program for Number of stopping station problem
  • Travelling Salesman Problem using Hungarian method
  • Traveling Salesman Problem (TSP) Implementation
  • Problem on Trains, Boat and streams
  • Hidden Station Problem (HSP) in Wireless LAN
  • C Program for Number of stopping station problem
  • QA - Placement Quizzes | Ratio and Proportion | Question 1
  • WIPRO Placement Paper 1 | Written Test

An introduction to the transportation problem has been discussed in

article. In this article, the method to solve the unbalanced transportation problem will be discussed. Below transportation problem is an unbalanced transportation problem.

dummy row in assignment problem

The problem is unbalanced because the sum of all the supplies i.e.

is not equal to the sum of all the demands i.e.

In this type of problem, the concept of a dummy row or a dummy column will be used. As in this case, since the supply is more than the demand so a dummy demand column will be added and a demand of (total supply – total demand) will be given to that column i.e.

117 – 95 = 22

as shown in the image below. If demand were more than the supply then a dummy supply row would have been added.

dummy row in assignment problem

Now that the problem has been updated to a balanced transportation problem, it can be solved using any one of the following methods to solve a balanced transportation problem as discussed in the earlier posts:

  • NorthWest Corner Method
  • Least Cost Cell Method
  • Vogel’s Approximation Method

author

Please Login to comment...

Similar reads.

  • Mathematical

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

COMMENTS

  1. Assignment model, Part-5 : Unbalanced assignment problems ...

    Before applying Hungarian method, form a balanced / square matrix..Add dummy rows ..Add dummy columns ..

  2. Assignment Problem: Meaning, Methods and Variations ...

    Variations of the Assignment Problems: Unbalanced Assignment Problem: Any assignment problem is said to be unbalanced if the cost matrix is not a square matrix, i.e. the no of rows and the no of columns are not equal. To make it balanced we add a dummy row or dummy column with all the entries is zero. Example 3:

  3. Module 4: Transportation Problem and Assignment problem

    transportation problem. In this type of problem, either a dummy row or a dummy column is added according to the requirement to make it a balanced problem. Then it can be solved similar to the balanced problem. Methods to Solve: To find the initial basic feasible solution there are three methods: 1. NorthWest Corner Cell Method. 2. Least Call ...

  4. Unbalanced Assignment Problems - theintactone

    10 Feb 2019. Whenever the cost matrix of an assignment problem is not a square matrix, that is, whenever the number of sources is not equal to the number of destinations, the assignment problem is called an unbalanced assignment problem. In such problems, dummy rows (or columns) are added in the matrix so as to complete it to form a square matrix.

  5. Assignment Problem - VrcAcademy

    Unbalanced Assignment Problem. If the cost matrix of an assignment problem is not a square matrix, the assignment problem is called an Unbalanced Assignment Problem. In such a case, add dummy row or dummy column with zero cost in the cost matrix so as to form a square matrix. Then apply the usual assignment method to find the optimal solution.

  6. Solution of assignment problems (Hungarian Method) - BrainKart

    Solve the following assignment problem. Solution: Since the number of columns is less than the number of rows, given assignment problem is unbalanced one. To balance it , introduce a dummy column with all the entries zero. The revised assignment problem is. Here only 3 tasks can be assigned to 3 men.

  7. Assignment problem - Wikipedia

    The assignment problem is a fundamental combinatorial optimization problem. In its most general form, the problem is as follows: The problem instance has a number of agents and a number of tasks. Any agent can be assigned to perform any task, incurring some cost that may vary depending on the agent-task assignment.

  8. Transportation Problem | Set 5 ( Unbalanced ) - GeeksforGeeks

    In this type of problem, the concept of a dummy row or a dummy column will be used. As in this case, since the supply is more than the demand so a dummy demand column will be added and a demand of (total supply – total demand) will be given to that column i.e. 117 – 95 = 22. as shown in the image below.

  9. Chapter8 ASSIGNMENT PROBLEM - theengineeringmaths.com

    Connection Between Transportation and Assignment Problem An assignment problem is a special case of transportation problem in which m = n, all a i and b j are unity and each is limited to either 0 or 1. Hungarian Method for Solving an Assignment Problem 1. Prepare a square n n matrix. If not, make it square by adding suitable number of dummy ...

  10. An Alternative Approach Assignment Problems for

    tasks. Such problems can be termed as unbalanced assignment problem. The effectiveness matrix in this case will not be a square matrix. In such problems, dummy row(s) or dummy column(s) are added in the matrix so as to complete it to form a square matrix. In traditional approach, costs in