Professional Documents
Culture Documents
Class Examples
Class Examples
Page 1
Table Example
30
20
25
Page 2
Aggregate Example
Aggregate Planning Example
Decision Variables
Period Hired Laid Off Workers Overtime Inventory Stockouts
0 80 1000
1 0 15.41666667 64.58333333 0 1983.333333 0
2 0 0 64.58333333 0 1566.666667 0
3 0 0 64.58333333 0 950 0
4 0 0 64.58333333 0 0 266.6666667
5 0 0 64.58333333 0 116.6666667 0
6 0 0 64.58333333 0 500 0
Page 3
Aggregate Example
Constraints
Subcontract Production Demand Workers Capacity
0 2583.333333 1600 0 0
0 2583.333333 3000 0 0
0 2583.333333 3200 0 0
0 2583.333333 3800 0 0
0 2583.333333 2200 0 0
0 2583.333333 2200 0 0
Subcontract Material
0 25833.33333
0 25833.33333
0 25833.33333
0 25833.33333
0 25833.33333
0 25833.33333
Page 4
Aggregate Example
Inventory Overtime
0 645.8333333
0 645.8333333
0 645.8333333
0 645.8333333
1.62004E-12 645.8333333
0 645.8333333
Page 5
Aggregate Plan Integer Model
Aggregate Planning Example
Decision Variables
Period Hired Laid Off Workers Overtime Inventory Stockouts
0 80 1000
1 0 16 64 0 1960 0
2 0 0 64 0 1520 0
3 0 0 64 0 880 0
4 0 0 64 0 0 220
5 0 0 64 0 140 0
6 0 0 64 0 500 0
Page 6
Aggregate Plan Integer Model
Constraints
Subcontract Production Demand Workers Capacity
0 2560 1600 0 0
0 2560 3000 0 0
0 2560 3200 0 0
140 2560 3800 0 0
0 2560 2200 0 0
0 2560 2200 0 0
= >=
0 0
Subcontract Material
0 25600
0 25600
0 25600
4200 25600
0 25600
0 25600
Page 7
Aggregate Plan Integer Model
Inventory Overtime
0 640
0 640
0 640
7.95808E-13 640
0 640
0 640
= >=
0 0
Page 8
Densepack Example
Densepack Example
Decision Variables
Period Hired Laid Off Inventory Workers Productivity Production
0 0 300
1 0 33.84289907 0 266.1571009 0.14653 780
2 0 0 296 266.1571009 0.14653 936
3 187.2957377 0 296 453.4528386 0.14653 900
4 0 0 527.5555556 453.4528386 0.14653 1431.5555556
5 330.6110997 0 527.5555556 784.0639384 0.14653 2000
6 125.8748682 0 600 909.9388066 0.14653 1472.4444444
Page 9
Densepack Example
20 780
24 640
18 900
26 1200
22 2000
15 1400
Page 10
Profit
Basic 80
XP 129
Objective
Max. 202800
Production
Basic 600
XP 1200
Contrains
Sales
600 600
1200 1200
Assembly
10200 100000
3000 3000
Sheet5
complex pc model
TEST CONTRAINS
Assembly 1
2
Page 12
Sheet5
x7 x8
172 177
160 175
Page 13