Professional Documents
Culture Documents
Project 2
Project 2
Linear Programming
who keeptrying failure is temporary."
"For those -Frank Tygor
Introduction poor
businessman whoiis constrained by limited resources and manpower, and
situationof a the given
Imsginehe have to chalk out an action plan to maximise his profits subject to
will
demand. He
constraints
mrket (ie.,restrictions), situated at different
person who transports a product from factories
situation of a action plan lo minimise the transportation
Next,
imuginethe
markets, H:will also bave to chalk out an
vaious constraints. Linear Program
kcationsto the method known a
given besolved with the
help of
subjccttothe can easily relations used in the problem are linear
and the
cost problems nathematical
type of means thattall the action plan.
Such term inear
method offdetermining a particular
of
maximum or minimun value)and
The
ming.Proenanming referstothe optimal value (ie,
tern is a method ofCnding am conditions that variables are non-egative
Pregramning variables.r subject to the
Linear
linear fumction of several inequations.
called oblectise funetien
a equationsor minimised, is
linear maximiscdur optimisation.
sutisfy a set of to be
whichhas miimisationis called
The linear function,maximisation or decislon variablcs.
of
The process involved prugramming are called non-egativity restrictions.
in lincar are called called
The variables variables to be non-ncgative equations or inequations are
decision lincar
The restristions on the decision variables to satisíy
The restrictions on
the up to
constraints Problem in two variables and
Programming
our study to Lincar
for the lerm 'Linear Programming
we shall restrict abbreviationL.PP.
In this chupter, constraints. Also, we shall use the
three non-trivial
constraints is of the form
Problem'. up lo three
Agencral LPP in two variables and Objective function
Z= ar+by
Maximise (or Minimise)
subject to the constraints:
az+ by{, >,2, <, S)a Constraints
S
O(0,0)
D(2,0)
B)
10
19 o()
15 a(«3)
3
Points Corner
+2y) =5z Z(Z Value
of
2ys12 3r+
3
S2
z-2y
y-axis: Along +2ys3 -3z
unit 1 =cm 1
r-axis: Along 6
unit l cm 1
Scale The
feasible
L.P.P. region
of r
graph. the shaded shown bounded,
as is
in 10
0 6
0 4| r0 21 0
01 t-2y=2
=3 2y -3r + 3I consider
he se
12 +2y
equations: toloWing
3r+2y r-2y
2, S autject
r20. s3. +2y -3r 12, < constraints: eto
cution:
LPP oven
2y
Z=5r+ Minimise is,
2, S AMinimisea
r0. s3. -3r+
2y s12, 2y +3r I-2y KLVPLE-,
and
constraints following to
the subject +2y 2=5z maximise2
the der
examples. following value
the all at
points. those joining segment line the points
of
value
atminimum) matimum
or optimum
.e.. has
potnts. corTer two any
has then
it Programming Linear
S15
Answers 31.1
,Zis maximum when z30, y = 0, and Maximum value of Z m 120
3
. Zis minimum when z = =anid Minimum value of Z=7
Nomaximum value of Z
1.
No feasible region, hence no maximum value ofZ
Zís minimum when z4. y=0, and Minimum value of Z =-12
Minimum value of Z 300
Zis minimum when I=60. y=0: and
and Maximum value of Z 400
.Zis maximum when I=0,u= 200; 43
Tyand Maximun value of Z =
15
when r
8. Zis maximum 11
9. Maximum 12: Minimum does not exist.
10. g=3p
Formulation of L.P.P.
Mathematical solution of the different types of Lr
discuss the mathematical fornulation and description of decision problem into
wThall now transformation of verbal
formulation process includes the programming problems are listed below:
The important lincar
mathematical form. A few the number of units of different
fixed
these problens, we etermine requres
Manufacturing Problems: n by a fim when
each product
space per unit of
should be produced and sold product. warehouse
products which labour hour per unit of
hours,
manpower, machine
make maximum profit. different kinds of constituents
output, ctc., to
determine the amount of dict
problems, we minimise the cost of the desired
these
Diet Problerns: Inshould be included in a diet so as to constituent i nutrient.
Imutrients which minimun anount of cach schedule so as
a certain transportation
sucb skát it contains problems, we determine a different locations
In these situated at
3Aransportation Problems:transporting a product from factories
way of
find thecheapest
to
to different markets.
Maximise / Minimise -
Step IV Represent the above tabular form in the form of LPP.
(At least converts into > and At most' converts into '<)
Step V Solve the L.PP. using the Corner Point Method discussed on Page 31.4.
We have divided the above LPP. in the following two types:
) LPP. with Bounded Feasible Region. G) LPP. with Unbounded Feasible Region.
Let us now discuss the twotypes of problenis one by onc,
31.2.1 LLP.P. with Bounded Feasible Region
In this subsection, we shall consider the mathematical
formulation and solution of L.P.P. in two variables
for which the feasible region bounded.
is
Let us considohe following examples.
EXAMP£-1(SC 20In
ymanufacturer manufactures two types of
tea-cups, A and B.
manufacturing the tea-cups. The time in minutes required for Three machines are needed for
machines is given below: manufacturing cach cup on the
Tlme in minutes
Type of cup Machine! Machine II
A 12
Machine IlI
18 6
B
6
9
Each machine is available for a maximum of six
is ? 1.50 and that on cach cup of type hours per day, If the profit on cach cup of typec A
be manufactured in a day to get the
Bist 1.00, find the nunber of cups of cach type that
maximum profit. should
Proft ()
Type A
40r
Type B
50y
Requirement
Maximise
Quantity of nickel (in grams) At most9
Quantity of chromiura (in grarns) 2u At most §
Hence, givea LPP. is, Maximise Z= 40z +50y
subject to the constraints:
z+ 2y S8 Scale
Along r-axis: 1 cm = 2units
Along y-axis: 1 cm =2 units
2 12
3z+y s9
o(0,0)
31.19
sction31.2 Linear Programming
feasibleeregion is bounded and 230 is the maximum valuc of Zat corner points.
Since,the
isthe
230
maximum value of Zinthe feasible region at r 2.y=3.
unite of ttype A = 2, number of units of type B=3 and maximum profit 23
numberof
ence.
EXAMPLE-3
He has a sum
of 1400 to
Vijayouwns a tfield of 1000 sq m. He wants to plant fruit trecs in it. requires 10 sq m of ground
types of trees. Type A
urchaseyoung ees. ne has the choice of two 25 per tree.
sa m of ground per tree and costs
ree and costs 20 per tree. Type B requires 20 prohit of t2
fully grown, type A produces an average of 20 kg of fruit which can be sold at a ? 15 per
uben at a profit of
type B produces an average of 40 kg of fruit which can be sold
rkg and are fully
many trees of each type should be planted to achieve maximum profit when they
te How programming to find the solution.
wn? What is the maximum profit? Use lincar
of type A r
Calution: Let the number of trees
and the number of trees of type B y
Let total profit
form:
We can represent the given
LPP in the following tabular Requirement
Trees of Type B
Trees of Type Maximise
(2x 20)z =40r (1.5 x 40)y = 60y At most 1400
Profit ()
20r 25y At most 1000
Cost ()
10 20y
Area (sq m)
Z= 40r+60y
Maximise
Hence, given L.PP. is,
constraints:
subject to the z>0, y0
20r + 25y< 1400, 10z+ 20y < 1000,
70
z 0 | 100
y 500
56
20
Scale
Along z-axis: I em=5 units
Along axis: l em = 5 units
10
O 3 10 13 20
Corner Points
Value of Z(2 =5r+ 6y)
160
D() 124
500
c(.o) 3
value of Zat comer points.
Since. the feasible region is unbounded and 124 is the minimum
which has no point in common with feasihle regi
So. we consider the open half plane 5r +6y < 124, 32
=
:124 is the minimum value of Z in the feasible regioa at z = 12, y
=units and minimum ost =124
Hence. quantity of food F =12 units, quantity of food F
Scale
Along r-axis: I cm=5 units
Along y-axis: I cm=5 units
15
10
B
5
5 10 15 20 25. 30
C'U 40
3z +6y 100
4r +3y > 80
5r+6y< 124
a(o.) 160
B() 124
c() 500
3
Since, the feasible region is unbounded and 124 is the minimum value of Z at corner points.
So, we consider the open half plane 5z +Gy < 124, which has no point in common with feasible
region.
124 is the minimum value of Zin the feasible region at z= 12, = 32
3
Hence, quantity of food F = 12 units, quantity of foodnits and 32
minimum cost = 124.
EXAMPLE -2 (/SC 2015)
Adietician wishes to mix two kinds of food X and Y in sucha way
that the mixture contains at
least 10 units of vitamin A, 12 units of vitamin B and 8 units of vitamin C.
The vitamin contents
of one kg of food is given below:
Food Vitamin A Vitamin B Vitamin C
I unit 2 units 3 units
2 units 2 units I unit
One kg of food Xcosts 24 and one kg of food Ycosts 36. Using Lincar
least cost of the total mixture which will Programming. find the
contain the requircd vitamins.
31.39
Section 31.2 Linear Programming
Solution: Let the quantity of food X r kg
and the quantity of food Y =y kg
Let total cost RZ
We can represent the given L.PP in the following tabular form:
Food X Food Y Requirement
24r 36 Minimise
Cost ()
Vitamin A (units) 21 At least 10
Vitamin B (units) 2 2 At least 12
Vitamin C (units) 37 At least 8
Minimise Z= 24r+ 36y
Hence. given L.P.P. is,
subject to the constraints:
z+2y > 10, 2r + 2y> 12, 3r +y>8, >0, y >0
We consider the following equations:
I+2y= 10 2r + 2y = 12 3r+y =8 I=0, y=0
| 0 10 0 6 0|2
|5 0 |v6o V821
The feasible region of L.PP. is unbounded, as shown shaded in the graph.
Scale
Along -axis: 1 cm lunit
Along y-axis: l cm =lunit
z+2y> 10
2 5 6 10
EXAMPLE-2
Anck manufacturer has two depots, P. andQ, with stocks of 30000 and 20000 bricks respective
He veives orders from three builders A, B and C, for 15000, 20000 and 15000 bricks respective
ie cost in for transporting 100X0 bricks to the builders from the depots is given below:
To C
From
40 20 30
P 2
How should the manufacturer fulil the orders so as to keep the cost of transportation minimun
Formulate the above linear programming problem mathematically and then solve it graphically.
Scale
Along r-axis: 1 cm =5000 units
3000) r<15000
Along y-axis: 1 cm= 5000 units
250(00
yS 20000
15000
10000
5000
H
10000 20000 30008 40000
I+y15000 +y<30000
3 3y
Corner Points
Value of z(Z = 100 100+ 1750)
D(0, 15000) 2200
E(0,20000) 2350
F(10000, 20000) 2050
G(15000, 15000) 1750
H(15000, 0) 1300
Since, the feasible region is bounded and 1300 is the minimum value of Z at comer points.
. 1300 is the minimum value of Z in the feasible region al r = 15000, y = 0.
Hence, 15000, 0 and 15000 bricks should be transported from P to A, B and C respectively:
0, 20000 and Obricks should be transported from Qto A, B and Crespectively
and minimum cost of transportation = 1300.