Professional Documents
Culture Documents
(Example 1 – Homework)
Due to his blood pressure problem, Mr. Blue has been placed on a diet by his Doctor, consisting of two
food: beer and ice cream. It is mainly to avoid low level of sugar in his blood. The doctor warned him to
ensure proper consumption of nutrients to sustain life.
Formulate the problem for Mr. Blue so that he can satisfy the diet program with the cheapest expense
and solve the problem using graphical method.
Minimum weekly
Nutrients Beer Ice cream
requirement
I 2 mg/oz 3 mg/oz 3500 mg
II 6 mg/oz 2 mg/oz 7000 mg
Cost/oz 10 cents 4.5 cents
Answer:
A. Decision Variable :
B. Objective Function:
D. Solution:
There are three (3) point (A, B, C). These are called boundary points of Feasible Solution Area and A-
B-C line are boundary lines of Feasible Solution Area.
Find the coordinate point B in the following way:
2 X 1 + 3 X2 = 3500 x 3 6 X1 + 9 X2 = 10500
6 X 1 + 2 X2 = 7000 x 1 6 X1 + 2 X2 = 7000 _--
7 X2 = 3500
X2 = 500
From the value X2 = 500 above, put into the following equation:
2 X 1 + 3 X2 = 3500
2 X1 + 3 (500) = 3500
2 X1 = 3500 – 1500
2 X1 = 2000
X1 = 1000
So, Coordinate point B is (1000, 500)
Let : Z = 12250,
Coordinate X1 = 0, then find value X2?
Minimize Z (point D) = 10X1 + 4.5X2 12250 = 10 (0) + 4.5 X2
X2 = 2722.23
So, Coordinate D is (0, 2722.23)
Let : Z = 12250,
Coordinate X2 = 0, then find value X1?
Minimize Z (point E) = 10X1 + 4.5X2 12250 = 10 X1 + 4.5 (0)
X2 = 1225
So, Coordinate D is (1225, 0)
H. CONCLUSION:
Coordinate point B (1000, 500) with value Z = 12250 is a Cheapest Expense of Diet.
(Example 2 – Homework)
Truckco manufactures two types of truck: I and II. Each truck must go through the painting shop and
assembly shop. If the painting shop were completely devoted to painting type I trucks, then 800 perday
could be painted; if the painting shop were completely devoted to painting type II trucks, then 700 per
day could be painted. If the assembly shop were completely devoted to assembling truck I engines, then
1500 per day could be assembled; if the assembly shop were completely devoted to assembling truck II
engines, then 1200 per day could be assembled.
Each type I truck contributes $300 to profit; each type II truck contributes $500.
Formulate an LP that will maximize Truckco’s profit and solve the problem using graphical method.
Answer:
A. Decision Variable :
B. Objective Function:
The both equation lines of 7X + 8Y ≤ 5600 and 12 X + 15 Y ≤ 18000 are not intersect each others so
that a feasible area can be defined at below left side of equation line 7X + 8Y ≤ 5600.
F. Graphic of Optimum Solution by Corner Point Solution and Pattern Lines
Slack Variable :
Coordinate Point A (0, 700)
Maximize Z(point A) = 300 X + 500 Y 300 (0) + 500 (700) = 350000.
7 X + 8 Y – S1 = 5600 7 (0) + 8 (700) – S1 = 5600
S1 = 5600 – 5600 = 0
12 X + 15 Y – S2= 18000 12 (0) + 15 (700) – S2 = 18000
S2 = 18000 – 10500 = 7500
Let : Z = 350000
Coordinate Y = 0, then find value X?
Coordinate Point A1 (1167, 0)
Maximize Z(point A1) = 300 X + 500 Y 300 (1167) + 500 (0) = 350000.
7 X + 8 Y – S1 = 5600 7 (1167) + 8 (0) – S1 = 5600
S1 = 5600 – 8169 = -8169
12 X + 15 Y – S2= 18000 12 (1167) + 15 (0) – S2 = 18000
S2 = 18000 – 14000 = 4000
Coordinate Point B (0, 600)
Maximize Z(point B) = 300 X + 500 Y 300 (0) + 500 (600) = 300000.
7 X + 8 Y – S1 = 5600 7 (0) + 8 (600) – S1 = 5600
S1 = 5600 – 4800 = 800
12 X + 15 Y – S2= 18000 12 (0) + 15 (600) – S2 = 18000
S2 = 18000 – 9000 = 9000
Let : Z = 300000
Coordinate Y = 0, then find value X?
Coordinate Point B1 (1000, 0)
Maximize Z(point B1) = 300 X + 500 Y 300 (1000) + 500 (0) = 300000.
7 X + 8 Y – S1 = 5600 7 (1000) + 8 (0) – S1 = 5600
S1 = 5600 – 7000 = -1400
12 X + 15 Y – S2= 18000 12 (1000) + 15 (0) – S2 = 18000
S2 = 18000 – 12000 = 6000
Let : Z = 300000
Coordinate Y = 400, then find value X?
Coordinate Point B2 (334, 400)
Maximize Z(point B2) = 300 X + 500 Y 300 (334) + 500 (400) = 300000.
7 X + 8 Y – S1 = 5600 7 (334) + 8 (400) – S1 = 5600
S1 = 5600 – 5538 = 62
12 X + 15 Y – S2= 18000 12 (334) + 15 (400) – S2 = 18000
S2 = 18000 – 10008 = 7992
Let : Z = 240000
Coordinate X = 0, then find value Y?
Coordinate Point C1 (0, 480)
Maximize Z(point C1) = 300 X + 500 Y 300 (0) + 500 (480) = 240000.
7 X + 8 Y – S1 = 5600 7 (0) + 8 (480) – S1 = 5600
S1 = 5600 – 3840 = 1760
12 X + 15 Y – S2= 18000 12 (0) + 15 (480) – S2 = 18000
S2 = 18000 – 7200 = 10800
Let : Z = 325000
Coordinate Y = 0, then find value X?
Coordinate Point D1 (1084, 0)
Maximize Z (point D1) = 300 X + 500 Y 300 (1084) + 500 (0) = 325000.
7 X + 8 Y – S1 = 5600 7 (1084) + 8 (0) – S1 = 5600
S1 = 5600 – 7588 = -1988
12 X + 15 Y – S2= 18000 12 (1084) + 15 (0) – S2 = 18000
S2 = 18000 – 13000 = 5000
Let : Z = 325000
Coordinate Y = 500, then find value X?
Coordinate Point D2 (250, 500)
Maximize Z(point D2)= 300 X + 500 Y 300 (250) + 500 (500) = 325000.
7 X + 8 Y – S1 = 5600 7 (250) + 8 (500) – S1 = 5600
S1 = 5600 – 5750 = -150
12 X + 15 Y – S2= 18000 12 (250) + 15 (500) – S2 = 18000
S2 = 18000 – 10500 = 7500
G. CONCLUSION:
Coordinate point A (0, 700) with value Z = 350.000 is a Truckco’s profit maximum