0% found this document useful (0 votes)
33 views9 pages

Graphical Method for LPP Solutions

Uploaded by

wipap72170
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views9 pages

Graphical Method for LPP Solutions

Uploaded by

wipap72170
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Solution of LPP by graphical method

After formulating the linear programming problem, our aim is to determine the
values of decision variables to find the optimum (maximum or minimum) value of
the objective function. Linear programming problems which involve only two
variables can be solved by graphical method. If the problem has three or more
variables, the graphical method is impractical.

The major steps involved in this method are as follows

(i) State the problem mathematically

(ii) Write all the constraints in the form of equations and draw the graph

(iii) Find the feasible region

(iv) Find the coordinates of each vertex (corner points) of the feasible region. The
coordinates of the vertex can be obtained either by inspection or by solving the two
equations of the lines intersecting at the point

(v) By substituting these corner points in the objective function we can get the
values of the objective function

(vi) If the problem is maximization then the maximum of the above values is the
optimum value. If the problem is minimization then the minimum of the above
values is the optimum value

Example 10.5

Solve the following LPP

Maximize Z = 2 x1 +5x2

subject to the conditions x1+ 4x2 ≤ 24

3x1+x2 ≤ 21

x1+x2 ≤ 9and x1, x2 ≥ 0

Solution:

First we have to find the feasible region using the given conditions.
Since both the decision variables x1 and x2 are non-negative ,the solution lies in the
first quadrant.

Write all the inequalities of the constraints in the form of equations.

Therefore we have the lines x1+ 4x2=24 ; 3x1 + x2 = 21; x1 + x2= 9 x1+ 4x2= 24 is a
line passing through the points (0 , 6) and (24 , 0). [(0,6) is obtained by taking x1=0
in x1 + 4x2 = 24 , (24 , 0) is obtained by taking x2 = 0 in x1+ 4x2 = 24].

Any point lying on or below the line x1 + 4x2 = 24 satisfies the constraint x1 + 4x2≤
24 .

3x1 +x2= 21 is a line passing through the points (0, 21) and (7, 0). Any point
lying on or below the line 3 x1 + x2 = 21 satisfies the constraint 3 x1 + x2 ≤ 21.

x1+ x2 = 9 is a line passing through the points (0 , 9) and ( 9 , 0) .Any point lying
on or below the line x1 + x2 = 9 satisfies the constraint x1+ x2 ≤ 9.

Now we draw the graph.


The feasible region satisfying all the conditions is [Link] co-ordinates of the
points are O(0,0) A(7,0);B(6,3) [ the point B is the intersection of two lines x1+ x2=
9 and 3 x1+ x2= 21];C(4,5) [ the point C is the intersection of two lines

x1+ x2 = 9 and x1+ 4x2 = 24] and D(0,6).


Maximum value of Z occurs at C. Therefore the solution is x1 =4, x2 = 5, Z max = 33

Example 10.6

Solve the following LPP by graphical method Minimize z = 5x1+4x2 Subject to


constraints 4x1+ x2 ≥ 40 ; 2x1+3x2 ≥ 90 and x1, x2 > 0

Solution:

Since both the decision variables x1 and x2 are non-negative, the solution lies in the
first quadrant of the plane.

Consider the equations 4x1+x2 = 40 and 2 x1+3 x2 = 90

4x1+x 2 = 40 is a line passing through the points (0,40) and (10,0).Any point lying
on or above the line 4x1+x2= 40 satisfies the constraint 4x1+ x2 ≥ 40.

2x1+3x2 = 90 is a line passing through the points (0,30) and (45,0). Any point lying
on or above the line 2 x1+3x2= 90 satisfies the constraint 2x1+3x2 ≥ 90.

Draw the graph using the given constraints.


The feasible region is ABC (since the problem is of minimization type we are
moving towards the origin.
The minimum value of Z occurs at B(3,28).

Hence the optimal solution is x1 = 3, x2 = 28 and Zmin=127

Example 10.7

Solve the following LPP.

Maximize Z= 2 x1 +3x2 subject to constraints x1 + x2 ≤ 30 ; x2 ≤ 12; x1 ≤ 20


and x1, x2≥ 0

Solution:

We find the feasible region using the given conditions.

Since both the decision variables x1 and x2 are non-negative, the solution lies in the
first quadrant of the plane.

Write all the inequalities of the constraints in the form of equations.

Therefore we have the lines

x1+x2=30; x2 =12; x1= 20

x1+x2 =30 is a line passing through the points (0,30) and (30,0)

x2 = 12 is a line parallel to x1–axis

x1 = 20 is a line parallel to x2–axis.

The feasible region satisfying all the conditions x1+ x2≤ 30; x2≤ 12 ; x1≤ 20
and x1, x2 ≥ 0 is shown in the following graph.
The feasible region satisfying all the conditions is OABCD.

The co-ordinates of the points are O(0,0) ; A(20,0); B(20,10) ; C(18,12) and
D(0,12).
Maximum value of Z occurs at C. Therefore the solution is x1 = 18 , x2= 12, Z max =
72

Example 10.8

Maximize Z = 3x1 + 4x2 subject to x1 – x2 < –1; –x1+x2 < 0 and x1, x2 ≥ 0

Solution:

Since both the decision variables x1, x2 are non-negative ,the solution lies in the first
quadrant of the plane.

Consider the equations x1– x2 = –1 and – x1 + x2 = 0

x1– x2 =–1 is a line passing through the points (0,1) and (–1,0)

–x1 + x2 = 0 is a line passing through the point (0,0)

Now we draw the graph satisfying the conditions x1 – x2 < –1; –x1+x2 < 0
and x1, x2≥0
There is no common region(feasible region) satisfying all the given conditions.

Hence the given LPP has no solution.

Common questions

Powered by AI

An unbounded feasible region needs careful analysis since traditional corner point evaluations may not apply indefinitely. A critical step is to examine whether the objective function can reach extreme values infinitely, or to determine specific bound solutions at identified vertices. Techniques beyond graphical methods or adjustments in constraints may be necessary to create bounded conditions .

In comparing maximization and minimization problems, the orientation of the feasible region is crucial: maximization tends to move away from the origin, favoring higher values on the objective function line, while minimization approaches the origin, indicating lower objective values. This directionality impacts which vertices of the feasible region are optimal, as seen in the solutions of various examples .

Non-negativity constraints (x1, x2 ≥ 0) ensure that all feasible solutions are within the first quadrant, making it possible to delineate and calculate realistic solutions in various scenarios such as production or resource allocation, where negative quantities are infeasible or meaningless .

If there is no feasible region, it indicates that no solution exists that simultaneously satisfies all constraints. This could arise from conflicting constraints that do not overlap in positive solution space, leading to an unsolvable problem with the given set of restrictions .

The constraint 'x1 - x2 < -1' affects the feasible region by defining a boundary line x1 - x2 = -1 which needs to be beneath this line for the constraint to hold. This line forms part of the boundaries for examining feasible solutions, but in combination with other constraints, it results in no feasible region, as they do not intersect positively in the first quadrant .

Identifying intersection points is crucial as these represent possible optimal solutions within the feasible region. The values at these points are tested in the objective function to determine maximize or minimize conditions. These vertices encapsulate the boundary of feasible solutions due to the constraint lines intersecting, thus are key to solving LPP graphically .

The graphical method is restricted to two-variable cases because it involves plotting constraints and feasible regions on a two-dimensional graph. With more than two variables, it becomes impractical to visualize and graphically represent the feasible region .

The minimum Z is achieved at B(3,28) because when substituting these coordinates into the objective function Z = 5x1+4x2, it yields the smallest value compared to other corner points in the feasible region when checked against the constraints 4x1+x2 ≥ 40 and 2x1+3x2 ≥ 90 .

The steps involved are: (i) State the problem mathematically, (ii) Write constraints as equations and draw their graphs, (iii) Identify the feasible region, (iv) Determine the coordinates of each vertex (intersection points) of the feasible region, (v) Substitute these vertices in the objective function to get their values, and (vi) Select the optimal value based on the problem type (maximization or minimization).

The graphical method determines the optimal solution by identifying the feasible region from the intersection of constraints, represented as linear inequalities. Then, all corner points of the feasible region are evaluated using the objective function. For maximization, the maximum value among these calculated points is chosen, and for minimization, the minimum value is selected .

You might also like