LPP Formulation
LPP Formulation
Programming
Problem Formulation
References
Anderson, Sweeney, Williams: An
Introduction to Management Science, 10th
Ed.; Thomson Asia Pte. Ltd.
Tulsian and Pandey, Quantitative
Techniques Theory and Problems;
Pearson Education
The second reference has numerous examples which could be used for self practice.
Problem Formulation
Problem formulation or modeling is the process of
translating the verbal statement of a problem into a
mathematical statement.
Formulating models is an art that can only be
mastered with practice and experience
The accuracy and value of the conclusions arrived at
depends on how well a model represents the real
situation
Formulation of an LPP
Identify the Decision Variables of interest to the decision
maker and express them as x1, x2, x3,
Ascertain the Objective of the decision maker
Ascertain the Cost (in case of minimization) or the Profit
(in case of maximization) per unit of each decision variable
On the basis of the above data, write down the Objective
Function, Z, as a linear function of the decision variables
Formulation (contd.)
Add non-negativity restriction as under:
xj >= 0; j = 1, 2, n
Non-negativity constraints are a general feature
of all LPPs
Example 1
A garment manufacturer has a production line making two
styles of shirts. Style I needs 200 g of cotton thread, 300 g
of dacron thread and 300 g of linen thread. Corresponding
requirements of style II are 200g, 200g and 100g. The net
contributions are Rs. 19.50 for style I and Rs. 15.90 for
style II. The available inventory of cotton thread, dacron
thread and linen thread are, respectively, 24 kg, 26 kg and
22 kg.
The manufacturer wants to determine the number of each
style to be produced with the given inventory. Formulate
the LPP model.
Step 2: Constraints
Availability of cotton thread: Style I needs 200 g and style
II needs 200 g. 24,000 g is available. The corresponding
constraint is
200 x1 + 200 x2 <= 24,000
Availability of dracon thread: Style I needs 300 g and style
II needs 200 g. 26,000 g is available. The corresponding
constraint is
300 x1 + 200 x2 <= 26,000
Availability of linen thread: Style I needs 300 g and style II
needs 100 g. 22,000 g is available. The corresponding
constraint is
300 x1 + 100 x2 <= 22,000
Step 3: Non-negativity
Since the number of shirts cannot be negative, add
the non-negativity restriction x1, x2 >= 0 and
complete the LP formulation.
-------------------------------------------------------------Note: For the time being we ignore another restriction on
x1 and x2 that they be integers. If that restriction is also
added we write:
x1, x2 >=0 and integers. Then this becomes an Integer
LP or ILP, which we will see later.
Solution of Example 1
Let x1 = number of style I shirts
x2 = number of style II shirts
Max: Z = 19.50 x1 + 15.90 x2 (contribution)
s.t
Example 2
An animal feed company must produce 200 kg of a
mixture consisting of ingredients A and B daily. A
costs Rs. 3 per kg and B costs Rs. 8 per kg. Not
more than 80 kg of A can be used and at least 60
kg of B must be used.
The company wants to know how much of each
ingredient should be used to minimize cost.
Formulate the LPP.
Step 2: Constraints
Committed output is 200 kg of the mixture. The
corresponding constraint is
A + B = 200
Not more than 80 kg of A can be used. The
corresponding constraint is
A <= 80
At least 60 kg of B must be used. The
corresponding constraint is
B >= 60
Step 3: Non-negativity
Since the decision variables cannot be
negative, add the non-negativity restriction
A, B >= 0 and complete the LP formulation.
-----------------------------------------------------Note that we do not have any integer restrictions
on the decision variables in this case.
Solution to Example 2
Min: Z = 3A + 8B
s.t
A + B = 200
A
<= 80
B >= 60
A, B >= 0
Example 3
A farmer has a 125 acre farm. He produces radish, mutter
and potato. Whatever he raises is fully sold. He gets Rs. 5
per kg for radish, Rs. 4 per kg for mutter and Rs. 5 per kg
for potato. The average yield per acre is 1500 kg for
radish, 1800 kg for mutter and 1200 kg for potato.Cost of
manure per acre is Rs. 187.50, Rs. 225 and Rs. 187.50 for
radish, mutter and potato respectively. Labour required per
acre is 6 mandays each for radish and potato and 5 man
days for mutter. A total of 500 mandays of labour is
available at the rate of Rs. 40 per manday.
Formulate this as an LPP model to maximise the profit.
Step 2: Constraints
Availability of land = 125 acres. The
corresponding constraint is
r + m + p <= 125
Availability of labour = 500 mandays. The
corresponding constraint is
6r + 5m + 6p <= 500
Step 3: Non-negativity
Since the decision variables cannot be
negative, add the non-negativity restriction
r, m, p >= 0 and complete the LP
formulation.
Solution to Example 3
Let r, m, p be the no of acres used for radish, mutter and
potato respectively.
Max (5*1500 -187.5 6*40) r +
(4*1800 225 - 5*40) m +
(5*1200 187.5 6*40)p
s.t
r +
m+
6r +
5m +
r, m, p >= 0
Example 4
Jindal manufactures a type of
sofa set containing seven
components: one sofa, two
centre tables and four chairs.
These can either be
manufactured in-house or
sub-contracted as per the data
given in the table:
Per component
Sofa
Direct Material
Rs.
1,000
Direct Labour
hours
Sub-contract
price
Table
Chair
Rs.
500
Rs.
550
Rs.
100 Rs. 50 Rs. 10
Rs.
2,500
Rs.
1,000
Rs.
750
Sales of sofa sets are 8,000 per period, each selling for Rs.7,500. A capacity
constraint of 500,000 direct labour hours obliges the company to subcontract some components.
The variable overheads vary with direct labour hours at Rs. 2 per hour. Fixed
costs are Rs. 1,750,000 per period and labour costs Rs. 5.50 per hour.
Formulate LPP to minimise costs.
Decision variables:
The nos of sofas, tables, chairs made / bought:
sm, sb, tm, tb, cm, cb.
The table on the next slide calculates the cost per unit of
each decision variable (objective function coefficients)
Hence the objective function is:
Min 1750 sm +2500 sb + 875 tm + 1000 tb + 625 cm + 750 cb
Constraints:
Solution to example 4
Sofa
Table
Chair
DM cost
1000
500
550
DL cost
550
275
55
Var O/H
200
100
20
Cost of "make"
1750
875
625
Cost of Buy
2500
1000
750
Example 5
A mutual fund has Rs. 2 million
available for investment in
Government bonds, blue chip
stocks, speculative stocks and
short-term bank deposits. The
annual expected return and the
risk factor are as shown:
Investment
Bonds
14
12
Blue Chip
19
24
Speculative
23
48
Short-term
12
Decision variables:
Amounts invested in Government bonds, blue chip stocks,
speculative stocks and short-term bank deposits :
x1, x2, x3 and x4.
Objective: Maximise returns given that the return per Re. for
the investments are 0.14, 0.19, 0.23, 0.12
Hence the objective function is:
Max 0.14 x1 + 0.19 x2 + 0.23 x3 + 0.12 x4
Constraints: (See next slide for calculations)
Solution to Example 5
Let x1, x2, x3, x4 be the amounts invested.
Average risk factor =
(12 x1+24 x2 + 48 x3 + 6 x4)/(x1+ x2+ x3+ x4) 42.
This gives 30x1+18x2-6x3+36x40.
Also x3 0.2 (x1+ x2+ x3+ x4) ---- Maximum limit on speculative stock
This gives: 0.2 x1 + 0.2 x2 0.8 x3 + 0.2 x4 0
Hence the LPP formulation is as follows:
Max: 0.14 x1+ 0.19 x2+ 0.23 x3+ 0.12 x4
s.t: 30x1+18x2-6x3+36x40 (Avg Risk factor)
0.2 x1 + 0.2 x2 0.8 x3 + 0.2 x4 0 (limit on speculative stock)
x1 + x2+ x3 + x4 2,000,000
x4 200,000
x1, x2, x3, x4 0 (Non-negativity)
Example 6
The vitamins V and W are found in two different
foods, F1 and F2. The respective prices per unit of
each food are Rs. 3 and Rs. 2.5. One unit of F1
contains 2 units of vitamin V and 3 units of vitamin
W. One unit of F2 contains 4 units of vitamin V and
2 units of vitamin W. The daily requirements of V
and W are at least 60 units and 75 units
respectively.
Formulate an LPP to meet the daily requirement of
the vitamins at minimum cost
Decision variables:
Quantity of foods F1 and F2 required be x1 and x2.
Objective: Minimise cost given that the costs per
unit of F1 and F2 are Rs. 3 and Rs. 2.5 respectively
Hence the objective function is:
Minimise 3 x1 + 2.5 x2
Constraints:
Requirement of V: 2x1 + 4 x2 60
Requirement of W: 3x1 + 2 x2 75
Solution to Example 6
Let x1 and x2 be the quantities of F1 and F2.
Minimise: 3x1 + 2.5 x2
s.t: 2x1 + 4 x2 60 (Min requirement of V)
3x1 + 2x2 75 (Min requirement of W)
x1 , x2 0