You are on page 1of 3

Data

Veg1 Veg2 Oil1 Oil2 Oil3


Cost 115 128 132 109 114
Hardness 8.8 6.2 1.9 4.3 5.1
Price 180
Hardness Low 3.5
Hardness High 6.2
Capacity Veg 210
Capacity Non-V 260

Decision viriables
Include or not? 1 1 0 1 0
# of tons 180 30 0 260 0

Objective function
Max 31720
Hardness
Constraints 6.14
LHS Type RHS
Capacity Veg 210 <= 210
Capacity Non-V 260 <= 260
Hardness Low 1243 >= 0
Hardness High -26 <= 0
Three oils 3 <= 3
V1 or V2 vs O2 1 <= 1
V1 or V2 vs O2 1 <= 1
At 30 tonnes Veg1 Veg2 Oil1 Oil2 Oil3
LHS 150 0 0 230 0
Type >= >= >= >= >=
RHS 0 0 0 0 0
If do not choose
LHS 180 30 0 260 0
Type <= <= <= <= <=
RHS 210 210 0 260 0
Decision variables
1 2 3 4 5 6 7
Eggs 301 150 100 75 60 50 43

Objective function
Min 301

Constraints
2 3 4 5 6 7
LHS 1 1 1 1 1 0
Type = = = = = =
RHS 1 1 1 1 1 0
Decision variables
original 1st 2nd 3rd 4th
Mangoes 79 26 17 11 7

Objective function
min 79

Constraints
original 1st 2nd 3rd
LHS 1 1 1 1
Type = = = =
RHS 1 1 1 1

You might also like