Linear Programming (Graphical Method) : March 2015
Linear Programming (Graphical Method) : March 2015
net/publication/298178045
CITATIONS READS
0 77,212
Some of the authors of this publication are also working on these related projects:
Improvement in Efficiency and Productivity through Fault Diagnosis in Fans and Blowers using Vibration Signature Analysis View project
All content following this page was uploaded by Dalgobind Mahto on 14 March 2016.
ESSENTIALS OF
OPERATIONS RESEARCH
Chapter 3: Linear Programming-Ii (Graphical Method)
In the previous section, we have looked at some models called linear programming
models. In each case, the model had a function called an objective function, which was to
be maximized or minimized while satisfying several conditions or constraints.
If there are only two variables, one can use a graphical method of solution. Let us begin
with the set of constraints and consider them as a system of inequalities. The solution of
this system of inequalities is a set of points, S. Each point of the set S is called a feasible
solution. The objective function can be evaluated for different feasible solutions and the
maximum or minimum values obtained.
Graph (Linear): A linear graph consists of a number of nodes or junction points, each
joined to some or all of the others by arcs or lines.
Example 3. 1
Maximize: Z 4x 5y
Subject to:
2x 5y 25
6x 5y 45
49
x 0 , y 0
SOLUTION
To solve the above linear programming model using the graphical method, we shall turn
each constraints inequality to equation and set each variable equal to zero (0) to obtain
two (2) coordinate points for each equation (i.e. using double intercept form). Having
obtained all the coordinate points, we shall determine the range of our variables which
enables us to know the appropriate scale to use for our graph. Thereafter, we shall draw
the graph and join all the coordinate points with required straight line.
2x 5y 25 [Constraint 1]
When x 0 , y 5 and when y 0 , x 12.5 .
6x 5y 45 [Constraint 2 ]
When x 0 , y 9 and
when y 0 , x 7.5 .
Minimum value of x is x 0 .
Maximum value of x is x 12.5 .
Range of x is 0 x 12.5.
Minimum value of y is y 0 .
Maximum value of y is y 9 .
Fig.3.1
The constraints give a set of feasible solutions as graphed above. To solve the linear
programming problem, we must now find the feasible solution that makes the objective
function as large as possible. Some possible solutions are listed below:
Table 3.1
Feasible solutions Objective function
( A point in the solution set of the system) Z= 4x + 5y
(2,3) 4(2)+5(3) = 8 + 15 = 23
(4,2) 4(4)+5(2) = 16 + 10 = 26
(5, 1) 4(5)+5(1) = 20 + 5 = 25
(7, 0) 4(7)+5(0) = 28 + 0 = 28
(0, 5) 4(0)+5(5) = 0 + 25 = 25
In this list, the point that makes the objective function the largest is (7,0) . But, is this the
largest for all feasible solutions? How about (6,1)? or (5,3)? It turns out that (5,3) provide
the maximum value: 4(5) 5(3) 20 15 35 .
Hence, maximum profit at point (5,3) and it is the objective functions which have optimal
values
Example 3. 2
Find the corner points for:
2x 5y 25
6x 5y 45
x 0 , y 0
This is the set of feasible solution for Example 6 .
SOLUTION:
The graph for Example 3.1 is repeated here and shows the corner points.
Fig.3.2
Some corner points can usually be found by inspection. In this case, we can see A (0,0)
and D (0,5) . Some corner points may require some work with boundary lines (uses
equations of boundaries not the inequalities giving the regions).
Point C:
System: 2x 5y 25 … (1)
6x 5y 45 … (2)
(1) (2) 4x 20
x 5 .
If x 5 , then from (1) or (2) :
y 3.
Point B:
System: y 0 … (1)
6x 5y 45 … (2)
Solve by substitution:
6x 5(0) 45 =7.5
The corner points for example 7 are: (0,0) , (0,5) , (7.5,0) and (5,3) .
Convex sets and corner points lead us to a method for solving certain linear programming
problems.
Example 3.3
Solve the following linear programming problem:
Minimize: Z 60x 30y
Subject to:
2x 3y 120
2x y 80
x 0 , y 0 .
SOLUTION:
Fig.3.3
Point B:
System: 2x 3y 120 … …………………………………..(1)
2x y 80 ………………………………………………… (2)
(1) (2) =2y 40
y 20 .
Table 3.2
Extreme Values
Corner point Objective function Z = 60x + 30 y
(0, 80) 60(0) + 30(80) = 2400
(30, 20) 60(30) + 30(20) = 2400
(60, 0) 60(60) + 30(0) = 3600
From the table above, there are two minimum values for the objective function: A
(0,80) and B 30,20. In this situation, the objective function will have the same
minimum value (2,400) at all points along the boundary line segment A and B.
Example 3.4
Maximize: z 2x 3y
Subject to:
x 2y 40
6x 5y 150
x 0 , y 0
SOLUTION
The feasible area is defined by the constraints as shown in the figure below in fig 3.4.
Fig.3.4
Suppose that in addition to the existing constraints, the company is contracted to produce
at least 30 units each week. This additional constraint can be written as: x y 30 . As a
boundary solution, the constraint would be: x y 30 , (x 0, y 30)(x 30, y 0) . The
three structural constraints are shown in the figure below in fig 3.5.
This case presents the manager with demands which cannot simultaneously be satisfied.
Fig.3.5
Example 3.5
Minimize: z 600x 900y
Subject to:
40x 60y 480
30x 15y 180
x 0 , y 0
SOLUTION
If we let z Rs 8100 , then:
8100 600x 900y , (x 0, y 9)(x 13.5, y 0) .
The resultant trial cost is shown in the figure below.
Fig.3.6
This line is parallel to the boundary line BC. The lowest acceptable cost solution will be
coincidental with the line BC making point B, point C and any other points on the line
BC optimal. Multiple optimum solutions present the manager with choice and hence
some flexibility.
Solution
: The third constraint can be re-written as - x2 ≥ 3.The solution space satisfying the
constraints is shown shaded in fig 1.1.
FIG(1.1)