Professional Documents
Culture Documents
Linear Programming
Pr ogramming
The management of any organization regularly
must make decisions about how to allocate its
resources to various activities to best meet
organizational objectives. Linear programming is
a powerful problem-solving tool that aids
management in making such decision.
The word linear in
in the name refers to the form of
the mathematical expressions in this model.
Programming is
Programming is essentially a synonym for
planning. Thus, linear programming means
planning of activities represented by a linear
mathematical model.
3. Constraints
4. Parameters
GR
GRAPHICAL
APHICAL METHOD
SIMPLEX METHOD
Maximization Model
Linear Programming
Simplex Method (Maximization)
Summary of Steps
1. Set-up the objective function and the problem constraints.
2. Convert the inequalities by adding slack or articial variables.
3. Enter equalities in the simplex table.
4.
Calculate the Cj and Zj values for this solution.
5. Determine the entering variable of the optimum column, i.e.
the column with the highest Cj – Zj value.
6. Determine the outgoing variable of the pivot row.
row.
7. Compute the elements of the entering variable.
obtained.
Sample Problem:
Cavite West Oil Company (Simplex Method
Maximization)
The Cavite
Cavite West
West Oil Company
Company produces
produces ttwo
wo
grades of gasoline: regular and premium. The
prot contributions are P3.00P3.00 per
per liter for
regular gasoline and P6.00
P6.00 per per liter for
premium gasoline. Each liter of regular
gasoline contains 0.30.3 liter
liter of grade A crude
oil and each liter of premium gasoline
contains 0.6
0.6 liter
liter of grade A crude oil. For the
next production period, Cavite West has
18,000 liters
18,000 liters of Grade A crude oil available.
The renery
renery u used
sed to prproduce
oduce ththe e gasoline
gasoline has
a production capacity of 50,000 liters for the
next production period. Cavite West’s
distributors have indicated that demand for
the premium gasoline for the next production
period will be at most 20,000
20,000 liters.
liters.
Determine the number of liters of regular
gasoline and the number of liters of premium
gasoline that should be produced in order to
maximize total prot contribution.
Linear Program:
Let x be the volume of regular gasoline and y be the
volume of premium gasoline
Objective function:
Maximize: P = 3x + 6y
Subject to:
0.3x + 0.6y ≤ 18,0000.3x + 0.6y
0.6y + S1 = 18,000
x + y ≤ 50,0
50,000
00 x + y + S2 = 50,
50,00
000
0
y ≤ 20,000 y + S3 = 20,000
x, y ≥ 0
Initi
In itial
al Tabl
ablee
Pj 3 6 0 0 0
PM Q x y S1 S2 S3
0 S1 18,000 0. 3 0. 6 1 0 0 30000
0 S2 50,000 1 1 0 1 0 50000
0 S3 20,000 0 1 0 0 1 20000
Zj 0 0 0 0 0 0
Pj - Zj 3 6 0 0 0
Second Table
Pj 3 6 0 0 0
PM Q x y S1 S2 S3
0 S2 30,000 1 0 0 1 -1 30000
6 y 20000 0 1 0 0 1 imaginary
Zj
Zj 120000 0 6 0 0 6
Pj - Zj 3 0 0 0 -6
Third
Third Table
Table
Pj 3 6 0 0 0
PM Q x y S1 S2 S3
NA
3 x 20,000 1 0 3.33 0 -2
NA
0 S2 10,000 0 0 -3.33 1 1
NA
6 y 20,000 0 1 0 0 1
Zj 180000 3 6 3.33 0 0
Pj - Zj 0 0 -9.99 0 0
Objecve:
Max P 20000 20000 180000
Constraints:
Problem Exercises
The FamilyF
FamilyFed
ed Trust
Trust Company is planning
planning to invest up to
P6,000,000: bonds and corporate stocks. Bonds carries
an average increase in investment of 25% while dividend
for corporate stocks, 30%. Suppose the fund rules state
that no more than P4,000,000 may be invested in
corporate stocks, while at least P1,500,000 must be
invested in bonds, how much should be invested in each
type of security to maximize the fund’s return?
The Pure Love Candy Shop is preparing for the holiday season,
The owner
owner mus
mustt decide ho
how
w many
many bags of
of deluxe
deluxe mix and
and standard
standard
mix of Peanut-Raisin Delite to put up. The deluxe mix has 2/3 kilo
raisins and 1/3 kilo peanut, and the standard mix has ½ kilo raisins
and ½ kilo peanuts per bag. The shop has 90 kilos of raisins and 60
kilos of peanuts to work with.
Peanuts cost P60 per kilo and raisins cost P150 per kilo. The deluxe
mix will sell for P580 per kilo and the standard mix will sell P510 per
kilo. The owner estimates that no more than 110 bags of either type
can be sold.
If the goal is to maximize prots, how many bags of each type
should be prepared? What is the expected prot?
SIMPLEX METHOD
Minimization Model
Linear Programming
Linear Programming
Sample Problem
A manufacturer of commercial
chemicals has an order for a certain
mixture consisting of two ingredients,
low concentration and high
concentration,
concentration, which cost P40.00 and
P50.00 per kilo, respectively. The
following are the specications: the
weight of the mixture must exactly
100 kilos; it cannot contain more
than 30 kilos of low concentrat
concentration
ion
ingredient; and it must contain at
least 20 kilos of high concentration
ingredient. Find the mixture of the
two ingredients which satises the
customers’ requirements and still
yield a minimum total cost of raw
materials.
Linear Program
Minimize: C = 40x + 50y
Subject to: x + y = 100;
x ≤ 30;
y ≥ 20;
x, y ≥ 0
Modied linear progra
program:
m:
Initial Table
Cj 40 50 0 0 100 100
PM Q x y S1 S2 A1 A2
0 S1 30 1 0 1 0 0 0 UND
100 A
A2
2 20 0 1 0 -1 0 1 20
Second Table
Cj 40 50 0 0 100 100
PM Q x y S1 S2 A1 A2
100 A
A1
1 80 1 0 0 1 1 -1 80
0 S1 30 1 0 1 0 0 0 30
50 y 20 0 1 0 -1 0 1 UND
Third table
Cj 40 50 0 0 100 100
PM Q x y S1 S2 A1 A2
100 A
A11 50 0 0 -1 1 1 -1 50
40 x 30 1 0 1 0 0 0 UND
50 y 20 0 1 0 -1 0 1 -20
Fourth Table
Cj 40 50 0 0 100 100
PM Q x y S1 S2 A1 A2
0 S2 50 0 0 -1 1 1 -1
40 x 30 1 0 1 0 0 0
50 y 70 0 1 -1 0 1 0
Zj 470 40 50 -10 0 50 0
0
Cj-Zj 0 0 10 0 50 100
Decision:
The company
should use 30
kilos of low
concentration
ingredient and 70
kilos of high
concentration
ingredient. The
cost of P4,700 is
at minimum.
Pr
Problem
oblem Exer
Exercises
cises
cargo. It costs
can carry P50,00060
a maximum per journey. The
passengers andsecond type
15 tons of
cargo. It costs P60,000 per journey
journey.. The aircraft rm
is contracted to carry at least 480 passengers and 180
tons of cargo
cargo each day.
day. What choice of aircraft will
minimize overall cost?
feeds he contains
of which buys. Hethe
is considering two but
feeds required supplements,
in dierenteach
amounts. He must meet or exceed the minimum
vitamin requirements.
requirements. The vitamin content per gram of
the
Vitsupplements
amin Suppleismgiven
ent in the following table.
Supplement
A B
A 5 units 25 units
B Complex 25 units 10 units
C 10 units 10 units
E 36 units 20 units
than
salarytwo
fortechnicians per licensed
licensed pharmacist pharmacist.
is P200 per hourThe
andaverage
the average
salary for technician is P50 per hour
hour..
a. Determine a minimum-cost stang plan for the company.
company.
b. Given the current stang levels and expected attrition, how
many new hires (if any) must be made to reach the level
recommended in (a)? What will be the impact on the payroll?