Linear Prog. Prob 1
Linear Prog. Prob 1
• If (a,b,c)then • If (a,b,c)then
Step-2: At (0,0),
(Not )
i.e. Origin does not satisfy the inequality.
Step-3: Shade the Non-origin side.
5) Solve graphically and
Sol.:
Step-1: Draw the two lines and
0 2 (0,2) Non-
Origin
1 0 (1,0) Side
0 -1 (0,-1) Origin
1 0 (1,0) Side
0 10 (0,10) Origin
5 0 (5,0) Side
0 -2 (0,-2) Non-
Origin
1 0 (1,0) Side
The commonly shaded region OABCO gives the required GRAPHICAL solution
Linear Programming Problem:
• Definition:
• A L.P.P. may be defined as the problem of maximizing or
minimizing a linear function subject to linear constraints.
These constraints may be equations or inequations.
• Linear Programming Problem includes:
• Decision variables
• Objective function
• Constraints
• Non-negativity constraints
Mathematical Formulation of L.P.P.
Linear Programming Problem:
• Steps:
1) Identify the decision variables (x, y) or (x1, x2).
2) Identify the objective function and write it as mathematical
expression in terms of decision variables.
3) Identify the different constraints and express them as
mathematical equations / inequations
Note: In Our Syllabus, We shall study L.P.P. with at most two
variables.
Let’s Formulate a L.P.P:
Example-1:
A company manufactures two types of toys A and B. Each toy of type A requires 2 minutes for
cutting and 1 minute for assembling. Each toy of type B requires 3 minutes for cutting and 4
minutes for assembling. There are 3 hours available for cutting and 2 hours are available for
assembling. On selling a toy of type A the company gets a profit of Rs.10 and that on toy of
type B is Rs. 20. Formulate the L.P.P. to maximize profit.
Step-1: Decision Variables:-
Let the company manufactures, Hence, the required LPP
No. of type-A toys = x & No. of type-B toys = y and obviously is;
Step-2: Objective Function:- P = Total Profit. Hence Maximize the Profit
Step-3: Constraints:- Consider the table,
Toy type-A Toy type-B Subject to the
Activity Available conditions,
(x) (y)
180 mins (3
Cutting 2 mins 3 mins
Hrs)
120 mins (2
Let’s Formulate another L.P.P:
Example-2:
A Toy manufacturer produces bicycles and tricycles, each of which must be processed through two
machine A and B. Machine A has maximum of 120 hours available and machine B has a maximum
of 180 hours available. Manufacturing a bicycle requires 4 hours on machine A and 10 hours on
machine B. Manufacturing a tricycle required 6 hours on machine A and 3 hours on machine B. If
profits are Rs.65 for a bicycle and Rs.45 for a tricycle, formulate L.P.P. to have maximum profit.
Step-1: Decision Variables:-
Let the company manufactures,
Hence, the required LPP
No. of Tricycles= x & No. of No. of Bicycles= y and obviously is;
Step-2: Objective Function:- P = Total Profit. Hence Maximize the Profit
Step-3: Constraints:- Consider the table,
Machine Tricycles (x) Bicycles (y) Available Subject to the
A 6 4 120 conditions,
B 3 10 180