IE400 StudySet1 Key
IE400 StudySet1 Key
Question 1.
Decision Variables:
xij =amount of land allocated by kibbutz j for crop i,
i = 1, 2, 3 (1:sugar beets, 2:cotton, 3:sorghum), j = 1, 2, 3
Model:
max 1000(x11 + x12 + x13 ) + 750(x21 + x22 + x23 ) + 250(x31 + x32 + x33 )
s.t. x11 + x12 + x13 ≤ 600 (1)
x21 + x22 + x23 ≤ 500 (2)
x31 + x32 + x33 ≤ 325 (3)
xij ≥ 0 i = 1, 2, 3 j = 1, 2, 3
1
(1), (2), (3): Constraints for maximum quota limitations
(4), (5), (6): Constraints for water consumption limitations
(7), (8), (9): Constraints for the usable land
Note: Constraints (10), (11), (12) are obtained by linearizing the following
equations that ensures each kibbutz will plant the same proportion of its available
irrigable land:
x11 + x21 + x31 x12 + x22 + x32 x13 + x23 + x33
= =
400 600 300
Question 2.
Decision Variables:
Note: One can remove the variables a and b2 from the model by letting
a = 2x1 + 3x2 and b2 = x1 + 2x2 − b1 (constraints 1 and 2). Then the
modified model becomes:
2
max 16(2x1 + 3x2 ) + 14b1 − 2(x1 + 2x2 − b1 )
s.t. 2x1 + 3x2 ≤ 60
x1 + 2x2 ≤ 40
b1 ≤ 20
b1 ≤ x1 + 2x2
x1 , x2 , b1 ≥ 0
Question 3.
Decision Variables:
Parameters:
Model:
max c4
s.t. Ii = Ii−1 + xi − yi−1 i = 1, · · · , 4 (Inventory Balance Equations)
ci = ci−1 − pi xi + si yi i = 1, · · · , 4 (Cash Balance Equations)
Ii ≤ 100 i = 1, · · · , 4 (Capacity Constraint)
yi ≤ Ii i = 1, · · · ,4
pi xi ≤ ci−1 i = 1, · · · ,4
I0 = 50
c0 = 1000
y0 = 0
ci , xi , yi , Ii ≥ 0 i = 1, · · · , 4
3
Question 4.
(b) Remove constraints (1) and (2) and add the following constraint to the
model in part (a)
(2x1 + x2 + 3x3 ) + (3x1 + 3x2 + 2x3 ) ≤ 500 =⇒ 5x1 + 4x2 + 5x3 ≤ 500
(c)
4
Question 5.
Sets:
i : food i=1,2
j : nutrition j=1 (protein),2 (carbohydrate),3 (fat)
Decision Variables:
Parameters:
Model:
Question 6.
Decision Variables:
5
Parameters:
Model:
5
X 12
X 12
X
min (5x1j + 8x2j ) + (4.5x1j + 7x2j ) + (0.2I1j + 0.4I2j )
j=1 j=6 j=1
Question 7.
Sets:
Decision Variables:
xij = amount of ingredient j used to produce candy i (in gr) , i=1,2 j=1,2,3
yi = amount of candy i produced (in gr), i=1,2
Parameters:
Ri,j = minimum proportion of ingredient j required in candy i , ([0, 0.22, 0],[ 0, 0.08, 0.14])
Ij = Stock level of ingredient j (in gr) (15000, 3500, 4500)
ci = price for 1 gr of candy i (20, 25)
6
Model:
7
Question 8. Decision Variables:
Model:
max z
x 1 + y1
s.t. z ≤
2
z ≤ x2 + y 2
x3 + y3
z≤
6
x1 x2 x 3
+ + ≤ 100
4 2 9
y1 y2 y3
+ + ≤ 100
5 3 11
xi , yi ≥ 0 ∀i
z≥0
1
Question 9. Decision Variables
(
1, if player ifrom team A and player jfrom team B are matched.
xij :
0, otherwise.
Objective Function:
m X
X n
minimize xij (dij )
j=1 i=1
Constraints: n
X
xij ≤ 1 ∀j
i=1
m
X
xij ≤ 1 ∀i
j=1
m X
X n
xij = k
j=1 i=1
2
Question 10. The decision variables xij are defined as follows:
(
1, if a rook is placed on square (i, j) i, j ∈ {1, .., 8}
xij =
0, otherwise