Homework 1 - Solution
Homework 1 - Solution
Note: This solution may contain typos or errors. If you find them, please let the instructor know. Thanks.
Problem #1
Study table Computer table Time availability
Skilled 2h 2h 6 peopleⅹ38 h/week =
228 h
Semi-skilled 2h 5h 11 peopleⅹ38 h/week
=
418 h
Profit $100 $160
Decision Variables:
Subject to 2𝑆 + 2𝐶 ≤ 228
2S + 5C ≤ 418
𝑆 ≥ 0, C ≥ 0
Problem #2
Decision Variables:
Problem #3
Decision Variables:
3𝑋2 + 2𝑋4 ≤ 75
3𝑋3 + 2𝑋4 ≤ 40
𝑋𝑖 ≥ 0, ∀i = 1,2,3,4
Problem #4
Decision Variables:
20𝑋1 + 5𝑋2 ≥ 40
15𝑋1 + 2𝑋2 ≤ 60
𝑋𝑖 ≥ 0, ∀i = 1,2
Problem #5
Decision Variables:
1, if project 𝒊 is selected
𝑋𝑖 = { (𝑖 = 1,2,3,4)
0, otherwise
Objective function:
Constrains: By Table.
0.30𝑋1 + 0.15𝑋2 + 0.10𝑋3 + 0.15𝑋4 ≤ 0.60 (𝐴𝑣𝑎𝑖𝑙𝑎𝑏𝑙𝑒 𝑐𝑎𝑝𝑖𝑡𝑎𝑙 𝑎𝑡 1𝑠𝑡 𝑦𝑒𝑎𝑟)
0.25𝑋1 + 0.20𝑋2 + 0.06𝑋3 + 0.12𝑋4 ≤ 0.65 (𝐴𝑣𝑎𝑖𝑙𝑎𝑏𝑙𝑒 𝑐𝑎𝑝𝑖𝑡𝑎𝑙 𝑎𝑡 2𝑛𝑑 𝑦𝑒𝑎𝑟)
0.20𝑋1 + 0.15𝑋2 + 0.08𝑋3 + 0.10𝑋4 ≤ 0.40 (𝐴𝑣𝑎𝑖𝑙𝑎𝑏𝑙𝑒 𝑐𝑎𝑝𝑖𝑡𝑎𝑙 𝑎𝑡 2𝑛𝑑 𝑦𝑒𝑎𝑟)
In summary,
Problem #6
• Length of cables connecting two locations (𝑥, 𝑦) and (𝑥 ′ , 𝑦 ′ ) = |𝑥 − 𝑥 ′ | + |𝑦 − 𝑦 ′ |
• Let (𝑥, 0) be the coordinate of the box, which is the decision variable in this problem
In summary,
Subject to 𝑥 𝑓𝑟𝑒𝑒