Solving Lpp Using
Solving Lpp Using
USING
GRAPHIC
METHOD
INSTRUCTOR: MILLION A. (PhD can)
August, 2021
GRAPHICAL REPRESENTATION AND
SOLUTION
2.the
objective must be either
maximization or minimization.
3. Can I use the graphical method? Yes, if the
number of decision variables is either 1 or 2.
06/27/2025 2
CONT…
Steps for Graphical Solution
A. Corner Point Method
06/27/2025 4
CONT…
Steps for Graphical Solution
Iso-Profit or Iso-Cost Line Method ctd..
06/27/2025
CONT…
A Maximization Problem
Solution
1. Formulation of mathematical modeling of LPP
Max Z = 300X1 +250X2
St:
2X1 +X2 < 40
X1 +3X2 < 45
X1 < 12
X1, X2 >0
2. Convert constraints inequalities into
equalities
2X1 +X2 = 40
X1 +3X2 = 45
X1 = 12
06/27/2025 7
CONT…
A Maximization Problem
Solution
06/27/2025 8
CONT…
Solution
2X1
X2 +X2
X1=0 =
40
40
X1=12
X1
+X2
B
15 =
45
06/27/2025
9
CONT…
A Maximization Problem
Solution
4. Identify the feasible area of the solution which satisfies
all constrains.
5. Identify the corner points in the feasible region
A (0, 0), B (0, 15), C (12, 11) and D (12, 0)
6. Identify the optimal point
7. Interpret the result
Corners Coordinates MaxZ=300 X1 +250X2
A (0, 0) $0
B (0, 15) $3750
C (12, 11) $6350
D (12, 0) $3600
Interpretation:
12 units of product A and 11 units of product B should be
produced so that the total profit will be $6350.
06/27/2025 10
CONT…
Example ABE 2.1
Solve using Graphical method
Maximize {w = 2X1 + 5X2 }
Subj. to:
X1 ≤ 4
X2 ≤3
X1 + X 2 ≤6
X1 ≥ , X 2 ≥ 0
06/27/2025 11
CONT…
Solving graphically
X1 = 4
(3,3) X2 =3
(4,2)
X1 + x2= 6
06/27/2025
12
CONT…
Minimization Problem
Minimize Z with inequalities of constraints in > form
Example:
Suppose that a machine shop has two different types of machines;
machine 1 and machine 2, which can be used to make a single
product .These machine vary in the amount of product produced per
hr., in the amount of labor used and in the cost of operation.
Assume that at least a certain amount of product must be produced
and that we would like to utilize at least the regular labor force. How
much should we utilize each machine in order to utilize total costs
and still meets the requirement? The data are given below.
__________________________________________________________
Resource used
Machine 1 (X1) Machine (X2) Mini. requirement
hrs ____________________________________________________
Product produced/hr 20 15 100
Labor/hr 2 3 15
Operation Cost $25 $30_
06/27/2025 13
FORMULATE THE LP
Min.Z 25 X 130 X 2
St :
20 X 115 X 2100
2 X 13 X 215
X 1 , X 2 0
06/27/2025 14
CONT…
X2
X1 =0
Optimal solution
A (0, 20/3)
Feasible Region
B (2.5, 3.33)
X2 =0
X1
5 C (7.5, 0)
06/27/2025
15
CONT…
Final solutions
X1 =2.5
X2 =3.33 and
MinZ = 162.5
06/27/2025 16
CONT…
SPECIAL CASES IN GRAPHICS METHODS
1. Redundant Constraint
If a constraint when plotted on a graph doesn’t
form part of the boundary making the feasible
region of the problem that constraint is said to be
redundant.
Example:
A firm is engaged in producing two products A and B .Each unit of
product A requires 2Kg of raw material and 4 labor-hrs for
processing. Where as each unit of product B requires 3Kg of raw
materials and 3hrs of labor. Every nit of product A needs 4 hrs and B
needs 3.5hrs for packaging. Every week the firm has availability of
60Kg of raw material, 96 labor-hours and 105 hrs I the packaging
department. 1 unit of product A sold yields $40 profit and 1 unit
of B sod yields $35 profit.
Required:
a. Formulate this problem as a LPP
b. Find the optimal solution
06/27/2025 17
CONT….
SPECIAL CASES IN GRAPHICS METHODS
Solution
___________________________________________________________
Products Resource
available
Resources A B per
week
_____________________________________________________________
Raw materials (Kg) 2 3 60
Labor (hr) 4 3 96
Packaging (hr) 4 3.5 105
06/27/2025 19
CONT…
SPECIAL CASES IN GRAPHICS METHODS
06/27/2025 21
CONT…
Alternative solution
(line segment of alternative optimal
solution)
X1 = 4
(3,3) X2 =3
(4,2)
X1 + x2= 6
06/27/2025
23
CONT…
Unbounded solution
06/27/2025 24
CONT…
Unbounded soln.
-2x1+2X2 =2
X1 + x2= 3
(1,2)
06/27/2025
25
CONT…
Un LP problem with unbounded feasible
area depends on the objective function
and can be;
one (finite) solution
a line segment or half-line
alternative optimal solution
unbounded
06/27/2025 26
CONT…
No feasible solution
06/27/2025 27
CONT…
No feasible solution The feasible area is
empty, therefore, no
feasible solution
x1 = 4
X1 + x2= 3
06/27/2025
28
CONT…
Binding (active) and non binding (in
active) constraints
From the ABE example,
Constraint x1 ≤ 4 is non binding
The other two are binding namely:
X2 ≤ 3
X1 + X2 ≤ 6 are
binding
06/27/2025 29