Graphical Method PDF
Graphical Method PDF
Graphical Method
One L.P.P
Maximize (z) = 3x1 + 4x2 (i)
Subject to 4x1 + 2x2 ≥ 80 (ii)
2x1 + 5x2 ≤ 180 (iii)
x1, x2 ≥ 0 (iv)
1. The variables that enter into the problem are called decision variables. e.g., x1, x2.
2. The expression showing the relationship between the manufacture's goal and the
decision variables is called the objective function. e.g. z = 3x1 + 4x2 (maximize).
3. The inequalities (ii); (iii); (iv) are called constraints being all linear, it is a linear
programming problem (L.P.P).This is an example of a real situation from industry.
Graphical Method
Working Procedure:
Step-1: Formulate the given problem as a linear programming problem.
Step-2: Plot the given constraints as equalities on x1.x2 co-ordinate plane and determine
the convex region formed by them.
[A region or a set of points is said to be convex if the line joining any two of its
points lies completely in the region (or the set)]
Step-3: Determine the vertices of the convex region and find the value of the objective
function and find the value of the objective function at each vertex. The vertex
which gives the optimal value of the objective function gives the desired optimal
solution the problem.
Otherwise:
Draw a dotted line through the origin representing the objective function with z = 0. As z is
increased from zero, this line moves to the right remaining parallel to itself. We go on
sliding this line (parallel to itself), till it is farthest away from the origin and passes
through only one vertex on the convex region. This is the vertex where the maximum value
of z is attained.
When it is required to minimize zn value z is increased till the dotted line passes through
the nearest vertex of the convex region.
Example: Maximize z = 3x1 + 4x2
D
> Unique optimal Sol..h
B
2X2+5X2=180
L AX1+2X =80
2
A C
M
Here farthest point B(2.5, 35) therefore it is the solution
x1 = 2.5, x2 = 35 and zmax = 147.5
2. Note: dotted line parallel to the line LM is called the iso-cost line since it
represents all possible combinations of x1, x2 which produce the same total cost.
3. A minimization problem
LMIIAB So infinite
number of sol..”
5.
It is a maximization problem:
but region is not bounded so
Here Unbounded Sol..”
6.
Graphical Method
GATE-4. A manufacturer produces two types of products, 1 and 2, at
production levels of x1 and x2 respectively. The profit is given is
2x1 + 5x2. The production constraints are: [GATE-2003]
x1 + 3x2 ≤ 40 3x1 + x2 ≤ 24
x1 + x2 ≤ 10 x1 > 0, x2 > 0
The maximum profit which can meet the constraints is:
(a) 29 (b) 38 (c) 44 (d) 75
GATE-6. Let Y1 and Y2 be the decision variables of the dual and v1 and v2 be
the slack variables of the dual of the given linear programming
problem. The optimum dual variables are:
(a) Y1 and Y2 (b) Y1 and v1 (c) Y1 and v2 (d) v1 and v2
IES-2. Match List-I with List-II and select the correct answer using the
codes given below the lists: [IES-1995]
List-I List-II
A. Linear programming 1. Ritchie
B. Dynamic programming 2. Dantzig
C. 'C' programming 3. Bell
D. Integer programming 4. Gomory
Codes: A B C D A B C D
(a) 2 1 4 3 (b) 1 2 3 4
(c) 2 3 1 4 (d) 2 3 4 1
Graphical Method
IES-7. In a linear programming problem, which one of the following is
correct for graphical method? [IES-2009]
(a) A point in the feasible region is not a solution to the problem
(b) One of the corner points of the feasible region is not the optimum
solution
(c) Any point in the positive quadrant does not satisfy the non-negativity
constraint
(d) The lines corresponding to different values of objective functions are
parallel
Machine No. Time taken for Time taken for Available hours
operation on A operation on B per week
P 10 7.5 75
Q 6 9 54
R 5 13 65
Let x1 = number of A to be machined
x2 = number of B to be machined, for profit maximization.
Problem formulation:
(i) Restriction on availability of machines for operation.
(a) If only A were operated on machine P
Then, x1 ≤ 75 / 10
10x1 ≤ 75
(b) If only B were operated on machine P then, 7.5x2 ≤ 75
Since, both A and B are operated on machine P
∴ 10x1 + 7.5x2 ≤ 75 … (i)
Similarly, 6x1 + 9x2 ≤ 54 … (ii)
And 5x1 + 13x2 ≤ 65 … (iii)
Now, profit equation:
Profit fper product A = Rs.60 and profit per product B = Rs. 70
∴Total profit is 60x1 + 70x2
∴Objective function which is to be maximized is
Z = 60x1 + 70x2
(0,10)
|
|
|
|
|
(0,6)
|
(0,5) A
|
•
|
B
|
•C
|
(13,0)
D | •| •|
|
| | | | | | | | | |
0 (7.5,0) (9,0) x1
(iii)
(ii)
(i)
OABCD in the graph is feasible reagion
On solving equation (ii) and (iii) we get co-ordinates of B
∴ B ≡ ( 3.5454,3.6363 )
On solving equation (i) and (ii) we get co-ordinates of C
∴ C ≡ ( 6, 2 )
And A ≡ ( 0,5 ) ; D ≡ ( 7.5, 0 )
Now,
Z ( A ) = 60 × 0 + 70 × 5 = 350
Z ( B ) = 60 × 3.5454 + 70 × 3.6363 = 467.265
Z ( C ) = 60 × 6 + 70 × 2 = 500
Z ( D ) = 60 × 7.5 + 70 × 0 = 450
Hence optimum solution is A = 6 and B = 2