(GRAPHICAL METHOD)
BY
DR. IRENE P. SOLANO
INTRODUCTION
MAXIMIZING THE COMPANY’S PROFIT AND
MINIMIZING ITS COST WITHOUT VIOLATING ANY
LIMITATION OR RESTRICTION ON EXISTING
VARIABLES, SUCH AS TIME AND QUANTITY OF
AVAILABLE RAW MATERIALS IS ONE OF THE
MANY GOALS OF A GOOD MANAGER
LINEAR PROGRAMMING IS A VITAL TOOL IN
ACHIEVING THIS GOAL.
DEFINITION
“LINEAR” IMPLIES DIRECT PROPORTIONALITY OF
RELATIONSHIP OF VARIABLES
“PROGRAMMING” MEANS MAKING SCHEDULES OR
PLANS OF ACTIVITIES TO UNDERTAKE IN THE
FUTURE
THEREFORE, LINEAR PROGRAMMING IS PLANNING
BY THE USE OF LINEAR RELATIONSHIP OF VARIABLES
INVOLVED.
LP MAKES USE OF CERTAIN MATHEMATICAL
TECHNIQUES TO GET THE BEST POSSIBLE SOLUTION
TO A PROBLEM INVOLVING LIMITED RESOURCES
A MINIMIZATION OR MAXIMIZATION PROBLEM
CAN BE CLASSIFIED AS LINEAR PROGRAMMING IF
IT HAS THE FOLLOWING PROPERTIES:
1) THE OBJECTIVE OF THE DECISION MAKER
MUST BE EITHER TO MAXIMIZE OR MINIMIZE
2) THE ACTIONS OF THE DECISION MAKER MUST
BE CONSTRAINED AND THE DECISION
VARIABLES MUST NOT VIOLATE THE
LIMITATIONS OR CONSTRAINTS
3) ALL VARIABLES HAVE A VALUE GREATER THAN
OR EQUAL TO ZERO
4) THE RELATIONSHIP OF VARIABLES COULD BE
EXPRESSED IN TERMS OF EQUATIONS OR
INEQUALITIES
2 WAYS OF SOLVING A LINEAR
PROGRAMMING
Constraints
Subject to (Explicit Constraints)
4x + 2y ≤ 60 hrs (Availability of Assembly Dept)
2x + 4y ≤ 48 hrs (Availability of Finishing Dept)
(Implicit Constraints)
x ≥ 0 ( value of x, number of tables )
y ≥ 0 ( value of y, number of chairs)
4. Graph the constraints
4x + 2y ≤ 60
2x + 4y ≤ 48
x≥0
y≥0
1. Graph x ≥ 0
2. Graph y ≥ 0
3. Graph 4x + 2y ≤ 60
Replace inequality symbol with equal sign
4x + 2y = 60
Find the intercepts and test point (0, 0)
Let x = 0 Let y = 0 Test Point (0, 0)
4(0) + 2y = 60 4x + 2(0) = 60 4x + 2y ≤ 60
2y = 60 4x = 60 4(0) + 2(0) ≤ 60
y = 30 x = 15 0 ≤ 60
(0, 30) (15, 0) True
4. Graph 2x + 4y ≤ 48
Replace inequality symbol with equal sign
2x + 4y = 48
Find the intercepts and test point (0, 0)
Let x = 0 Let y = 0 Test Point (0, 0)
2(0) + 4y = 48 2x + 4(0) = 48 2x + 4y ≤ 48
4y = 48 2x = 48 2(0) + 4(0) ≤ 48
y = 12 x = 24 0 ≤ 48
(0, 12) (24, 0) True
feasible region is the intersection of the
planes (shaded area)
5. Solve for the coordinates at the point of
intersection of the lines
4x + 2y ≤ 60 4x + 2y = 60 equation 1
2x + 4y ≤ 48 2x + 4y = 48 equation 2
Multiply equation 2 by 2
2 (2x + 4y = 48)
4x + 8y = 96 new equation 2
Equation 1 minus New Equation 2
4x + 2y = 60
4x + 8y = 96 (change the signs)
(-) (-) (-)
-6y = -36
y=6
Solve for x (substitute y = 6 in equation 1)
4x + 2y = 60 equation 1
4x + 2(6) = 60
4x + 12 = 60
4x = 60 – 12
4x = 48
x = 12
Hence, the coordinates at the point of the intersection
of the lines is (12, 6)
6. Find the optimum solution
Coordinates Maximize Profit 180x + 100y
(0,12) 180(0) + 100(12) = P1200
(15,0) 180(15) + 100(0) = P 2700
(12, 6) 180(12) + 100(6) = P2760
7. Formulate the decision
Since (12, 6) produces the highest value for profit,
we should make 12 tables and 6 chairs per
production chair in order to maximize the profit at
P2760.
Check whether the solution set is correct
(optional)
Explicit Constraints
4x + 2y ≤ 60 hrs (Availability of Assembly Dept)
4(12) + 2(6) ≤ 60 hrs
48 + 12 = 60 satisfied this constraint
2x + 4y ≤ 48 hrs (Availability of Finishing Dept)
2(12) + 4(6) ≤ 48
24 + 24 = 48 satisfied this constraint
Implicit Constraints
x≥0
x = 12 satisfied this constraint
y ≥ 0 ( value of y, number of chairs)
y = 6 satisfied this constraint
Example 2
A SMALL GENERATOR BURNS TWO TYPES OF FUEL: LOW
SULFUR AND HIGH SULFUR TO PRODUCE ELECTRICITY.
FOR ONE HOUR, EACH GALLON OF LOW SULFUR EMITS 3
UNITS OF SULFUR DIOXIDE, GENERATES 4 KILOWATTS
ELECTRICITY AND COSTS P160. EACH GALLON OF HIGH
SULFUR EMITS 5 UNITS OF SULFUR DIOXIDE, GENERATES
4 KILOWATTS AND COSTS P150. THE ENVIRONMENTAL
PROTECTION AGENCY INSISTS THAT THE MAXIMUM
AMOUNT OF SULFUR DIOXIDE THAT CAN BE EMITTED PER
HOUR IS 15 UNITS. SUPPOSE THAT AT LEAST 16 KILOWATTS
MUST BE GENERATED PER HOUR, HOW MANY GALLONS
OF LOW SULFUR AND HIGH SULFUR MUST BE UTILIZED
PER HOUR IN ORDER TO MINIMIZE THE COST OF FUEL?
1. Tabulate the given data
Types of Fuel Allowable Required Cost
Sulfur Dioxide Electricity
Emission Generation
Low Sulfur 3 units 4 kilowatts P160
High Sulfur 5 units 4 kilowatts P150
Constraints ≤15 units ≥16 kilowatts
2. Represent the unknown in the
problem
Let x = the no. of gallons of low sulfur that must be
utilized
y = the no. of gallons of high sulfur that must be
utilized
3. Formulate the objective function and
constraints
Objective Function
Minimize the cost 160x + 150y
Constraints
Subject to (Explicit Constraints)
3x + 5y ≤ 15 units (Allowable Sulfur Dioxide Emission)
4x + 4y ≥ 16 kilowatts (Required Electricity Generation)
(Implicit Constraints)
x ≥ 0 ( value of x or the number of gallons of low
sulfur is zero or greater than zero – meaning positive
value)
y ≥ 0 ( value of x or the number of gallons of high
sulfur is zero or greater than zero – meaning positive
value)
4. Graph the constraints
3x + 5y ≤ 15
4x + 4y ≥ 16
x≥0
y≥0
1. Graph x ≥ 0
2. Graph y ≥ 0
3. Graph 3x + 5y ≤ 15
Replace the inequality symbol with equal sign
3x + 5y = 15
Find the intercepts and test point (0, 0)
Let x = 0 Let y = 0 Test point (0,0)
3(0) + 5y = 15 3x + 5(0) = 15 3x + 5y ≤ 15
5y = 15 3x = 15 3(0) + 5(0) ≤15
y=3 x=5 0 ≤ 15
(0,3) (5,0) True
4. Graph 4x + 4y ≥ 16
Replace the inequality symbol with equal sign
4x + 4y =16
Find the intercepts and test point (0, 0)
Let x = 0 Let y = 0 Test point (0,0)
4(0) + 4y = 16 4x + 4(0) = 16 4x + 4y ≥ 16
4y = 16 4x = 16 4(0) + 4(0) ≥ 16
y=4 x=4 0 ≥ 16
(0,4) (4,0) Not True
5. Solve for the coordinates at the point of
intersection of the lines
3x + 5y = 15
4x + 4y = 16