Homework 2 - Solution
Homework 2 - Solution
Homework 2 - Solution
Homework #2 Solution
Note: This solution may contain typos or errors. If you find them, please let the instructor know. Thanks.
Problem #1
Decision Variables:
Problem #2
Decision Variables:
75𝐵+60𝐶+85𝑃
Subject to −3𝐵 − 18𝐶 + 7𝑃 ≥ 0 (← ≥ 78)
𝐵+𝐶+𝑃
15𝐵+20𝐶+18𝑃
−𝐵 + 4𝐶 + 2𝑃 ≥ 0 (← ≥ 16)
𝐵+𝐶+𝑃
𝐵 ≤ 1500
𝐶 ≤ 1200
𝑃 ≤ 2000
𝐵, 𝐶, 𝑃 ≥ 0
Problem #3
Decision Variable
𝑋𝑖𝑗 : 𝑏𝑎𝑟𝑟𝑒𝑙𝑠 𝑜𝑓 𝑜𝑖𝑙 𝑖 (𝑖 = 1,2) 𝑢𝑠𝑒𝑑 𝑡𝑜 𝑚𝑎𝑘𝑒 𝑝𝑟𝑜𝑑𝑢𝑐𝑡 𝑗 (𝑗 = 𝑔(𝑎𝑠𝑜𝑙𝑖𝑛𝑒), ℎ(𝑒𝑎𝑡𝑖𝑛𝑔 𝑜𝑖𝑙))
𝑎𝑗 : 𝑑𝑜𝑙𝑙𝑎𝑟𝑠 𝑠𝑝𝑒𝑛𝑡 𝑎𝑑𝑣𝑒𝑟𝑡𝑖𝑠𝑖𝑛𝑔 𝑝𝑟𝑜𝑑𝑢𝑐𝑡 𝑗 (𝑗 = 𝑔, ℎ)
Constrains:
10𝑋1𝑔 +5𝑋2𝑔
≥ 8 ➔ 10𝑋1𝑔 + 5𝑋2𝑔 ≥ 8(𝑋1𝑔 + 𝑋2𝑔 ) ➔ 2𝑋1𝑔 − 3𝑋2𝑔 ≥ 0
𝑋1𝑔 +𝑋2𝑔
10𝑋1ℎ+5𝑋2ℎ
≥ 6 ➔ 4𝑋1ℎ − 𝑋2ℎ ≥ 0
𝑋1ℎ+𝑋2ℎ
In summary,
Problem #4
Decision Variable:
s.t. X1 − 50 = 𝐼1
I1 + X2 − 65 = 𝐼2
I2 + X3 − 100 = 𝐼3
I3 + X4 − 70 = 𝐼4
𝑋𝑖 ≥ 0, 𝐼𝑖 ≥ 0, 𝑖 = 1,2,3,4
Problem #5
Decision Variable:
Objective function:
11 5
𝑚𝑖𝑛𝑖𝑚𝑖𝑧𝑒 1.2 ∑ 𝑋𝑖 + ∑ 𝑌𝑗
𝑖=1 𝑗=1
Constrains:
𝑋1 50 10 loss
65’ 𝑋2 45 20
𝑋3 45 10 10
𝑋4 40 20 loss
𝑋5 40 10 10 loss
𝑋6 35 20 10
𝑋7 35 10 10 10
𝑋8 20 20 20 loss
𝑋9 20 20 10 10 loss
𝑋10 20 10 10 10 10 loss
𝑋11 10 10 10 10 10 10 loss
𝑌1 40
𝑌2 35 loss
40’ 𝑌3 20 20
𝑌4 20 10 10
𝑌5 10 10 10 10
① Up to 4000 feet of the 65-inch coil is available, and up to 6000 feet of the 40-inch coil is
available.
11
∑ 𝑋𝑖 ≤ 4000
𝑖=1
5
∑ 𝑌𝑗 ≤ 6000
𝑗=1
𝑋1 + 2𝑋2 + 2𝑋5 + 𝑋6 + 3𝑋7 + 2𝑋9 + 4𝑋10 + 6𝑋11 + 2𝑌4 + 4𝑌5 = 2000 (10 𝑖𝑛𝑐ℎ)
In summary,
Subject to ∑11
𝑖=1 𝑋𝑖 ≤ 4000
5
∑𝑗=1 𝑌𝑗 ≤ 6000
𝑋1 = 1000
𝑋2 + 𝑋3 = 2500
𝑋4 + 𝑋5 + 𝑌1 = 3000
𝑋6 + 𝑋7 + 𝑌2 = 2300
𝑋2 + 𝑋4 + 𝑋6 + 3𝑋8 + 2𝑋9 + 𝑋10 + 2𝑌3 + 𝑌4 = 1300
𝑋1 + 2𝑋2 + 2𝑋5 + 𝑋6 + 3𝑋7 + 2𝑋9 + 4𝑋10 + 6𝑋11 + 2𝑌4 + 4𝑌5 = 2000
𝑋𝑖 , 𝑌𝑗 ≥ 0, i=1,2,…,11, j=1,2,…,5