Professional Documents
Culture Documents
LP Model Formulation - Cedron Ola
LP Model Formulation - Cedron Ola
DECISION VARIABLE:
OBJECTIVE FUNCTION:
Min Z = $500X1+$250X2
CONSTRAINTS
X1≤15
X2≤35
150X1+50X2≥2250
400X1+100X2≥5000
X1,X2≥0
2. TWO Farms produce lemon juice and mango juice. It costs $0.70 to produce a bottle
of lemon juice and $0.90 to produce a bottle of mango juice. The company has a policy
that at least 25% but no more than 70% of its output must be mango juice. The
maximum demand estimate for mango juice is 5,500 bottles plus an additional 7 bottles
for every $1 spent to promote the product. The estimate of maximum demand for
lemon juice is 4,000 bottles plus an additional 5bottles for each $1 spent on advertising.
The company wants to meet but not exceed these demand estimates. The company has
$20,000 to spend on producing and advertising lemon juice and mango juice. Lemon
juice sells for $1.55/bottle while mango juice sells for $1.95/bottle. The company wants
to know how many units of each product to produce and how much advertising to spend
on each bottle to maximize profit.
DECISION VARIABLES:
X1 = Lemon Juice bottles
X2 = Mango Juice bottles
X3 = $ spent on advertising of lemon juice
X4 = $ spent on advertising of mango juice
OBJECTIVE FUNCTION:
Max Z = (1.55-0.70) X1+ (1.95-0.90)X2 - X3 - X4
Subject to:
X2≥ 0.25(X1 +X2)
X2≤0.70(X1 +X2)
X1 ≤4,000 + 5X3
X2 ≤ 5,500 + 7X4
0.70X1 +0.90X2 +X3 +X4 ≤ 20,000
X1,X2,X3,X4≥ 0 (Non-negativity)
X1,X2,S1,S2,S3 ≥ 0
Iteration-1 Cj 10 20 0 0 0
B CB XB X1 X2 S1 S2 S3 min ratio
S1 0 31 3 4 1 0 0 31
=7.75
4
S2 0 5 1 0 0 1 0
S3 0 18 -5 6 0 0 1 18
=3
6
Z=0 Zj 0 0 0 0 0
Zj-Cj -10 -20 0 0 0
Column index = 2
Minimum ratio = 3 now the index is 3, so the basis variable is S 3
Pivot element = 6
R3(new) = R3(old) / 6
R1(new) = R1(old) - 4R3(new)
R2(new) = R2(old)
Iteration-2 Cj 10 20 0 0 0
B CB XB X1 X2 S1 S2 S3 min ratio
S1 0 19 6.333 0 1 0 -0.667 19
=3
6.333
S2 0 5 1 0 0 1 0 5
=5
1
X2 0 3 -0.833 1 0 0 0.166 -
Z=60 Zj -16.67 20 0 0 3.33
Zj-Cj -26.67 0 0 0 3.33
Iteration-3 Cj 10 20 0 0 0
B CB XB X1 X2 S1 S2 S3 min ratio
X1 10 3 1 0 0.1579 0 -0.1053
S2 0 2 0 0 - 1 0.1053
0.1579
X2 20 5.5 0 1 0.1316 0 0.0789 -
Z=140 Zj 10 20 4.2105 0 0.5263
Zj-Cj 0 0 4.2105 0 0.5263
X1 X2
Similar to eqn.1 x1+2x2=50 or + =1 ----- eqn.3
50 25
X1 axis at (50,0)
X2 axis at (0,25)
X1 X2
Similar to eqn.2 -x1+x2=10 or − + =1 ----- eqn. 4
10 10
X1 axis at (-10,0)
X2 axis at (0,10)
Since,
x1≥0 and x2 ≥0 so the feasible region becomes
The extreme points are:
A ( 10, 20)
B ( 0, 10)
C (0, 25)
So
at A (10,20)
Z = 3(10)+5(20) = 130
at B (0,10)
Z = 3(0) + 5(10) = 50
at C (0,25)
Z = 3(0) + 5(25) = 125