Linear Programming Notes
Linear Programming Notes
FORMULATION OF LPP
STEPS
1. Identify decision variables
2. Write objective function
3. Formulate constraints
Page 1 of 9
LINEAR PROGRAMMING
It is required to determine the daily number of units to be manufactured for each product. The profit
per unit for product 1, 2 and 3 is Rs. 4, Rs.3 and Rs.6 respectively. It is assumed that all the amounts
produced are consumed in the market. Formulate the mathematical (L.P.) model that will maximise
the daily profit.
Page 2 of 9
LINEAR PROGRAMMING
Solution:
There will be two constraints. One for machine hours availability and for labour hours availability.
Decision variables:
X1 = Number of units of A manufactured per month.
X2 = Number of units of B manufactured per month.
The objective function:
Max Z = 50x1+ 40x2
Subjective Constraints
For machine hours
1.5x1+ 2.5x2 ≤ 300
For labour hours
2.5x1+ 1.5x2 ≤ 240
Non negativity
x1, x2 ≥0
EXAMPLE: 3
A company produces three products A, B, C.
For manufacturing three raw materials P, Q and R are used.
Profit per unit
A - Rs. 5, B - Rs. 3, C - Rs. 4
Resource requirements/unit
Page 3 of 9
LINEAR PROGRAMMING
Solution:
Decision variables:
x1 = Number of units of A
x2 = Number of units of B
x3 = Number of units of C
Objective Function:
Since Profit per unit is given, objective function is maximisation
Max Z = 5x1+ 3x2 + 4x3
Constraints:
For P:
0x1+ 20x2 + 30x3 ≤ 80
For Q:
20x1+ 30x2 + 20x3 ≤ 100
For R:
50x1+ 0x2 + 40x3 ≤ 150
(for B, R is not required)
X1, X2, X3 ≥ 0
Solution:
Decision Variables:
X1 = Amount invested in Security A
X2 = Amount invested in Security B
Objective Function:
The objective is to maximise the return on total investment.
⸫ Max Z = 0.09 X1 + 0.015 X2 ((% = 0.09, 15% = 0.15)
Page 4 of 9
LINEAR PROGRAMMING
Constraints:
1. Related to Total Investment:
X1 + X2 = 5, 00, 000
2. Related to Risk:
5X1 + 8X2 = (6 X 5, 00, 000)
5X1 + 8X2 = 30, 00, 000
3. Related to Returns:
0.09X1 + 0.15X2 = (0.12 X 5, 00, 000)
⸫0.09X1 + 0.15X2 = 60, 000
4. Non-negativity
X1, X2 ≥ 0
Solution:
Let x1 and x2 denote the number of grade I and grade II inspectors that may be assigned the job of
quality control inspection.
The objective is to minimise the daily cost of inspection. Now the company has to incur two types of
costs; wages paid to the inspectors and the cost of their inspection errors. The cost of grade I
inspector/hour is
Rs. (5 + 3 X 0.04 X 20) = Rs. 7.40.
Similarly, cost of grade II inspector/hour is
Rs. (4 + 3 X 0.08 X 14) = Rs. 7.36.
⸫ The objective function is
minimise Z = 8(7.40x1 + 7.36x2) = 59.20 x1 + 58.88x2.
Constraints are
on the number of grade I inspectors: x1 ≤ 10,
on the number of grade II inspectors: x2 ≤ 15
on the number of pieces to be inspected daily: 20 x 8x1 + 14 x 8x2 ≥ 1500
or 160x1 + 112x2 ≥ 1500
where, x1, x2 ≥ 0.
Page 5 of 9
LINEAR PROGRAMMING
Solution:
Decision Variables:
x1 = Number of units of T.V. ads,
x2 = Number of units of Radio ads,
x3 = Number of units of Newspaper ads.
Objective function: (Maximise reach)
Max. Z = 20, 00, 000 x1 + 10, 00, 000 x2 + 2, 00, 000x3
Subject to constraints:
20, 00, 000 x1 ≥ 10, 000, 000 ........ (for T.V.)
40, 000 x3 ≤ 10, 00, 000 ........... (for Newspaper)
2, 00, 000x1 + 80, 000x2 + 40, 000x3 ≤ 20, 000, 000 .......... (Ad. budget)
x1, x2, x3 ≥ 0
⸫ Simplifying constraints:
for T.V. 2 x1 ≥ 10 ⸫ x1 ≥ 5
for Newspaper 4 x3 ≤ 100 ⸫ x3 ≤ 25
Ad. Budget
20 x1 + 8 x2 + 4 x3 ≤ 2000
5 x1 + 2x2 + x3 ≤ 500
x1, x2, x3 ≥ 0
Page 6 of 9
LINEAR PROGRAMMING
Decision Variables:
x1 = No. of units of P1 per day.
x2 = No. of units of P2 per day.
Objective function:
Min. Z = 100 x1 + 150 x2
Subject to constraints:
3x1+ 5x2 ≥ 30 (for N1)
5x1+ 7x2 ≥ 40 (for N2)
x1, x2 ≥ 0
Page 7 of 9
LINEAR PROGRAMMING
Objective Function:
Max. Z = 4000 x1 + 5000 x2
Subjective to constraints:
6x1+ 5x2 ≤ 500
4x1+ 6x2 ≤ 400
6x1+ 5x2 ≥300
9x1+ 5x2 ≥200
x1, x2 ≥ 0
Product X Y Z
(-) Less
Page 8 of 9
LINEAR PROGRAMMING
⸫ Objective function
Max. = 7400 x1 + 8320 x2 + 7500 x3
Subject to constraints:
x1 + x2 + x3 = 200 (Total Land)
10 x1 + 12 x2 + 10 x3 ≤ 20, 000 (Max Man hours)
x1, x2, x3 ≥ 0
MERITS OF LPP
1. Helps management to make efficient use of resources.
2. Provides quality in decision making.
3. Excellent tools for adjusting to meet changing demands.
4. Fast determination of the solution if a computer is used.
5. Provides a natural sensitivity analysis.
6. Finds solution to problems with a very large or infinite number of possible solution.
DEMERITS OF LPP
1. Existence of non-linear equation: The primary requirements of Linear Programming is the
objective function and constraint function should be linear. Practically linear relationship do
not exist in all cases.
2. Interaction between variables: LP fails in a situation where non-linearity in the equation
emerge due to joint interaction between some of the activities like total effectiveness.
3. Fractional Value: In LPP fractional values are permitted for the decision variable.
4. Knowledge of Coefficients of the equation: It may not be possible to state all coefficients in
the objective function and constraints with certainty.
xxxxxxxxxxxxx
Page 9 of 9