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.

mcq on 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.

mcq on 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.

mcq on 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.

mcq on assignment problem

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

Step 3 (Assignment):

mcq on assignment problem

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

mcq on 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.

mcq on assignment problem

∴ The given assignment problem is balanced.

Now let us find the solution.

The cost matrix of the given assignment problem is

mcq on assignment problem

Column 3 contains no zero. Go to Step 2.

mcq on assignment problem

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

mcq on assignment problem

The optimal assignment (minimum) cost = ` 9

Example 10.9

Solve the following assignment problem.

mcq on 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

mcq on 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.

mcq on assignment problem

Step 3 (Assignment) :

mcq on 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

mcq on assignment problem

The optimal assignment (minimum) cost = ₹ 35

Related Topics

Privacy Policy , Terms and Conditions , DMCA Policy and Compliant

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

Assignment Problem: Meaning, Methods and Variations | Operations Research

mcq on 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:

mcq on assignment problem

Unbalanced Assignment Problem: Definition, Formulation, and Solution Methods

Table of Contents

Are you familiar with the assignment problem in Operations Research (OR)? This problem deals with assigning tasks to workers in a way that minimizes the total cost or time needed to complete the tasks. But what if the number of tasks and workers is not equal? In this case, we face the Unbalanced Assignment Problem (UAP). This blog will help you understand what the UAP is, how to formulate it, and how to solve it.

What is the Unbalanced Assignment Problem?

The Unbalanced Assignment Problem is an extension of the Assignment Problem in OR, where the number of tasks and workers is not equal. In the UAP, some tasks may remain unassigned, while some workers may not be assigned any task. The objective is still to minimize the total cost or time required to complete the assigned tasks, but the UAP has additional constraints that make it more complex than the traditional assignment problem.

Formulation of the Unbalanced Assignment Problem

To formulate the UAP, we start with a matrix that represents the cost or time required to assign each task to each worker. If the matrix is square, we can use the Hungarian algorithm to solve the problem. But when the matrix is not square, we need to add dummy tasks or workers to balance the matrix. These dummy tasks or workers have zero costs and are used to make the matrix square.

Once we have a square matrix, we can apply the Hungarian algorithm to find the optimal assignment. However, we need to be careful in interpreting the results, as the assignment may include dummy tasks or workers that are not actually assigned to anything.

Solutions for the Unbalanced Assignment Problem

Besides the Hungarian algorithm, there are other methods to solve the UAP, such as the transportation algorithm and the auction algorithm. The transportation algorithm is based on transforming the UAP into a transportation problem, which can be solved with the transportation simplex method. The auction algorithm is an iterative method that simulates a bidding process between the tasks and workers to find the optimal assignment.

In summary, the Unbalanced Assignment Problem is a variant of the traditional Assignment Problem in OR that deals with assigning tasks to workers when the number of tasks and workers is not equal. To solve the UAP, we need to balance the matrix by adding dummy tasks or workers and then apply algorithms such as the Hungarian algorithm, the transportation algorithm, or the auction algorithm. Understanding the UAP can help businesses and organizations optimize their resource allocation and improve their operational efficiency.

How useful was this post?

Click on a star to rate it!

Average rating 1.5 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you! 😔

Let us improve this post!

Tell us how we can improve this post?

Operations Research

1 Operations Research-An Overview

  • History of O.R.
  • Approach, Techniques and Tools
  • Phases and Processes of O.R. Study
  • Typical Applications of O.R
  • Limitations of Operations Research
  • Models in Operations Research
  • O.R. in real world

2 Linear Programming: Formulation and Graphical Method

  • General formulation of Linear Programming Problem
  • Optimisation Models
  • Basics of Graphic Method
  • Important steps to draw graph
  • Multiple, Unbounded Solution and Infeasible Problems
  • Solving Linear Programming Graphically Using Computer
  • Application of Linear Programming in Business and Industry

3 Linear Programming-Simplex Method

  • Principle of Simplex Method
  • Computational aspect of Simplex Method
  • Simplex Method with several Decision Variables
  • Two Phase and M-method
  • Multiple Solution, Unbounded Solution and Infeasible Problem
  • Sensitivity Analysis
  • Dual Linear Programming Problem

4 Transportation Problem

  • Basic Feasible Solution of a Transportation Problem
  • Modified Distribution Method
  • Stepping Stone Method
  • Unbalanced Transportation Problem
  • Degenerate Transportation Problem
  • Transhipment Problem
  • Maximisation in a Transportation Problem

5 Assignment Problem

  • Solution of the Assignment Problem
  • Unbalanced Assignment Problem
  • Problem with some Infeasible Assignments
  • Maximisation in an Assignment Problem
  • Crew Assignment Problem

6 Application of Excel Solver to Solve LPP

  • Building Excel model for solving LP: An Illustrative Example

7 Goal Programming

  • Concepts of goal programming
  • Goal programming model formulation
  • Graphical method of goal programming
  • The simplex method of goal programming
  • Using Excel Solver to Solve Goal Programming Models
  • Application areas of goal programming

8 Integer Programming

  • Some Integer Programming Formulation Techniques
  • Binary Representation of General Integer Variables
  • Unimodularity
  • Cutting Plane Method
  • Branch and Bound Method
  • Solver Solution

9 Dynamic Programming

  • Dynamic Programming Methodology: An Example
  • Definitions and Notations
  • Dynamic Programming Applications

10 Non-Linear Programming

  • Solution of a Non-linear Programming Problem
  • Convex and Concave Functions
  • Kuhn-Tucker Conditions for Constrained Optimisation
  • Quadratic Programming
  • Separable Programming
  • NLP Models with Solver

11 Introduction to game theory and its Applications

  • Important terms in Game Theory
  • Saddle points
  • Mixed strategies: Games without saddle points
  • 2 x n games
  • Exploiting an opponent’s mistakes

12 Monte Carlo Simulation

  • Reasons for using simulation
  • Monte Carlo simulation
  • Limitations of simulation
  • Steps in the simulation process
  • Some practical applications of simulation
  • Two typical examples of hand-computed simulation
  • Computer simulation

13 Queueing Models

  • Characteristics of a queueing model
  • Notations and Symbols
  • Statistical methods in queueing
  • The M/M/I System
  • The M/M/C System
  • The M/Ek/I System
  • Decision problems in queueing

Operations Research

31. Using ______________ method, we can never have an unbounded solution

  • Dual simplex

32. The customers of high priority are given service over the low priority customers is ______________.

  • Pre emptive

33. A queuing system is said to be a ______________ when its operating characteristic are independent upon time

  • pure birth model
  • pure death model
  • transient state
  • steady state

34. An activity which does not consume neither any resource nor time is known as ______________.

  • predecessor activity
  • successor activity
  • dummy activity

35. The difference between total and free float is ______________.

  • independent
  • interference

36. The number of time estimates involved in Program Evaluation Review Technique problem is ______________.

37. The assignment problem is always a ______________matrix.

38. The slack variables indicate ______________.

  • excess resource available.
  • shortage of resource
  • nil resource
  • idle resource

39. If the net evaluation corresponding to any non -basic variable is zero, it is an indication of the existence of an ______________.

  • initial basic feasible solution
  • optimum basic feasible solution
  • optimum solution.
  • alternate optimum solution.

40. Mathematical model of linear programming problem is important because ______________.

  • it helps in converting the verbal description and numerical data into mathematical expression
  • decision makers prefer to work with formal models
  • it captures the relevant relationship among decision factors
  • it enables the use of algebraic technique

Search MBA MCQ.com

  • Branch and Bound Tutorial
  • Backtracking Vs Branch-N-Bound
  • 0/1 Knapsack
  • 8 Puzzle Problem
  • Job Assignment Problem
  • N-Queen Problem
  • Travelling Salesman Problem
  • Branch and Bound Algorithm
  • Introduction to Branch and Bound - Data Structures and Algorithms Tutorial
  • 0/1 Knapsack using Branch and Bound
  • Implementation of 0/1 Knapsack using Branch and Bound
  • 8 puzzle Problem using Branch And Bound

Job Assignment Problem using Branch And Bound

  • N Queen Problem using Branch And Bound
  • Traveling Salesman Problem using Branch And Bound

Let there be N workers and N jobs. Any worker can be assigned to perform any job, incurring some cost that may vary depending on the work-job assignment. It is required to perform all jobs by assigning exactly one worker to each job and exactly one job to each agent in such a way that the total cost of the assignment is minimized.

jobassignment

Let us explore all approaches for this problem.

Solution 1: Brute Force  

We generate n! possible job assignments and for each such assignment, we compute its total cost and return the less expensive assignment. Since the solution is a permutation of the n jobs, its complexity is O(n!).

Solution 2: Hungarian Algorithm  

The optimal assignment can be found using the Hungarian algorithm. The Hungarian algorithm has worst case run-time complexity of O(n^3).

Solution 3: DFS/BFS on state space tree  

A state space tree is a N-ary tree with property that any path from root to leaf node holds one of many solutions to given problem. We can perform depth-first search on state space tree and but successive moves can take us away from the goal rather than bringing closer. The search of state space tree follows leftmost path from the root regardless of initial state. An answer node may never be found in this approach. We can also perform a Breadth-first search on state space tree. But no matter what the initial state is, the algorithm attempts the same sequence of moves like DFS.

Solution 4: Finding Optimal Solution using Branch and Bound  

The selection rule for the next node in BFS and DFS is “blind”. i.e. the selection rule does not give any preference to a node that has a very good chance of getting the search to an answer node quickly. The search for an optimal solution can often be speeded by using an “intelligent” ranking function, also called an approximate cost function to avoid searching in sub-trees that do not contain an optimal solution. It is similar to BFS-like search but with one major optimization. Instead of following FIFO order, we choose a live node with least cost. We may not get optimal solution by following node with least promising cost, but it will provide very good chance of getting the search to an answer node quickly.

There are two approaches to calculate the cost function:  

  • For each worker, we choose job with minimum cost from list of unassigned jobs (take minimum entry from each row).
  • For each job, we choose a worker with lowest cost for that job from list of unassigned workers (take minimum entry from each column).

In this article, the first approach is followed.

Let’s take below example and try to calculate promising cost when Job 2 is assigned to worker A. 

jobassignment2

Since Job 2 is assigned to worker A (marked in green), cost becomes 2 and Job 2 and worker A becomes unavailable (marked in red). 

jobassignment3

Now we assign job 3 to worker B as it has minimum cost from list of unassigned jobs. Cost becomes 2 + 3 = 5 and Job 3 and worker B also becomes unavailable. 

jobassignment4

Finally, job 1 gets assigned to worker C as it has minimum cost among unassigned jobs and job 4 gets assigned to worker D as it is only Job left. Total cost becomes 2 + 3 + 5 + 4 = 14. 

jobassignment5

Below diagram shows complete search space diagram showing optimal solution path in green. 

jobassignment6

Complete Algorithm:  

Below is the implementation of the above approach:

Time Complexity: O(M*N). This is because the algorithm uses a double for loop to iterate through the M x N matrix.  Auxiliary Space: O(M+N). This is because it uses two arrays of size M and N to track the applicants and jobs.

Please Login to comment...

Similar reads.

  • Branch and Bound

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

Mcqmate logo

View all MCQs in

No comments yet

Related MCQs

  • The method used for solving an assignment problem is:
  • An assignment problem can be solved by .........................
  • The Hungarian method for solving an assignment problem can also be used to solve:
  • In a maximisation assignment problem, the objective is to maximise .............................
  • ........................... method is used to solve an assignment problem.
  • Which of the following methods is used to solve an assignment problem:
  • .................... is the popular method for solving an assignment problem.
  • If a decision theory problem has 3 decision alternatives and 4 states of nature, the number of payoffs in that problem will be
  • When total supply is equal to total demand in a transportation problem , the problem is said to be
  • A minimisation problem can be connected into maximisation problem by changing the signs of coefficients in the ...........................

IMAGES

  1. MCQ

    mcq on assignment problem

  2. MCQ on LPP

    mcq on assignment problem

  3. MCQ For Assignment

    mcq on assignment problem

  4. MCQ Assignment

    mcq on assignment problem

  5. MCQ-assignment-1-answered.pdf

    mcq on assignment problem

  6. Sample mcq

    mcq on assignment problem

VIDEO

  1. (1111111) का वर्ग (Square) Tricks #teachtech #math

  2. Assignment problem |Introduction

  3. September 16, 2021 Assignment problem| Part 2

  4. Suare any 2 Digit Number Short

  5. MCQ Chapter-9.3 + Problem Solve

  6. वृत्त का क्षेत्र πr^2 होता है क्यों ? Area of Circle πr^2 why ? #maths #teachtech #education #moti

COMMENTS

  1. Assignment MCQ [Free PDF]

    Get Assignment Multiple Choice Questions (MCQ Quiz) with answers and detailed solutions. Download these Free Assignment MCQ Quiz Pdf and prepare for your upcoming exams Like Banking, SSC, Railway, UPSC, State PSC. ... An assignment problem is solved to minimize the total processing time of four jobs (1, 2, 3 and 4) on four different machines ...

  2. MCQ Assignment

    Chapter 1: Assignment Problem. Multiple Choice Questions (MCQ) The application of assignment problems is to obtain _____. a. only minimum cost. b. only maximum profit. c. minimum cost or maximum profit. d. assign the jobs. The assignment problem is said to be unbalanced if _____. a. number of rows is greater than number of columns. b.

  3. 270+ Operations Research solved MCQs with PDF download

    Solved MCQs for Operations Research, with PDF download and FREE Mock test. Solved MCQs for Operations Research, with PDF download and FREE Mock test ... When a maximization assignment problem is converted in minimization problem, the resulting matrix is called matrix. A. cost: B. regret: C. profit: D. dummy: Answer» B. regret ...

  4. PDF ASSIGNMENT PROBLEM

    ASSIGNMENT PROBLEM 8 / 55. ASSIGMENT ALGORITHM (OR) HUNGARIAN METHOD. First check whether the number of rows is equal to number of columns, if it is so, the assignment problem is said to be balanced. Then proceed to step 1. If it is not balanced, then it should be balanced before applying the algorithm.

  5. Solution of assignment problems (Hungarian Method)

    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. Solution: Here the number of rows and columns are equal. ∴ The given assignment problem is ...

  6. Assignment Problem: Meaning, Methods and Variations

    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 ...

  7. How to Solve the Assignment Problem: A Complete Guide

    Step 1: Set up the cost matrix. The first step in solving the assignment problem is to set up the cost matrix, which represents the cost of assigning a task to an agent. The matrix should be square and have the same number of rows and columns as the number of tasks and agents, respectively.

  8. Hungarian Algorithm for Assignment Problem

    Time complexity : O(n^3), where n is the number of workers and jobs. This is because the algorithm implements the Hungarian algorithm, which is known to have a time complexity of O(n^3). Space complexity : O(n^2), where n is the number of workers and jobs.This is because the algorithm uses a 2D cost matrix of size n x n to store the costs of assigning each worker to a job, and additional ...

  9. Unbalanced Assignment Problem: Definition, Formulation, and Solution

    The Unbalanced Assignment Problem is an extension of the Assignment Problem in OR, where the number of tasks and workers is not equal. In the UAP, some tasks may remain unassigned, while some workers may not be assigned any task. The objective is still to minimize the total cost or time required to complete the assigned tasks, but the UAP has ...

  10. Assignment Problems

    In this video, we will solve the Assignment problem MCQs.Test of Optimality Part-1 video link :https://youtu.be/VAWrSOyRHJkTest of Optimality Part-2 video li...

  11. Transportation and assignment MCQs

    Transportation problem is basically a ( a) Maximisation model ( b) Minimisation model ( c) Trans-shipment problem ( d) Iconic model. The column, which is introduced in the matrix to balance the rim requirements, is known as: ( a) Key column ( b) Idle column ( c) Slack column ( d) Dummy Column. The row, which is introduced in the matrix to balance the rim requirement, is known as: ( a) Key row ...

  12. PDF OPERATIONS RESEARCH Multiple Choice Questions

    Multiple Choice Questions 1. Operations research is the application of _____methods to arrive at the optimal Solutions to the problems. A. economical B. scientific C. a and b both D. artistic 2. In operations research, the -----are prepared for situations. A. mathematical models B. physical models diagrammatic

  13. MCQ

    9. The Hungarian method is a. a way to develop an initial solution to a transportation problem. b. used to solve assignment problems. c. also called Vogel's approximation method. d. only used for problems in which the objective is to maximize profit. 10. In an assignment problem, it may be necessary to add more than one row to the table. a ...

  14. Operations Research Multiple choice Questions and Answers. Page 1

    Multiple choice Questions on Operations Research. Practice for BBA or MBA exams using these MCQ. Page 1. ... A feasible solution to a linear programming problem _____. ... An optimal assignment requires that the maximum number of lines which can be drawn through squares with zero opportunity cost should be equal to the number of _____.

  15. Operations Research Multiple choice Questions and Answers. Page 4

    Multiple choice Questions on Operations Research. Practice for BBA or MBA exams using these MCQ. Page 4. ... The assignment problem is always a _____matrix. circle; square; rectangle; triangle; View answer. Correct answer: (B) ... Mathematical model of linear programming problem is important because _____.

  16. Linear Programming MCQ Quiz

    Get Linear Programming Multiple Choice Questions (MCQ Quiz) with answers and detailed solutions. Download these Free Linear Programming MCQ Quiz Pdf and prepare for your upcoming exams Like Banking, SSC, Railway, UPSC, State PSC. ... The assignment problem is a special case of transportation problem when each origin is associated with one and ...

  17. MCQ on Transportation and Assignment problems with explanations

    In this video i have discussed some mcqs on transportation and assignment problems. In every mcq options have been eliminated with justification and numerica...

  18. Job Assignment Problem using Branch And Bound

    Solution 1: Brute Force. We generate n! possible job assignments and for each such assignment, we compute its total cost and return the less expensive assignment. Since the solution is a permutation of the n jobs, its complexity is O (n!). Solution 2: Hungarian Algorithm. The optimal assignment can be found using the Hungarian algorithm.

  19. MCQs on Transportation & Assignment Problems| CSIR-UGC-NET

    Short Cut Tricks and Tips to solve the MCQ related to Transportation Problems.See the below full playlist of Optimization Techniques: https://www.youtube.com...

  20. [Solved] The assignment problem

    The assignment problem A. Requires that only one activity be assigned to each resource: B. Is a special case of transportation problem: C. Can be used to maximize resources ... Related MCQs. An assignment problem is considered as a particular case of a transportation problem because

  21. [Solved] The assignment problem is:

    The assignment problem is: A. Requires that only one activity be assigned to each resource: B. Is a special case of transportation problem: C. Can be used to maximise resource: D. All the above: Answer» D. ... Related MCQs. The method used for solving an assignment problem is: