Linear Programming For GC
Linear Programming For GC
PROGRAMMING PREPARED BY
JEAN D. CENTINA
DAVAO DEL NORTE STATE COLLEGE
REFERENCE BOOKS:
pp. 209-234 of MATHEMATICS in the Modern World by Baltazar, Ragasa, and Evangelista
The answer
(
4
0
,
5
0
)
,
c
o
m
Example 2
A calculator company produces scientific calculators and graphing calculators. Long-term projections
indicated an expected demand of at least 100 scientific calculators and 80 graphing calculators each day.
Because of limitations on production capacity, no more than 200 scientific calculators and 170 graphing
calculators can be made daily. To satisfy a shipping contract, a total of at least 200 calculators must be
shipped each day. If each scientific calculator sold result in in a P20.00 loss, but each graphing calculator
produces a P50.00 profit, how many of each type should be made daily to maximize net profit?
1. Tabulate the information:
CALCULATOR PROFIT / LOSS MADE DAILY TOTAL PROFIT OR LOSS PER
ITEM
Scientific -20 X -20X
Graphing 50 Y 50Y
2. Objective function: maximize the net profit (f) for the day
f (x,y) = -20x + 50y
3. The f should be subject to the following constraints:
At least 100 but no more than 200 scientific calculator 100 < X < 200
At least 80 but no more than 170 graphing calculator 80 < Y < 170
Total of at least 200 calculators shipped each day X + Y > 200
4. Graph the system of inequalities.
4. Graph the system of inequalities.
100 < X < 200 220
120
A
100 80 = Y B C
80
60
40
100 = X X = 200
20
x y
0 200
200 0
5. Determine the
coordinates of the vertices.
Vertex Coordinates
(x,y)
A (100,100)
B (120,80)
C (200,80)
D (200,170)
E (100,170)
=
6. Compute for maximum net profit (f) for the day 5. Determine the
f (x,y) = -20x coordinates of the vertices.
Vertex Coordinates
Vertex (X,Y) f (x,y) = -20x + 50y
+ A (100,100)
A (100,100) f (100,100) = -20(100) + 50(100) = B (120,80)
3,000 C (200,80)
50y
D (200,170)
B (120,80) f (120,80) = -20(120) + 50(80) = 1,600 E (100,170)
11
plant 2 hectares with rice and 6 hectares with corn
COR 3000 Y 3000Y to have the maximum profit of P28,000. answer.
N 10
15
D (0,0) f (0,0) = 5000(0) + 3000(0) = 0 2x + y = 10
1. TABULATE THE INFORMATION
x y
source Yield Ton of ore Amount of Au
(g/ton) extract 0 8
A 57 X 57X 4 0
B 85 Y 85Y 2x + y = 8
y = 2x 7. Thus, 2 tons of ore from source A
2. Maximum amount of gold (f) :
f (x,y) = 57x + 85y
8
must be processed and 4 tons of ore
7 from source B must be processed to have a
3. Constraints for f : 4. Graph : x + y =3 6 maximum extract of 454 g of Gold. answ.
x + y ≥3 2x + y = 8 5
1000x + 500y ≤ 4000 y = 2x 4
(2,4)
y ≤ 2x x=0
y=0 (1,2) 3
x ≥0 2
y ≥ 0 (3,0)
1 (4,0)
5. Coordinates: 1 2 3 4 5 6 7 8 9 10
(4,0) (3,0) (1,2) (2,4) Example 4. A gold processor has two sources of gold ore, source A and source B. In
order to keep his plant running, at least 3 tons of ore must be processed each day. Ore
6. Calculate: f (x,y) = 57x + 85y from source A costs P1,000 and ore from source B costs P500 to process. Costs must
f (4,0) = 57(4) + 85(0) = 228 be kept to less than P4,000 per day. Moreover, government regulations require that
the amount of ore from source B cannot exceed twice the amount of ore from source
f (3,0) = 57(3) + 85(0) = 171 A. If ore from source A yields 57 grams of gold per ton, and ore from source B yields 85
f (1,2) = 57(1) + 85(2) = 227 grams of gold per ton, how many tons of ore from both sources must be processed
each day to maximize the amount of gold extracted subject to the above constraints?
f (2,4) = 57(2) + 85(4) = 454 (adapted from Wilson, 2014)
PRACTI Exercise A is similar to example 4 while exercise B is similar to example 1.
Write neatly your solutions on a paper and answer the questions posted in the google.
CE.
EXERCISE A.
A gold processor has two sources of gold ore, source A and source B. In order to keep his plant
running, at least 3 tons of ore must be processed each day. Ore from source A costs $20 and
ore from source B costs $10 to process. Costs must be kept to less than $80 per day.
Moreover, government regulations require that the amount of ore from source B cannot
exceed twice the amount of ore from source A. If ore from source A yields 2 oz. of gold per
ton, and ore from source B yields 3 oz. of gold per ton, how many tons of ore from both
sources must be processed each day to maximize the amount of gold extracted subject to
the above constraints? (adapted from Wilson, 2014)
EXERCISE B.
John, a school supply retailer, sells imported pencils and notebooks. He can regularly get between 400 and 500 pencils and
between 150 and 200 notebooks but no more than 650 items altogether. The pencils cost P18 to buy wholesale and sell for
P25 whereas the notebooks cost P28 wholesale but can be sold for P45. How many of each type should he acquire to make a
maximum profit. (PROBLEM 16 ON PAGE 280 OF ESSENTIALS OF MATHEMATICS IN THE MODERN WORLD.)
EXERCISE A.
1. TABULATE THE INFORMATION A gold processor has two sources of gold ore, source A and source B. In order to keep
Source Yield Ton of ore Amount of his plant running, at least 3 tons of ore must be processed each day. Ore from source A
of Gold (oz./ton) Gold extract costs $20 and ore from source B costs $10 to process. Costs must be kept to less than
ore $80 per day. Moreover, government regulations require that the amount of ore from
source B cannot exceed twice the amount of ore from source A. If ore from source A
A yields 2 oz. of gold per ton, and ore from source B yields 3 oz. of gold per ton, how many
B tons of ore from both sources must be processed each day to maximize the amount of
gold extracted subject to the above constraints? (adapted from Wilson, 2014)
2. Maximum amount of gold (f) :
5. Coordinates:
6. Calculate: