
Now suppose that if the Porter is produced, a fixed production cost of K0 is incurred. To include this requirement, we introduce a binary variable z0, which is set equal to 0 if we do not produce any of the porter, and is set equal to 1 if we do produce the porter. Which changes to the objective function and the constraints need to be made? (In all equations, M represents a very very very big number, and it is assumed that any possible decision xi will always be less than this number).
(a) Objective Function:
f (x0, x1, x2, x3, x4) = p0x0 + p1x1 + p2x2 + p3x3 + p4x4 −
K0z0
Constraint:
x0 ≥z0M
(b) Objective Function:
f (x0, x1, x2, x3, x4) = p0x0 + p1x1 + p2x2 + p3x3 + p4x4 +
K0z0
Constraint:
x0 =z0M+(1−z0)
(c) Objective Function:
f (x0, x1, x2, x3, x4) = p0x0 + p1x1 + p2x2 + p3x3 + p4x4 −
K0z0
Constraint:
x0 ≤z0M
(d) Objective Function:
f (x0, x1, x2, x3, x4) = p0x0 + p1x1 + p2x2 + p3x3 + p4x4 +
K0z0
Constraint:
x0 ≤z0M
Now suppose that the total amount of yeast remaining after production (both lager and ale yeast) should be larger than 5% of the amount of base malt remaining. Which constraint will reflect this requirement?
(a) (a0,1x1+a0,2x2+a0,4x4+a1,0x0+a1,3x3+a1,4x4)≥0.05(a3,0x0+a3,1x1+a3,2x2+a3,3x3+ a3,4x4)
(b) b0 + b1 − (a0,1x1 + a0,2x2 + a0,4x4 + a1,0x0 + a1,3x3 + a1,4x4) ≥ 0.05(b3 − a3,0x0 + a3,1x1 + a3,2x2 + a3,3x3 + a3,4x4)
(c) b0 + b1 ≥ 0.05b3
(d) b0 + b1 − (a0,1x1 + a0,2x2 + a0,4x4 + a1,0x0 + a1,3x3 + a1,4x4) ≤ 0.05(b3 − a3,0x0 + a3,1x1 +
a3,2x2 + a3,3x3 + a3,4x4)
Now suppose that distributors always purchase twice as much pale ale than amber lager, and hence, the amount of pale ale produced must at least be as large as double the amount of amber lager produced. Which constraint would reflect this?
(a) x0 ≤ x1 (b) 2x2 ≤ x3 (c) x3 ≤ 2x1 (d) 2x3 ≤ x2
1. (c) Objective Function:
f (x0, x1, x2, x3, x4) = p0x0 + p1x1 + p2x2 + p3x3 + p4x4 − K0z0
Constraint:
x0 ≤z0M
2. b) b0 + b1 − (a0,1x1 + a0,2x2 + a0,4x4 + a1,0x0 + a1,3x3 + a1,4x4) ≥ 0.05(b3 − a3,0x0 + a3,1x1 + a3,2x2 + a3,3x3 + a3,4x4)
3. (b) 2x2 ≤ x3
Now suppose that if the Porter is produced, a fixed production cost of K0 is incurred. To include this requirement, we introduce a binary variable z0, which is set equal to 0 if we do not produce an...