Professional Documents
Culture Documents
Exercise
Exercise
X Y calculation
2 3
obj 6 5 27
constraints milk 1 1 5 5
choco 3 2 12 12
Example 2
M1 M2 M3 M4 Supply
S1 10 2 20 11 15
S2 12 7 9 20 25
S3 4 14 16 18 10
Demand 5 15 15 15
assume number of units demand should be equal supply should be equal or less than
M1 M2 M3 M4 Supply
S1 0 5 0 10 15
S2 0 10 15 0 25
S3 5 0 0 5 10
Demand 5 15 15 15
Example
F1 F2 F3 Supply
D1 5 8 5 2000
D2 7 6 4 2000
D3 9 4 3 1000
Demand 1000 1500 2500 5000
F1 F2 F3 Supply
D1 1000 0 1000 2000
D2 0 500 1500 2000
D3 0 1000 0 1000
Demand 1000 1500 2500 5000
Min Cost 23000
Example 3
P1 P2 C1 C2 C3
W1 0 4 3 4 5
W2 5 2 2 1 3
Demand 18000 6000 50,000 80,000 50,000
P1+P2 to each W P1 P2 C1 C2 C3
0 W1 0 0 0 0 0
0 W2 0 0 0 0 0
Demand 0 0 0 0 0
Min Cost 0
e equal or less than
Total demand C1/2/3
0
0
Total Cost 47 Variable, Cost of strategy implementation
Budget 50
Obj 11.9
Variable, Strategic score
Obj 3.72
f strategy implementation
Solution
X1 = Production unit for product 1 (decsion variable)
X2 = Production unit for product 2 (decsion variable)
Y=1 if the first setting is selected otherwise 0 (two production setting/ need
Decision Variable
Constriants Max Profit = 10 X1 + 12 X2 Obj
Changing cell
P1 X1 + X2 <= 35 units Constraint 1
P2 X1 (1st) - 8 Y =< 12 (2nd) Constraint 2
X2 (1st) + 15 Y =< 25 (2nd) Constraint 3
20 units - 8 (1) = 12 units
10 units + 15 (1) = 25 units
Y = 0,1
X1, X2 >= 0
d of two products
csion variable)
csion variable)
o production setting/ need to choose one/ decision variable)
X1 X2 Y Total Limit
10 12 0 0
0 0 0
1 1 0 0 35
1 0 -8 0 12
0 1 15 0 25
Goal Programing (constriants are variable)
Deviation