You are on page 1of 2

Formulation homework

Problem 1 :
Decision Variables:
Xi: Number of bottles of type I produced
For i= {1,2}
1: type A
2: type B

OF :
Max Z = (10X₁- 5X₁) +(11.25X₂-4X₂)
Max Z= 5X₁+7.25X₂
Subject to:
1-
X₁≥0.25(X₁+X₂)
X₁≤0.75(X₁+X₂)
2-
X₁≥ 20000
X₂≥ 15000
3-
5X₁+4X₂≤295000
4-
X₁, X₂≥ 0

Problem 2 :
Xi: The amount (in kg) of fertilizer I used in the mixture
i ranges from 1 to 6

Parameters:
SPi: Selling price per kg of fertilizer i
Ni: percentage of Nitrogen in fertilizer i
Li: percentage of Lime in fertilizer i
Pi: percentage of Phosphorus in fertilizer i
Ci: percentage of Calcite in fertilizer i
Ai: Available amount of fertilizer i

OF :
Subject to :

6-
Total Weighted average
Xi≤ 25000
7-
Xi≥ 0 For i= 1…6

Problem 3:
Decision Variables:
Xi: The number of times medium I is used
Qi: The perception quality index of medium i
Ci: the unit cost of medium i
Ri: The people reached with medium i
Use i: The maximum use of medium i

OF Max Z =

Subject to:
1-
≤ 250000
2-
Ri * Xi ≥ 100000 For i= 1…6
3-
Xi ≤ Use i For i= 1…6
4-
Xi≥ 0 For i= 1…6

Problem 4:
Decision Variables:
Xij: Binary Decision Variable
Where
OPij: Operating time of batch I on machine j

OF : Max Z =

Subject to:
1- (Each batch assigned to one machine) ≤ 1 For i=1…8
2-
Xij= {0;1}

You might also like