The Hungarian Method For The Assignment Problem Wi
The Hungarian Method For The Assignment Problem Wi
1. INTRODUCTION
Assignment problem describes that one individual be able to perform one work at a time, to get
the optimal solution by maximize the total profit (or) minimize the total cost. Assignment problem
can be declared in the form of m x n matrix (cij) also known as Cost matrix, where cij is the cost of
assigning ith device to jth job as ‘n’ works to be performed on ‘m’ machine (one work to one machine).
This is also known as Fully interval Assignment problem, it can be solved by using a known process
called Hungarian method . Jayalakshmi [6] introduced computation of intervals without using
arithmetic operations, as decomposed FIAP into crisp AP using midpoint technique. Sarangam
Majumdar [11] proposed interval Assignment method to solve real world linear problems whose cost
matrix are in interval form. Ramesh Kumar A et.al [8][9] proposed the application of assignment
problem and converting crisp AP into interval forms. For both maximization and minimization of
Hungarian method using its extension of intervals was solved by Amutha et.al[1], Deepa
et.al[3]introduced a new method known as Best assignment then solving it by intervals, Humayra Dil
Afroz et.al[6] proposed a new assignment method comparative with existing method. Whereas
Sundaresan et.al and Ramon.E.Moore[12][10] proposes a basic definitions of OR and existing
intervals. In real world consumption, there are many values i.e for eg time, ability, etc are in crisp form
which does not give a perfect value, In this paper using Interval arithmetic by Hungarian method, the
problem can be solved more to get precisely with the basic assumption of one job to one person for
minimizes total cost (or) maximizes the profit. The rest of the paper includes review on interval
arithmetic are highlighted.
2. Preliminaries
This section includes some notations, notions which results in “our further consideration. Let
ã= [a1,a2]={x: a1 x a2, xࣅR}. If ã=a1=a2=a, then ã=[a,a]=a is a real number (or a degenerate
interval). Let IR= { ã=[a1,a2]: a1 a2 and a1 ,a2 ࣅR} be the set of all proper intervals and IR ={ã =[a1,a2]:
a1>a2and a1,a2 ࣅR}be the set of all improper intervals on the real line R. We shall use the terms interval
and interval number interchangeably. The Midpoint and Width of an interval number ã= [a1,a2] are
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
Ming Ma et al. [7] have proposed a new fuzzy arithmetic based upon both fuzziness index and location
index function. The fuzziness index functions are in use to follow the lattice rules then they are the
least upper bound and greatest lower bound in the lattice L. That is for a , b ∈ L we define
a ∨ b = max{a, b} and a ∧ b = min{a,b}. whereas the location index number is considered as
the ordinary arithmetic which includes basic concepts.
For two intervals ã= [a1,a2] , bѺ =[b1,b2] ࣅ IR and *ࣅ{+,-,ǜ,÷}, the arithmetic operations on ã and bѺ are
defined as:
a * b = [a1 , a 2 ]*[b1 , b2 ] = m(a),
w(a) w(b)
∗ m(b), = m(a) max {w(a),
∗ m(b), .
w(b) }
In Particular”
(i).Addition : a + b = m(a),w(a)
= m(a)
+ m(b),w(b) max{w(a),w(b)
+ m(b), . }
(ii). Subtraction : a - b = m(a),w(a)
= m(a)
− m(b),w(b) max{w(a),w(b)
− m(b), . }
(iii). Multiplication : a × b = m(a),w(a)
× m(b),w( = m(a)
b) max{w(a),w(b)
× m(b), . }
(iv). Division : a ÷ b = m(a),w(a)
= m(a)
÷ m(b),w(b) ,
÷ m(b),max{w(a),w(b)}
≈/ 0.
provided m(b)
2.2. Ranking of interval numbers
“Sengupta and Pal [2]proposed a simple and efficient index for comparing any two intervals on IR
through decision maker’s satisfaction.
Defintion 2.2.1: Let be an extended order relation between the interval numbers ã= [a1,a2],
bѺ =[b1,b2] in IR, then for m(ã) < m(bѺ), we construct a premise (ã ° bѺ ) which implies that ã is inferior to
bѺ (or bѺ is superior to ã).
- m(a)
m(b)
A
(a,
b) =
A(a
b) = + w(a)
, where w(b) ≠ 0.
w(b) + w(a)
may be interpreted as the grade of acceptability of the the first interval number to be inferior to the
second interval number. For any two interval numbers ã and bѺ in IR either A (ã bѺ ) 0 (or ) A (bѺ
ã) (or) A(ã bѺ) = 0 (or) (or) A(ã bѺ)+A(bѺ ã) = 0. If A (ã bѺ)=0 and A (bѺ ã)=0, then
2
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
we say that the interval numbers ã and bѺ are equivalent (non-inferior to each other) and we denote it
by ã § bѺ . Also if A (ã bѺ ) 0, then ã bѺ and if A (bѺ ã)0, then bѺ ã”.
3. MAIN RESULTS
Let there are m work and n people available with dissimilar skills. If the cost of doing jth work by ith
people is cij. Now the problem is which the work is to be assigned to whom so that the cost of
completion of work will be minimum. Mathematically, we express the problem as follows:
In this section an algorithm to solve assignment problem with generalized interval arithmetic using
Hungarian method:
Step 1: Find out the mid values of each interval in the cost matrix.
Step 2: Subtract the interval which have smallest mid value in each row from all the entries of its row.
Step 3: Subtract the interval which have smallest mid value from those columns which have no
intervals contain zero from all the entries of its column.
Step 4: Draw lines through appropriate rows and columns so that all the intervals contain zero of the
cost matrix are covered and the minimum number of such lines is used.
Step 5: Test for optimality (i) If the minimum number of covering lines is equal to the order of the cost
matrix, then optimality is reached. (ii) If the minimum number of covering lines is less than the order
of the matrix, then go to step 6.
Step 6: Determine the smallest mid values of the intervals which are not covered by any lines. Subtract
this entry from all uncrossed elements and add it to the crossing having an interval contain zero. Then
go to step 4.”
3
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
The cost matrix of the interval assignment problem is known in the chart
Jobs
1 CѺ 11 CѺ 12 CѺ 13 CѺ 1j CѺ 1n
2 CѺ 21 CѺ 22 CѺ 23 CѺ 2j CѺ 2n
. . . . . .
. . . . . .
. . . . . .
i CѺ i1 CѺ i2 CѺ 13 CѺ ij CѺ in
. . . . . .
. . . . . .
. . . . . .
n CѺ n1 CѺ n2 CѺ n3 CѺ nj CѺ nn
4. NUMERICAL EXAMPLE
Example 1:
Let us consider an assignment method discussed by Ramesh kumar et al.[8].The problem is solved by
interval Hungarian method as follows:”A corporation has four salesmen and four open territories
available for assignment, that they are not equally rich in their sales potential and also it is estimated
that the usual salesman operation in each territory would bring in the following annual Sales:
Territory: I II III IV
It is considered that the four salesmen will differ in ability, “that working under the same conditions
their yearly is estimated would be proportionately as follows:
4
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
Salesman: A B C D
Proportion: 7 5 5 4
If the criterion is maximum expected total values, the intuitive answer is to assign the best salesman to
the richest territory; the next best salesmen to the second richest territory and so on verify this answer
by the Hungarian method.
Solution
Step 1: By Constructing the effectiveness of the matrix. By taking 10,000 as one unit as the sales
proportion and the maximum sales matrix is obtained as follows:”
Sales proportion
6 5 4 3
I II III IV
7 A 42 35 28 21
5 B 30 25 20 15
5 C 30 25 20 15
4 D 24 20 16 12
= 7×6 = 42
By applying traditional assignment method Ramesh kumar et al. got an optimal as I,II,III,IV are
assign to A,B,C,D with an maximum cost is [95,103]. They converted this assignment problem into
interval Hungarian method. Now the cost matrix of the interval Hungarian problem is
Step 2: Crisp entries of Cost matrix
I II III IV
5
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
Applying their Assignment method, Ramesh kumar et al.[8] obtained the optimal assignment as A, B,
C,D machines are assign I, II, III, IV operators respectively and the optimum assignment cost as
[95,103]. After stating that the above assignment is optimal, they claim that the solution is not unique
and another optimal solution can be obtained as A,B,C,D are assign to IV, II, III, I respectively and the
minimum cost is [89,91]. Hence the result and their conclusion violate the concept of optimality.
Now we shall solve the same interval assignment problem given in the step 2 by applying the method
in this paper. Let us express any two interval parameters as
I II III IV
Step 4: Subtract the smallest interval mid value in each row and column from all the entries of its row
and column
I II III IV
I II III IV
6
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
I II III IV
= <90, 1>
= [89,91]
It is noted that our solution [89,91] is very much sharper than the solution [95,103] obtained by
Ramesh kumar et al[8]
Example 2:
Beta “Corporation has four plants each of which can manufacture any one of the four goods
Production costs differ from one plant to another as do sales revenue. Given the revenue and cost data
below, attain which product each plant should manufacture to maximize profit
Plant
1 2 3 4
A 50 68 49 62
B 60 70 51 74
C 55 67 53 70
D 58 65 54 69
7
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
1 2 3 4
A 49 60 45 61
B 55 63 45 69
C 52 62 49 68
D 55 64 48 66
Solution
Profit matrix
1 2 3 4
A 1 8 4 1
B 5 7 6 5
C 3 5 4 2
D 3 1 6 3
1 2 3 4
Applying the interval assignment method, Ramesh kumar et al. obtained the optimal solution as
A,B,C, D as II, IV, I, III operators respectively and the optimum assignment cost is [18,26]. After
stating the above assignment is optimal, they claim that the solution is not unique and another optimal
solution can be obtained as I, III, IV, II are assign to A,B,C,D respectively and the minimum cost is
[9,11]. Hence their result and their conclusion violate the concept of optimality.
Now we shall solve the same interval assignment problem given in the step 2 by applying the method
in this paper. Let us state all the interval parameter
8
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
1 2 3 4
Step 4: Subtract the least interval mid value in both row and column from all the entries of its row and
column
1 2 3 4
= [9, 11]
It is noted that our solution [9, 11] is very much sharper than the solution [18, 26] obtained by Ramesh
kumar et al.[8]
Example 3
“An air line operates seven days a week has time table shown below. Crews must have a least layover
(rest) time of 5 hrs, between flights. Obtain the pair of flights that minimizes layover time away from
quarters. For any given the crews will e based at the city that effect is the least layover
9
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
For each pair, state the town where the crews should be based
Solution
Step1: Constructing the table for layover times between flights that the crew is based at Delhi ,
Consider 15 mins = 1 unit”
Flight arrives and Depart from Jaipur, The minimum layover is 5 hrs among flights.
Timing
Timing
10
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
Timing
Timing
1 96 98 112 38
2 92 94 108 34
3 70 72 86 108
4 50 52 66 88
Flight arrives and Depart from Delhi, The minimum place over is 5 hrs between flights.
Timing
11
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
Timing
Timing
Timings
1 87 85 71 49
2 91 89 75 53
3 113 111 97 75
4 37 35 21 95
12
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
Step 2 : Construct the table for minimum layover times among flights with the help of Table 1and 2
1 87 85 71 38
2 91 89 75 34
3 70 72 86 75
4 37 35 21 88
Step 5: Subtract the smallest entries in each row and column, we get
13
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
Step 6:
“Flight 1ĺ102
Flight 2ĺ104
Flight 3ĺ101
Flight 4ĺ103”
5. CONCLUSION:
In this paper, we have proposed interval versions of Hungarian method for solving the interval
assignment problems without converting them to classical assignment problems. The main objective is
to form the solution more precisely, Numerical examples solved and the results obtained are discussed
.it is to be noted that the optimal solution obtained by our method is sharper than the solution obtained
by others.
6. REFERENCES
14
PMTIA 2019 IOP Publishing
Journal of Physics: Conference Series 1377 (2019) 012046 doi:10.1088/1742-6596/1377/1/012046
[12]. Sundaresan V and Ganapathy Subramanian and K S Ganesan K 2013 Resource management
techniques (OR)PP 8.1-8.49
15