Linear Programming 3
Linear Programming 3
Graphical Method 3
Example 2: Minimization Problem
A pharmacist produces a drug from two ingredients. Each ingredient contains the
same three antibiotics in different proportions. Each ingredient A produced results
₧80 in cost; each ingredient B results ₧50 in cost. The production of the
antibiotics is dependent on the availability of limited resources. The resource
requirements for the production are as follows.
2x + 6y ³ 12 Þ Antibiotic 3
x ³ 0, y ³ 0
Solution for Example 2
3x + y ³ 6
3x + y = 6 (0, 6) (2, 0)
x+y³4
x+y=4 (0, 4) (4, 0)
2x + 6y ≥ 12
2x + 6y = 12 (0, 2) (6, 0)
Plotting of Graphs
3x + y = 6
(0, 6) ⬤
(0, 4) ⬤ x+y=4
2x + 6y = 12
(0, 2) ⬤
⬤ ⬤ ⬤
(2, 0) (4, 0) (6, 0)
Determining the Feasible Region
3x + y ³ 6
Feasible
(0, 6) ⬤
Region
(0, 4) ✗
⬤ x+y³4
(0, 2) ✗✗
⬤
2x + 6y ³ 12
✗ ⬤✗ ⬤✗ ⬤
(2, 0) (4, 0) (6, 0)
Identifying the Extreme Points
3x + y ³ 6
Intersection of 1st
Eq. & 2nd Eq.
(0, 6) ⬤
Intersection of
⬤ 2nd Eq. & 3rd Eq.
⬤
⬤
x+y³4 2x + 6y ³ 12
⬤
⬤ ⬤ ⬤
(6, 0)
Solution for 1st Equation and 2nd Equation
1(3x + y = 6) Þ 3x + y = 6
3( x + y = 4) Þ (–) 3x + 3y = 12
0x – 2y = –6
– 2y = –6
y=3
3x + 3 = 6
3x = 6 – 3
The intersection of first equation and
3x = 3
second equation is (1, 3).
x=1
Solution for 2nd Equation and 3rd Equation
2( x + y = 4) Þ 2x + 2y = 8
1(2x + 6y = 12) Þ (–) 2x + 6y = 12
0x – 4y = –4
– 4y = –4
y=1
x+1=4
x=4–1
x=3 The intersection of second equation and
third equation is (3, 1).
Identifying the Extreme Points
3x + y ³ 6
(0, 6) ⬤
⬤
(1, 3)
⬤
⬤
(3, 1) 2x + 6y ³ 12
⬤
x+y³4
⬤ ⬤ ⬤
(6, 0)
Optimal Solution for Example 2
Decision: C = ₧230
x = 1 unit of Ingredient A
y = 3 units of Ingredient B
Checking
Solution: (x, y) = (1, 3)