Graph _ Linear Programming
Graph _ Linear Programming
1.Seema wishes to mix two type of food P and Q in such a way that the vitamin
contents of the mixture contain at least 8 units of vitamin A and 11 units of vitamin B.
Food P costs Rs.60/kg and food Q costs Rs.80/kg. Food P contains 3 units/kg of
vitamin A and 5 units/kg of vitamin B while food Q contains 4 units/kg of vitamin A
and 2 units/kg of vitamin B. Form the LPP to minimise cost.
Soln Let x & y be the no. of tennis racket and criket bat.
O A
Solving LPP
Solve Minimise Cost z = 60x + 80y subject to the constraints
3x + 4y ≥ 8 , 5x + 2y ≥ 11, x ≥ 0 , y ≥ 0
Feasible region is the shaded region
Vertices are A,B and C
A A=(0,5.5) , B=(2,0.5) and C=(8/3,0)
At A , z = 60(0) + 80(5.5) = 440
Minimum
At B , z = 60(2) + 80(0.5) = 160
Minimum
At C , z = 60(8/3) + 80(0) = 160
Minimum cost is 160 on the line segment BC
B
C
Solving LPP
Solve graphically: Maximize z = 7x + 5y, subject to the
constraints
2x + y ≤ 100, 4x + 3y ≤ 240, x,y ≥ 0.
Solving LPP
Solve graphically: Maximize z = 7x + 5y, subject to the
constraints
2x + y ≤ 100, 4x + 3y ≤ 240, x,y ≥ 0.
Solving LPP
Solve graphically: Minimize z = 2x + 3y, subject to
x + 2y ≤ 40, 3x + y ≥ 30, 4x + 3y ≥ 60, x,y ≥ 0.
Solving LPP
Solve graphically: Minimize z = 2x + 3y, subject to
x + 2y ≤ 40, 3x + y ≥ 30, 4x + 3y ≥ 60, x,y ≥ 0.
40
The shaded region is the feasible region
with vertices A(15,0), B(40,0), C(4,18) & D(6,12)
30
At A, z=2(15)+3(0)=30
At B, z=2(40)+3(0)=80
20 C(4,18) At C, z=2(4)+3(18)=62
At D, z=2(6)+3(12)=48
D(6,12)
10 Mini. z=30 at x=15 & y=0
B(40,0)
A(15,0)
10 20 30 40 50
Solving LPP
Draw the graph to show the solution set S of the inequalities
3x + y ≥ 9, 4x + 3y ≥ 17, x ≥0 , y ≥ 0.
For what value of x and y over S, is the linear function 3x + 5y is
minimum ?
Solving LPP
Draw the graph to show the solution set S of the inequalities
3x + y ≥ 9, 4x + 3y ≥ 17, x ≥0 , y ≥ 0.
For what value of x and y over S, is the linear function 3x + 5y is
minimum ?
100 C(50,100)
A(0,50)
D(20,40)
If the profit is Rs.40 per unit for product X and Rs.60 per unit for
product Y , how many units of each products should be
manufactured to maximize profit ?
LPP is Maximize z = 40x + 60y , subject to
2x+y ≤70, x+y ≤40, x+3y ≤90, x,y ≥0
Forming and Solving LPP
A diet for sick person must contain at least 4000 units of
vitamins , 50 units of minerals and 1400 units of calories. Two
foods, A and B, are available at a cost of Rs.4 and Rs.3 per unit,
respectively. If one unit of A contains 200 units of vitamins, 1
unit of minerals and 40 units of calories; one unit of food B
contains 100 un its of vitamins, 2 units of minerals and 40 units
of calories, find what combination of food should be used to have
least cost?
Forming and Solving LPP
A diet for sick person must contain at least 4000 units of vitamins , 50 units of minerals
and 1400 units of calories. Two foods, A and B, are available at a cost of Rs.4 and Rs.3 per
unit, respectively. If one unit of A contains 200 units of vitamins, 1 unit of minerals and
40 units of calories; one unit of food B contains 100 un its of vitamins, 2 units of minerals
and 40 units of calories, find what combination of food should be used to have least cost?
A(3,4)
4
C(6,4)
B(3,5/2)
2
-6 -4 -2 2 4 6
-2
At A, z= 3-5(4)+20= 3 ← Minimum
At B, z= 3-5(5/2)+20= 10.5
-4
At C, z= 6-5(4)+20= 6