Page 1 :
Topic :-, , Linear Programming, , The running of any firm or of a factory involves many constraints like, financial,space,resources,power etc. The objective of any business person would be to make the, profit maximum (in the case of investment to make the cost a minimum) under all the, constraints.The linear programming problem is the problem of optimising an objective function, under a given set of constraints.When the objective function is profit function the optimisation is to, maximise the profit.In the case of cost function the optimisation is to minimise the cost., All the constaints of the problem are linear inequalities and the objective function is linear.Hence, it, is called LPP.The following are a few illustrations of the LPP by Graphical method ., 1. Maximise : P =, Subject to :, , ., ≤ 20, , ≤6, 0., Now we draw the graphs of the equations, feasible region., , = 20,, , and, , = 6 and recognise the, , Y, , A(0,6), , B(8,6), , =600, , C(10,5), , O(0,0), , D(15,0), , X
Page 2 :
The shaded region OABCDO (bounded) represents the feasible region in which all the Constraints of, the problem are satisfied. Now, we evaluate the objective function at these corners of the region., Vertex, 0, , 0, , 0, , 0, , A, , 0, , 6, , 3X0+5X6=30, , B, , 8, , 6, , 3X8+5X6=54, , C, , 10, , 5, , 3X10+5X5=55, , D, , 15, , 0, , 3X15+5X0=45, , From the above table we observe that Maximum value of P is 55 and corresponds to, X = 10 and y = 5, , 2). Minimise:, , C =, , Subject to :, , ≥ 6, 4., ≥ 6, ., , we draw the graphs of the linear equations, Y, , B(1,3, ), , D(, ), O, , C(3,1, ), X
Page 3 :
The shaded region BCD ( triangular region ,bounded) is the feasible region., In this region all the constraints of the problem are satisfied.Now we evaluate the objective, function C =, at the verticies., , Vertex, B, C, D, , x, 1, 3, 3/2, , y, 3, 1, 3/2, , C=, 272, 304, 216, , From the above table we observe that the minimum value of C is 216 and corresponds to, and, ., Note:- The co-ordinates of the points B, C and D can be read from the graph. They may, also be determined by solving the equations of the corresponding pair of lines, (3) Maximise :, Subject to :, , Now we draw the graphs of the linear equations and recognise the feasible region., Y, , A(0,6), , B(3,4), , X, , O, , C(5,0)
Page 4 :
The shaded region OABCO is the feasible region. Now we evaluate, vertices., , at the, , Vertex, 0, A, , 0, 0, , 0, , 0, 12, , B, C, , 3, 5, , 4, 0, , 23, 25, , From the table we find that the maximum value of Z = 25 and corresponds to, ., Note:The above working is based on the result that the optimal solution of a LPP if exists, will occur at a corner point of the feasible region., , (4), , Maximise, Subject to :, , We draw the graphs corresponding to the linear equations and shade the feasible region., , Y, , A(0,5), B(2,4), , C(4,2), , O, , D(4,0), , X
Page 5 :
The shaded region OABCDO(bounded ) is the feasible region., Now we evaluate, , at the vertices, , ., Vertex, 0, A, , 0, 0, , 0, , 0, 10, , B, C, D, , 2, 4, 4, , 4, 2, 0, , 14, 16, 12, , From the table we find that the maximum value of p = 16 and corresponds to, (5). Determine the maximum and minimum values of, Z = 4x + y, Subject to: x + 2y, 4, x – 2y, 0, 6, x, y 0, solution: We draw the lines, , x+ 2y = 4 , x– 2y = 0 and x= 6., , Y, , x=6, x– 2y, , C(6,3), B(2,1), , O, , A(4,0), , D(6,0), x+2y=4, , X
Page 6 :
The feasible region is bounded region with A( 4, 0 ) , B ( 2 , 1 ) , C ( 6 , 3 ) and D( 6 , 0 )as, vertices., Now we find the values of Z = 4x + 2y at these vertices., Vertex, A, B, C, D, , X, 4, 2, 6, 6, , Y, 0, 1, 3, 0, , Z = 4x + 2 y, 16, 10, 30, 24, , From the above table we find that the minimum value of Z is 10 and corresponds to x = 2 and, y = 1. The maximum value of Z is 30 and corresponds to x = 6 and y =3., , APPLICATIONS PROBLEMS, 1). A factory manufactures two types of screws, A and B by using two, machines.The time required for the manufacture of one packet of each of the, two types of the screws on the two machines,the total time available of each of, the mechine and the profit obtained on the sale of each packet of the two types, of the screws are given below., Machine, Screws, A, B, Time available, in hours, , Time required in minutes, I, , II, , 4, 6, 4, , 6, 3, 4, , Profit in Rs, Per packet., 8, 5, --, , Formulate this as a Lpp and determine the number of packets of each of the two, types of screws to be manufactured so as to get maximum profit assuming that, all the packets of the screws manufactured are sold., Solution;Let x and y be the number of packets of the type A and type B screws to be, produced., Then,the total time the mechine I works is 4 x + 6y., The total time the machine II works is 6x + 3y., The total profit in Rs. is p = 8x + 5y.
Page 7 :
Since, the two machines are available at most for 4 hours = 240 minutes, we, have 4x + 6y 240. and 6x + 3y 240., .`. the Lpp is to maximise, Subject to:-, , p = 8x + 5y, 4x + 6y 240, 6x + 3y 240, x, y 0, , Now, we draw the graphs of the linear equations 4x + 6y = 240, and 6x +3y = 240., Y, , (0,80), , A(0,40), B(30,20), , C(40,0), , O, , D(60,0), , The feasible region is bounded region OABCO with O(0,0), A( 0,40 ) , B ( 30,20) ,, and C(40 ,0 ) as vertices., Now we find the values of p = 8x + 5y at these vertices., Vertex, O, A, B, C, , X, 0, 0, 30, 40, , Y, 0, 40, 20, 0, , p = 8x + 5 y, 0, 200, 340, 320, , X
Page 8 :
From the table we find that the maximum value of p = 340 and corresponds to, ., `Hence, the maximum profit is Rs. 340 and corresponds to manufacture of 30 packets of A, type.and 20 packets of B type screws., , 2) The production of two types of suitcases requires processing and completion to be done, on two machines A and B.The time required for processing and completion of each type of trunk, on the two machines, the time available on each machine and profit on each type of the suit case, is given below., Suitcase, Machine, A, B, Profit in Rs Per, suitcase, , Time required in hours, Type I, , Type II, , 3, 2, 30, , 3, 4, 42, , Time, available in, hours, 18, 16, --, , Determine the number of the two types of suitcases to, be produced to get maximum profit .., Solution;Let x and y be the number of type I and type II suitcases to be produced., Then,the total time the mechine A works is 3 x + 3y., The total time the machine B works is 2x + 4y., The total profit in Rs. is p = 30x + 42y, Since, the two machines A and B are available at most for 18and 16 hours, respectively, we have 3x + 3y 18. and 2x + 4y 16., .`. the Lpp is to maximise, Subject to:-, , p = 30x + 42y, 3x + 3y 18, 2x + 4y 16, x, y 0, , Now, we draw the graphs of the linear equations 3x + 3y = 18, and 2x +4y=16.
Page 9 :
Y, , E(0,6), , A(0,4), B(4,2), , C(6,0), , O, , X, , D(8,0), , The feasible region is bounded region OABCO with O(0,0), A( 0,4 ) , B ( 4,2) ,, and C(6 ,0 ) as vertices.All the condtions of the problem are satisfied within and, on the boundary of this, Region., Now we find the values of p = 30 x + 42 y at these vertices., Vertex, O, A, B, C, , x, 0, 0, 4, 6, , Y, 0, 4, 2, 0, , p = 30 x + 42 y, 0, 168, 204, 180, , From the table we find that the maximum value of p = 204 and corresponds to, ., Hence, the maximum profit is Rs 204 and corresponds to manufacture of 4, suitcases of, type I.and 2 suitcases of type II..
Page 10 :
3).At a cattle rearing , it is prescribed that the food for each animal contain at, most 16 units of nutrient A, and at least 24 and 48 units of nutrients B and C, respectively.Two types of fodders are available. The number of units of these, nutrients contained per Kg by the two types of fodders and their cost per Kg is, given below, , Content of, nutrient/kg, Fodder- 1, Fodder-2, , A, , B, , 1, 1, , 3, 1, , C, 2, 6, , Cost per kg in, Rs., 12, 15, , By graphical method determine the number of kg of the two types of the, fodder to be purchased so as to make the cost a minimum,yet meeting the, requirements., Solution:, Let, x and y kg of fodder-1and fodder-2 be purchased., Then, the cost in Rs. Is C = 12 x + 15 y., Total content s of nutrients A, B and C are, respectively., , x + y , 3 x + y and 2 x + 6 y, , Since the content of A is to at most 16 while it has to be at least 24 for B and, 48 for C, the constraints are, x+y, , , 3 x + y 24 , and 2 x + 6 y, , 48., , .`.The Lpp is To minimise; C = 12 x + 15 y, Subject to, , x+y, 3 x + y 24, 2x+6y, X, y, , 0, , 48
Page 11 :
Now ,we draw the graphs of the linear equations and recognise the feasible, region, Y, , E(0,24, ), , C(0,16, ), , A (0,8), , N(4,12, ), , ), , L(12,4, ), X, , O, , F (8,0), , D (16,0), , B (24,0), , The shaded region MNL ( triangular region ,bounded) is the feasible, region., In this region all the constraints of the problem are satisfied.Now we evaluate, the objective function C =, at the verticies., Vertex, M, N, L, , x, 6, 4, 1/2, , y, 6, 12, 4, , C=, 162, 228, 206, , From the above table we observe that the minimum value of C is 162 and, corresponds to, and, ., Therefore, in order to make the cost minimum 6kg each of fodder-1 and, fodder-2 are to be bought and the minimum cost is Rs.162., Note:- The co-ordinates of the points M, N and L can be read from the graph., They may also be determined by solving the equations of the corresponding pair, of lines.