Академический Документы
Профессиональный Документы
Культура Документы
Assignment Problems
Solution of a Transportation
Problem
The Assignment Model
Solution of the Assignment Model
Grain Elevator
Supply
Demand
1. Kansas City
150
A. Chicago
200
2. Omaha
175
B. St.Louis
100
3. Des Moines
275
C. Cincinnati
300
Total
600 tons
Total
600 tons
a tableau format.
Each cell in a transportation tableau is analogous to
a decision variable that indicates the amount
allocated from a source to a destination.
The supply and demand values along the outside rim
of a tableau are called rim values.
The
Transporta
tion
Tableau
The Initial
NW Corner
Solution
75
cost = $4,550.
- The minimum cell cost method will provide a solution
12
feasible
cell
with
transportation cost, and
remaining requirements.
minimum
adjust the
all
rim
13
AM Penalty Costs
16
17
The Second
VAM
Allocation
18
19
The Initial
VAM Solution
20
The Minimum
Cell Cost
Solution
22
+1
23
The
Subtraction of
One Ton from
Cell 1B
24
The Addition
of One Ton to
Cell 3B and
the
Subtraction of
One Ton from
Cell 3A
6-8+5-4=
-1
25
The
Steppin
g-Stone
Path
for Cell
2A
26
The
SteppingStone Path
for Cell 2B
The
Stepping
-Stone
Path for
Cell 3C
27
The
SteppingStone
Path for
Cell 1A
28
- When reallocating units to the entering variable (cell), the amount is the
minimum amount subtracted on the stepping-stone path.
- At each iteration one variable enters and one leaves (just as in the
simplex method).
The Second
Iteration of the
Stepping-Stone
Method
29
The Stepping-Stone
Path for Cell 2A
The Alternative
Optimal Solution
33
34
35
cost = 4550
The Initial Solution with All ui and vj Values
36
Cost == 4525
at the rate of
X 1A = 25 i.e 25 X 1 =
38
x1A: u1 + vA = 6, vA = 6
= 11, u2 = 1
x3A: u3 + vA = 4, u3 = -2
x1C: u1 + vC = 10, vC = 10
x2C: u2 + vC
x3B: u3 + vB = 5, vB = 7
cij - ui - vj = kij;
An Unbalanced
Model (Demand .
Supply)
42
to the tableau.
- The dummy column (or dummy row) has no effect on the
initial solution methods or the optimal solution methods.
Degeneracy
(1 of 3)
44
Degeneracy
(2 of 3)
- In a degenerate tableau, all the stepping-stone paths or MODI
equations cannot be developed.
-To rectify a degenerate tableau, an empty cell must artificially
be treated as an occupied cell.
45
Degeneracy
(3 of 3)
- The stepping-stone path s and cost changes for this tableau:
2A 2C 1C
x2A:
1A
7 - 11 + 10 - 6 = 0
2B 2C 1C
1B
x2B: 11 - 11 + 10 - 8 = + 2
3B 1B 1A
3A
x3B: 5 - 8 + 6 - 4 = - 1
3C 1C 1A
3A
x3C: 12 - 10 + 6 - 4 = + 4
46
Prohibited Routes
-A
47
Maximization case
Convert the given maximization
problem into that of minimization by
replacing each element of the table
by the difference from the highest
element of the table.
suppl
y
30
11
40
13
50
28
32
25
Deman 35
d
Optimal answer
A
10
35
Cost Rs 776
20
18
32
Assignment Problem
An assignment problem seeks to minimize
the total cost assignment of m workers to
m jobs, given that the cost of worker i
performing job j is cij.
It assumes all workers are assigned and
each job is performed.
The network representation of an
assignment problem with three workers
and three jobs is shown on the next slide.
Assignment Problem
Network Representation
1
c11
c13
c21
c12
c22
c23
c31
3
c33
WORKERS
c32
3
JOBS
An assignment problem is a
special case of a transportation
problem in which all supplies
and all demands are equal to 1;
hence assignment problems may
be solved as transportation
problem/linear programs.
Assignment Problem
Linear Programming Formulation
Min cijxij
s.t.
for each worker i
ij
xij = 1
j
xij = 1
i
xij = 0 or 1
50
36
16
28
Fed.
18
35
25
32
20
Gol.
Univ.
30
25
14
project assigned
to any one
subcontractor)
16
Assumptions:
1. There is a cost assignment matrix for the m
people to be assigned to m tasks.
(If necessary dummy rows or columns consisting
of all 0s are added so that the numbers of people
and tasks are the same.)
2. All costs are nonnegative.
3. The problem is a minimization problem.
Theorem:
If a number is added to or subtracted
from all of the entries of any one row or
column of a cost matrix,
then on optimal assignment for the
resulting cost matrix is also an optimal
assignment for the original cost matrix.
Max
ij
cij
Min cij
ij
Where Cij
Minimize
Minimize
i.e.
maximize
xij
xij
= M-Cij
Min (M-)Xij
Cij
M (Xij) cij
xij
= M m -c
xij
ij
cij
xij
Iterative Steps
1. Make as many 0 cost assignments as possible. If
all workers are assigned, STOP; this is the minimum
cost assignment. Otherwise draw the minimum
number of horizontal and vertical lines necessary to
cover all 0s in the matrix. (A method for making the
maximum number of 0 cost assignments and
drawing the minimum number of lines to cover all
0s follows.)
2. Find the smallest value not covered by the lines;
this number is the reduction value.
3. Subtract the reduction value from all numbers not
covered by any lines. Add the reduction value to any
number covered by both a horizontal and vertical
line.
GO TO STEP 1.
Example:
Minimum uncovered
1
number
2
2. Find the smallest value not covered by the lines; this
number is the reduction value.
3. Subtract the reduction value from all numbers not covered
by any lines. Add the reduction value to any number covered
by both a horizontal and vertical line
Minimum uncovered
number
Now no of assignments
are 4
CONVERSION OF A MAXIMIZATION
PROBLEM TO A MINIMIZATION
PROBLEM
The Hungarian algorithm works only if the matrix is a
cost matrix. A maximization assignment problem can be
converted to a minimization problem by creating a lost
opportunity matrix. The problem then is to minimize the
total lost opportunity.
Profit Matrix:
J1 J2 J3 J4
W1
67 58 90 55
W2
58 88 89 56
W3
74 99 80 22
(D)
J1 J2 J3 J4
W1
41 0
W2
16 11 1
W3
(D)
74 99 90 56
0 10 34