LPP Scan 1
LPP Scan 1
2
Learning Objectives
After studying this chapter, you should be able to
define the linear prOgramming problem.
-FORMULATION
know the assumptions of linear programming.
identify the characteristics of a inear
familiarize the advantages and programming
limitations of linear
problem.
formulation programming
understand the steps followed in the
of a linear problems.
programming problem.
An important or rather essential aspect of
selecting aparticular plan of action from any business or industrial
rse. in any such
activity, there s
amongst several alternatives activity
that
is
'planning. It means
chity. For example, a always an objective to be may be available. Of
tee made available to production manager of an achievedthe purpose of that
manager is to use thesehimself limited resources inindustrial concern has 'profite' as
men, materials and money. Thehis objective. He
Afarmer, a resources in such a way as to have the problem of the
business-man, a
ind or the other. In order to transporter, etc. each has an greatest profit, that may be possible.
plan of action, out of the achieve the objective, he must planobjective, and limited resources of one
several alternatives available to him. properly, that is, to decide upon a
Programming is just another word for 'planning'. But, it
scientific way. The objective
the relevant factors) and (goal) must be identified as a function means something
all the limitations on more-planning
of its variables (the in a
quantities of
inequalities involving those
The variables. resources must be stated as equations and/ or
word linear
indicates that the objective function is linear in its variables, and that the
equations and/or inequalities which represent limitations on resources are also linear.
TERMINOLOGY OF LINEAR
The terms
1.
that are
commornl y PROGRAMMING
used in
connection with a linear programming problem are as under:
the Decision Variables. Decision variables are the unknowns to be determined from the data of
the problem.
product For
example,
to be decision variables in a problem on product mix represent quantities of
a produced, in a diet-mix problem they represent the quantity of diterent foods, in
medium selection media, ec
problem they represent advertising units of different addvertising
OR-2-2
OR-2-3
units of a constrained resource Used equals sum of
The total
d) requirements of the products in a given product mix. the individual resource
(e) The products c¡n be produced in fractions and resources required in their manufacture too
fraction of a unit.
can be employed in
ADVANTAGES OF LINEAR PROGRAMMING
programming helps the management to make
production, i.e., raw material, manpower, money, machines, efficient
(a) Linear etc. use of the
factors of
programming provides information base from which
Linear can be taken.
(6) resources decisions on allocation of scarCe
Linear programming provides flexibility in analysing a
(c) problems. variety of multi-dimensional
improves the quality of
(d Linear programming
or intuition by objectiveanalysis. decision-making
by replacing rules of
thumb,
programming helps inimproving the skill and
providing an insight and prospective into the problemknowledge
(e) Linear situation. of the young executives by
Linear programming is a very good tool for adjusting to meet changing
() sales, deimand, etc. conditions, e.g.,
i Iinear programming helps in detecting bottlenecks in the production process. For example
ne machines may be over utilised and others may
have idle capacity. LP can strike an
optimal balance between the two situations.
THREE STAGES OF AN LPP
Each linear programming problem involves three stages, namely, identification, formulation and
solution :
() Identification involves identification of the available
alternatives of the problem,
establishing linear relationships between variables and specification of the constraints (e.g.,
space, material, money, etc.)
() Formulation of the problem involves construction of a
data. It requires identification of the decision variables, mathenatical mnodel from the given
specifying objective and setting
the
up linear equalities/inequalities for the constraints.
(m) Solution of the problem involves that particular set of values of the
lead to achieve the decision variables which
objective-maximum profit, least cost, etc.
FORMULATION OF AN LPP
Formulation of alinear programming problem means constructing a mathematical model from the
given data. This may be
done in the following six steps
Step 1. Study the
Step 2, to situation find the key decision to be made.
Step 3. Designate the various activities in terms of variables (known as decision variables).
Express the feasible alternatives in terms of decision variables.
theirStepunit4. cost
Tdentor ifyprofitthe objective and express it as alinear function of decision variables involving
Step 5. contributions.
in the Express
form of linear in words the influerncing factors or restrictionslconstraints, Put these restrictions
StepsSte1pto5)
6.
Express
in
equations)
the /inequalities involving the decision variables.
objective function, constraints, and non-negative restrictions
(identified in
linear programming format.
OR-2-4
Example 1. Afirm is engaged in producing two products, A and B. Each unit Operalions Pea
requires two kg. of raw material and four labour hours for processing, whereas each of
Brequires three kg. of raw material and three hours of labour, of the same type. unit of produr
firm has an availability of 60 kg. of raw material and 96 labour hours. One unit of
yields Rs. 40 and one unit of product Bsold gives Rs. 35 as profit.
Everproduct
week, y
The market for the two products has been surveyed recently which suggests that a
20 units of product A and 10 units of product B can be sold per
Formulate this problem as a linear programming problem to determine as to how maximu
each of the products should be produced per week so that the firm can earn the many unit
maximum
Assume that there is no marketing constraint so that all that is produced can be sold.
Solution. The information given in the problem may be summarised as below :
pt%
Market demand
Product Raw material Processing time
(per week) Proftit per unit
(kg.) (Hrs.)
20
(Rs.)
A 2 4 40
B 3 3 10 35
Availability per week 60 96
Clearly, the graph of first equation meets axis of X at (3, 0) and axis of Yat (0, 2). Further, the
graph of second equation meets axis of Xat (4, 0) and axis of Yat (0, 1), The graphs of the two
equations are drawn in Fig. 3.4.
All points lying on the graph of 2x + 3y = 6 and to the left of it satisfy the inequlity
2r + 3y s 6,since 2 x0 +3x0 <6is true, . . the point (0. 0) satisfies first inequality. Further, all
points lying on the graph of x + 4y =4 and to the left of it satisfy the inequality x+4y S*, Smee
0+ 4x0s 4 is true, ie.,the point (0, 0) satisfies second inequality.
OR-3-4
YA
Operations
3
2x +3y = 6
II
x+4y = 4
4
Feasible
region
Fig. 3.4,
region including
Hence, the commnon solution set of the givern inequalities is the shaded
lyingExample
on the graph of two
2. Draw the equations.
graphs of the following simultaneous inequalities and indicate
solution set: 2 0.
5x + 3ys 15, 3x + 4y S 12, and x >0, y
have
Solution. Temporarily consider the inequalities as strict equations. So, we x =0, y= 0.
5x + 3y = 15, 3x + 4y = 12 and
First two equations can be written as
+ = 1 and += 1.
3 5
Clearly, the graph of first equation meets X-axis at (3, 0) and Y-axis at (0, 5). Further, the gran
of second equation meets X-axis at (4, 0) and Y-axis at (0, 3). The graphs of these equations
drawn in Fig. 3.5.
Y
5A 5x + 3y = 15
2 3x + 4y = 12
Feasible P
1
D
1 3\B 4 5
X
Fig. 3.5.
All points lying on AB and below it satisfy the inequality 5x + 3y s 15. Also, all points lying
on below it satisfy 3x + 4y S 12. (since 5x0 + 3x0 s 15 and 3x0 + 4x0 s
Eurthér, all points lying on the Y-axis (i.e., x = 0) and to the right of it satisfy12).x 2 0 and
noints JyiDg on te A-àxis (.e., y = 0) and above it satisfy y 0.
ade, the common solution set is the shaded regio OBPC 35
Example 1.(Maximization Case) Acompany produces two types of pens, say Aand B.
Profits on pens A and B are Rs.
1S of superior quality and pen Bis of lower quality. 5 and Rs. Pen
pen respectively. Raw material required for each pen A is twice as that of pen B. The supply of
material is sufficient only for 1,000 pens of type B per day. Pen A requires a special clip and
400 such clips are available per day.For pen B, only 700 clips are available per day. Find graphi
graphica
the products mix so that the company can make a maximum profit.
Solution. Let x, y be the number of type A and type B pens respectively which the
compat
decides to produce per day. The given problem, then, has the following linear programi
formulation :
Maximize z = 5x + 3y; subject to the constraints :
2x + ys 1,000 (for raw material)
x S 400, y S 700 (for clips)
x>0 and y >0. (Non-negativity)
Lnear
P
-y=700
Fig. 3.13.
. Since, the solution space is the region OABCD bounded by the lines in the plane, its
points) are :
extreme points (corner A = (0, 700), B= (150, 700), C= (400, 200) and D= (400 o
.0= (0, 0),
Ctoy 4. Values of the objective function at the extreme points are now evaluated :
Extreme point X-coordinate y-coordinate Profit : (5x + 3y)
A 0 700 2,100
B 150 700 2,850
C 400 200 2,600
D 400 2,000
Step 5. Since, the value of objective function is largest at the extreme point B = (150, 700), the
opimal solution to the given LPP is :
x= 150 and y = 700 with maximum z =2,850.
maximumSthe company must produce 150 pens of type A and 700 pens of type B to achieve a
profit of Rs. 2,850.
uires(Minimization
Tequires a minimum of 80 units Case) A company
of chemicalA thatunits
and 60 produces soft drinksBtohasgo ainto
of the chemical contract that
each bottle
of the
Khas adrink. The chemicals are available in a prepared mix from two different suppliers. Supplier
of Aand mix of 4
1 unit units of A and 2 units of B that costs Rs. 10, and supplier X, has a mix of 1 unit
the of B that costs Rs. 4.
How many mixes from company X, and company X, should
cSolompautionn.y
purchase to honour contract requirement and yet minimize cost?
The given data may be summarized as follows :
Supplier Chemical A (units) Cost per mix (Rs.)
Chemical B (units)
4 10
2
Units required 1
1 4
80 60
OR-3"10
09=h+7
Feasibe
region
4x +y= 80
Fig, 3.14.
Now, we try to determine the additional hidden conditions in the problem for which t
solution space (feasible region) becomes bounded.
Each bottle of the drink contains 80 units of chemical Aand 60 units of chemical B. If the drn
are made from the mixes of supplier X, only, each bottle would require 20 mixes to meet th
chemical Arequirement and 30 mixes to meet the chemical B requirement. Therefore, 30 mixe
would meet all minimum requirements. Any lesser amount of mixes would not meet the minimur
requirement for chemical B.
Similarly, if the drinks are made from the mixes of supplier X, only, each bottle would requir
80 mixes to meet both the chemical requirements.
Since, the company that manufactures drinks wants to make a blending of the mixes purchae
from both the supplier X, and X, it is possible that the company would need less than
maximum amount of both supplies to meet the guaranteed minimum.
Thus, we add the two additional hidden conditions x s 30, v s 80. With these additon
restricions, the solution space becomes bounded as shown shaded in Fig. 3.15.
Step 3. As the feasible region ABCD is bounded by the lines 4x + y = 80, 2x + y =
and y= 80, its extreme points are:
A = (0, 80), B = (10, 40), C= (30, 0) and D = (30,
Step 4. Values of the objective function at the extreme points are now 80).
evaluated :
Extreme point X-coordinate y-coordinate Cost : (10x + 4y)
0 320
80
B 10
40 260
30
300
D 30
80 620
OR-3-11
Problem--Graphical Method
Programming P
Linear
t=30
X |D
Feasible
2r+y= 60
4x +y 80 B
region
-y= 80
Fig, 3.15.
solution is :
Stm 5 Since, objective function is least at the extreme point (10, 40), the optimal
x= 10 and y =40 with minimum z = Rs. 260.
Thus, to honour the contract and yet to minimize cost, the comparny should purchase 10 mixes
rom Xand 40 mixes from X.
Remarks. Itmay be observed that it was not essential to identify hidden constraints to make the
feasible region bounded. In fact unbounded solution space does not pose any problemn in the case of
Minimizatiom problems.