Or Mod1 LPP
Or Mod1 LPP
graphical solution
Seema S
Assistant Professor
CETSOM
Linear Programming Problem(LPP)
• The term Linear Programming defines a particular class of programming
problems that meet the following conditions:
• The criterion(objective function) for selecting the best values for the
decision variables can be described by a linear function of these
variables(functions involving only the first power with no cross products)
Labour(hrs/
7 3 6
unit)
Material(poun
4 4 5
ds/unit)
Profit($/unit) 4 2 3
Dealer problem(homework)
A furniture dealer deals in only two items–tables and chairs. He has Rs 50,000 to invest and has storage space
of at most 60 pieces. A table costs Rs 2500 and a chair Rs 500. He estimates that from the sale of one table, he
can make a profit of Rs 250 and that from the sale of one chair a profit of Rs 75. He wants to know how many
tables and chairs he should buy from the available money so as to maximise his total profit, assuming that he can
sell all the items which he buys. Formulate as an LPP.
Diet problem
A dietician wishes to mix two types of foods in such a way that vitamin contents of the mixture contain at least 8
units of vitamin A and 10 units of vitamin C. Food ‘I’ contains 2 units/kg of vitamin A and 1 unit/kg of vitamin C.
Food ‘II’ contains 1 unit/kg of vitamin A and 2 units/kg of vitamin C. It costs Rs 50 per kg to purchase Food ‘I’
and Rs 70 per kg to purchase Food ‘II’. Formulate this problem as a linear programming problem to minimise the
cost of such a mixture.
•
Allocation problem
A cooperative society of farmers have 50 hectares of land to grow crops X and Y. The profit from crops X and Y
per hectare are estimated as Rs 10,500 and Rs 9,000 respectively. To control weeds, a liquid herbicide has to be
used for crops X and Y at rates of 20 litres and 10 litres per hectare. Further, no more than 800 litres of herbicide
should be used in order to protect fish and wild life using a pond which collects drainage from this land. How
much land should be allocated to each crop so as to maximise the total profit of the society.
Manufacturing problem
A manufacturing company makes two models A and B of a product. Each piece of Model A requires 9 labour
hours for fabricating and 1 labour hour for finishing. Each piece of Model B requires 12 labour hours for
fabricating and 3 labour hours for finishing. For fabricating and finishing, the maximum labour hours available
are 180 and 30 respectively. The company makes a profit of Rs 8000 on each piece of model A and Rs 12000 on
each piece of Model B. How many pieces of Model A and Model B should be manufactured per week to realise a
maximum profit? What is the maximum profit per week?
Graphical Solution to LPP
• Step 1: Convert any type of inequality constraint to equality
• step2: Draw the lines corresponding to equality constraints and also for the non-negativity constraints
• step3: Consider the original constraints and shade the corresponding region in the first quadrant
• step5: find the region in the first quadrant which is the most common for all the constraints. This region
if it exists is called the feasible region
• step6: either the feasible regions is convex and is bounded in which case the optimal solution exists
and lies at one of the vertices of the convex region
• now find all the vertices , evaluate the objective function at these corner points and pick up the
optimal value
Solve graphically
• 1)Maximize Z = 4x+y
3x+y<=90
x, y >=0
x+2y >= 10
x, y >=0
Minimize Z =200x+500y
3x+4y<=24
x, y >= 0
• General steps:
• Improve the initial solution if possible by finding another basic feasible solution with a
better objective function value. At this step the simplex method implicitly eliminates
from consideration all those basic feasible solutions whose objective function values
are worse than the present one.
• Continue to find better basic feasible solutions improving the objective function
value .When a particular BFS cannot be improved further , it becomes an optimal
solutions and the simplex method terminates
Linear Program in standard form
• Standard form of LPP must have following three characteristics:
• Maximize(Minimize) Z = cx
• Subject to: Ax = b
• x>=0
• The standard form of an LPP with m constraints and n variables can be represented as follows:
Condition for Optimality
• In a maximisation problem, a basic feasible solution is optimal if the relative profits of its non basic variables are all negative or
zero
• a basic variable is defined as a variable which appears with a coefficient of +1 in one equation and zero in the remaining
equations
• slack variable:
• Surplus variable:
• Maximize Z= 3x1+2x2
• subject to :
• -x1+2x2<= 4
• 3x1+2x2 <=14
• x1-x2 <=3
• x1,x2>=0
Practice Problem
• Solve using Simplex method
• Maximize Z = 3x1+4x2