Академический Документы
Профессиональный Документы
Культура Документы
Scheduling Models
Prepared by:
Engr. Romano A. Gabrillo
MEngg-MEM
Scheduling Problems
Production Problems
Example No. 1
250
100
400 500
Regular
200
Capacity
Overtime 100
Capacity
300
350
50
100 150
RAG 2007
Sources
Spring
Summer
Destination
Fall
Winter
Dummy
Supply
Regular
(Spring)
200
Regular
(Summer)
300
Regular
(Fall)
350
Initial
Inventory
200
Overtime
(Spring)
100
Overtime
(Summer)
50
Overtime
(Fall)
100
Overtime
(Winter)
150
Demand
250
100
400
500
ui
200
vj
RAG 2007
Sources
Spring
Summer
Destination
Fall
Winter
Regular
(Spring)
10000
7.00
7.70
8.40
Regular
(Summer)
10000
10000
7.00
7.70
Regular
(Fall)
10000
10000
10000
7.00
Dummy
Supply
200
300
350
Initial
Inventory
200
Overtime
(Spring)
100
Overtime
(Summer)
50
Overtime
(Fall)
100
Overtime
(Winter)
150
Demand
250
100
400
500
ui
200
vj
RAG 2007
Summer
Destination
Fall
Winter
Regular
(Spring)
10000
7.00
7.70
8.40
Regular
(Summer)
10000
10000
7.00
7.70
Regular
(Fall)
10000
10000
10000
7.00
Dummy
Sources
ui
200
300
350
Initial
Inventory
200
Overtime
(Spring)
8.00
10000
10000
10000
Overtime
(Summer)
10000
9.00
10000
10000
Overtime
(Fall)
10000
10000
8.00
10000
Overtime
(Winter)
10000
10000
10000
10.00
Demand
Supply
250
100
400
500
100
50
100
150
200
vj
RAG 2007
Sources
Spring
Summer
Destination
Fall
Winter
Regular
(Spring)
10000
7.00
7.70
8.40
Regular
(Summer)
10000
10000
7.00
7.70
Regular
(Fall)
10000
10000
10000
7.00
Initial
Inventory
0.00
0.70
1.40
2.10
Overtime
(Spring)
8.00
10000
10000
10000
Overtime
(Summer)
10000
9.00
10000
10000
Overtime
(Fall)
10000
10000
8.00
10000
Overtime
(Winter)
10000
10000
10000
10.00
Demand
250
100
400
500
Dummy
Supply
ui
200
300
350
200
100
50
100
150
200
vj
RAG 2007
10
Sources
Spring
Summer
Fall
Destination
Winter
Dummy
Regular
(Spring)
10000
7.00
7.70
8.40
Regular
(Summer)
10000
10000
7.00
7.70
Regular
(Fall)
10000
10000
10000
7.00
Initial
Inventory
0.00
0.70
1.40
2.10
10000
Overtime
(Spring)
8.00
10000
10000
10000
Overtime
(Summer)
10000
9.00
10000
10000
Overtime
(Fall)
10000
10000
8.00
10000
Overtime
(Winter)
10000
10000
10000
10.00
Demand
250
100
400
500
Supply
ui
200
300
350
200
100
50
100
150
200
vj
Since all units in initial inventory already have been produced, a positive
allocation from initial inventory to the dummy must be avoided. This is done
by assigning a prohibitively large number 10000 as the associated unit cost.
RAG 2007
11
On the left side of the Options Dialog-Box, select AddIns. On the Add-Ins name, search for Solver Add-in
and click Go. The Excel Solver will now be installed
on your computer.
12
Spring
Summer Fall
Winter
Dummy
Supply
R-Spring
10000
7
7.7
8.4
0
200
R-Summer
10000
10000
7
7.7
0
300
R-Fall
10000
10000
10000
7
0
350
Initial Inventory
0
0.7
1.4
2.1
10000
200
O-Spring
8
10000
10000
10000
0
100
O-Summer
10000
9
10000
10000
0
50
O-Fall
10000
10000
8
10000
0
100
O-Winter
10000
10000
10000
10
0
150
Demand
250
100
400
500
200
RAG 2007
13
Summer
0
0
0
0
0
0
0
0
0
Fall
0
0
0
0
0
0
0
0
0
Winter
0
0
0
0
0
0
0
0
0
Dummy
0
0
0
0
0
0
0
0
0
Total
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
14
Example:
=SUMPRODUCT(B2:F9,B14:F21)
RAG 2007
15
RAG 2007
16
17
18
Final Answer
Spring
R-Spring
R-Summer
R-Fall
Initial Inventory
O-Spring
O-Summer
O-Fall
O-Winter
Total
costs
Summer Fall
0
100
0
0
0
0
200
0
50
0
0
0
0
0
0
0
250
100
Winter
Dummy Total
0
100
0
300
0
0
0
350
0
0
0
0
0
0
50
0
0
50
100
0
0
0
50
100
400
500
200
200
300
350
200
100
50
100
150
7790
RAG 2007
19
Transshipment Problems
20
21
Example No. 2
22
38
56
34
38
27
56
27
19
34
19
Table 2
-45
2
$38
+70
$34
$27
$27
$38
$56
1
$56
$34
$19
$19
4
RAG 2007
-25
Figure 2
23
24
2
38
0
27
10000
115
3
56
27
0
19
95
1
2
3
4
Total
2
45
70
0
0
115
3
0
0
70
25
95
Costs
3035
Demand
RAG 2007
4 Supply
34
70
10000
70
19
70
0
70
70
4 Total
25
0
0
45
70
70
70
70
70
25
Assignment Problems
26
27
Example No. 3
+15
$4
+95
$3
$2
$4
+70
-30
$7
RAG 2007
-30
$2
-45
28
Solution
29
3
3
2
0
10000
180
4
10000
7
3
0
210
5
8
10000
4
10000
30
6 dummy 7 supply
10000
0
95
10000
0
70
4
0
195
2
0
180
45
75
6 dummy 7 total
1
2
3
4
0
0
0
0
total
costs
RAG 2007
30
3
3
2
0
10000
180
4
10000
7
3
0
210
5
8
10000
4
10000
30
1
2
3
4
total
3
20
70
90
0
180
4
0
0
30
180
210
5
0
0
30
0
30
costs
590
demand
RAG 2007
6 dummy 7 supply
10000
0
95
10000
0
70
4
0
195
2
0
180
45
75
6 dummy 7 total
0
75
0
0
45
0
0
0
45
75
95
70
195
180
31
Hungarian Method
Step 1
In each row of the Hungarian Tableau, locate the smallest
element and subtract it from every element in that row. Repeat
this of each column (the column minimum is determined after
the row subtractions). The revised cost matrix will have at least
one zero in every row and column.
Step 2
Determine whether there exists feasible assignment involving
only zero costs in the revised cost matrix. In other words, find if
the revised matrix has n zero entries no two of which are in the
same row or column. If such an assignment exists, it is optimal.
If no such exists, go to Step 3.
RAG 2007
32
Hungarian Method
Step 3
Cover all zeroes in the revised cost matrix with as few
horizontal and vertical lines as possible. Each
horizontal line must pass through an entire row, each
vertical line must pass through an entire column; the
total number of lines in this minimal covering will be
smaller than n. Locate the smallest number in the cost
matrix not covered by a line. Subtract this number
from every element not covered by a line and add it to
every element covered by two lines.
Step 4
Return to Step 2
RAG 2007
33
Hungarian Tableau
Workers
1
2
3
...
n
1
c11
c 21
c31
...
cn1
2
c12
c 22
c32
...
cn2
3
c13
c 23
c33
...
cn3
RAG 2007
...
...
...
...
...
...
n
c1n
c 2n
c3n
...
cnn
34
Example No. 4
65
67
68
67
71
69
73
70
72
75
69
71
RAG 2007
Event 3
(butterfly)
Event 4
(freestyle)
63
65
69
70
75
66
57
58
55
59
57
59
35
Swimmer 1
Swimmer 2
Swimmer 3
Swimmer 4
Swimmer 5
Swimmer 6
1
65
67
68
67
71
69
2
73
70
72
75
69
71
Events
3
63
65
69
70
75
66
Tableau
RAG 20074A
4
57
58
55
59
57
59
5
0
0
0
0
0
0
6
0
0
0
0
0
0
36
Swimmer 1
Swimmer 2
Swimmer 3
Swimmer 4
Swimmer 5
Swimmer 6
1
0
2
3
2
6
4
2
4
1
3
6
0
2
Events
3
0
2
6
7
12
3
Tableau
RAG 20074B
4
2
3
0
4
2
4
5
0
0
0
0
0
0
6
0
0
0
0
0
0
37
Swimmer 1
Swimmer 2
Swimmer 3
Swimmer 4
Swimmer 5
Swimmer 6
1
0
1
3
1
6
3
2
4
0
3
5
0
1
Events
3
0
1
6
6
12
2
Tableau
RAG 20074C
4
2
2
0
3
2
3
5
1
0
1
0
1
0
6
1
0
1
0
1
0
38
Tableau 4c also does not contain a feasible zerocost assignment. Repeating step 3 of the
Hungarian method, we determine 1 is again the
smallest uncovered element as in Tableau 4d:
Swimmer 1
Swimmer 2
Swimmer 3
Swimmer 4
Swimmer 5
Swimmer 6
1
0
0
3
0
5
2
2
5
0
4
5
0
1
Events
3
0
0
6
5
11
1
Tableau
RAG 20074D
4
2
1
0
2
1
2
5
2
0
2
0
1
0
6
2
0
2
0
1
0
39
Optimal Value
40
December 6, 2013
Coverage: Chapters 5-6
Friday, 3-5pm
41
End of Module
42