Answer :
Answer:
a. solver found a solution 600C₁ + 400T₁ + 300C₂ + 200 T₂
the company should produce 600 cars and 400 trucks during month 1, and it should produce 300 cars and 200 trucks during month 2
b. here it doesn't really make a lot of difference since a car's mpg is 35 and a truck's is 15. The average between them is 25. You would need to produce more than 9 trucks per car (at least 10) in order for the average to be lower than 17 mpg.
Explanation:
minimization equation = 700S₁ + 800S₂ + 200HC₁ + 200HT₁ + 200HC₂ + 200HC₂
where:
C₁ = cars produced during month 1
T₁ = trucks produced during month 1
C₂ = cars produced during month 1
T₂ = trucks produced during month 2
S₁ = steel used during month 1
S₂ = steel used during month 2
HC₁ = holding cost for a car on month 1
HT₁ = holding cost for a truck on month 1
HC₂ = holding cost for a car on month 2
HT₂ = holding cost for a truck on month 1
constraints:
C₁ + T₁ ≤ 1000
C₂ + T₂ ≤ 1000
-S₁ + C₁ + 2T₁ = 0
-S₂ + C₂ + 2T₂ = 0
-HC₁ + C₁ ≥ 600
-HT₁ + T₁ ≥ 300
HC₁ - HC₂ + C₂ ≥ 300
HT₁ - HT₂ + T₂ ≥ 300
4C₁ - 6T₁ ≥ 0
4C₂ - 6T₂ ≥ 0
S₁ ≤ 2500
S₂ ≤ 2500
solver found a solution 600C₁ + 400T₁ + 300C₂ + 200 T₂