8 . Linear Programming (PDF)
8 . Linear Programming (PDF)
I ,incor Programming
€'. 4 yz. O.
Ex. I) Maximize / >' 2.t suhjccl to x Yr.'. 2, .x+ Y '
. by druwino the
Solution : To c.Jrow rcuion s x y l 2 1 x ➔ y,..... 4 , we IJcf}Jn
lines x-y 2 on<l x+y 4 .
-----~~--
·rwo Intercept Region
Inequality Line Point~
1---- ~ --f- - ~ -..!-- _.___t:F.!!O!Jrm~~-1~~~-'-""-;~N~onn origin
X y (2.0) ,(0,-2)
x -y= 2 -+-= l
2 -2
x+y ~ 4 X y (4,0) ,(0,4) Origin side J
x +y= 4 -+-= I
______,____ _.,_______
4 4 L----
y
• . y~
X
"
y 2
3 i1' "
,/ i1' ◄
2
.?')- "
B (2.0)
•I X
0 2 6
The feasible region is ABC, with comer points A(3 , 1), 8(2,0) and
C(4,0).
~P4HAAI j
Solution : To draw regions r + 2y ~ IO, 3x + 4y ~ 24 , we begin by drawing
the lines
x+2y= l0 , 3x+ 4y=-24.
-
Two Intercept
Inequality Line Points Region
.,___ Form - - -
X y ) (10,0) ,(0,5) Non origin side
.\' · 2 l' ~ ) 0 x+2y= l0 -+-=
10 5 -
- --
3x + 4y = 22
7
The feasible region is ABC, with comer points A(4,3), B(0,5) and
C(0,6).
Corner Value of
Z = 200x + 500y
Points
A(4,3) Z = 200( 4) + 500(3) = 2300
-------------@:,------------
-----~~------------ ·r of chairs that ore
Solution: Let x be number
of tables and y be numbc
to b d b fl () ' . 0
t ,s \ 2 ' J
10 . . .
e tna e y the carpenter. · • ·t of
O
chair 1s
Since cost or a table is Rs. 200 a nd cos
Rs. 100, z :. ~00?< ..J..100 Y
Total profit is........ , which is to be maximized.
As at least (more than or equal) 2 chmrs · , per table
. Number of chairs >
1.e. 2(Number of ta bl es ) i.e y ? 2x.
- h .
Also as the total number of tables and c airs should not exceed
(less than or equal) 30,
So x + y s; 30. Hence the LPP is formulated as follows
The feasible region is ABC with comer points A( 9 .,Q.), BO~.~~ and
-~-----~~::>---------
C (D.,. ~ ,I;?..
Corner Value of
~ o.ints
..__P z 200, + 1001·
~---=-
A( .Q. ,.o ), ..........................
0
Element 2 16
4
~ Ele:ent -
, .i . .'2..
.. ~.'t
B
- Element -
2. . .~ J.8
From
C
the
- table,
-
the
_._
constraint are
4x + 2y ~ 16,f.. x + .'.?.-y ~ ~4;-.;. x +~-y ~ .!~. Also
The LPP is formulated as follows.
Minimize Z = 800x + 640y
y ~ 0 X,
- ~ 16 ~~-
~' 1/
'
-4 -2 0
Solution~.F-~~
X
-- - t -
? 0, y ? 0
co,
_Pofnts
2 s) (.5o,o)
___. __ Condftf
. . . on:----
..
O • O O O O O o o o o o o o oo O O O O O O o 00 0 0 0 O O O O O O O O O O • · 0 O O O O O O O O O I IO O o O O O O O o o O O O o o o IO o o O O I IO o o • • • • • • • • • o
O O O
O
O O O O O O O
7-.D :: 5 0
2.ftl =
--------..... ____________---
·············
~,,__
. ······ .. .... . ······· ····· .. .... ... ... .. .. ...... .
·
... AB CD .fs --the ...Fe.as9bl e. . .rr.eaf'.cQn..... ............................
0
•
.. ... : . . .ve"rti ce s
0
a~.... A (. o., '.'.?:.~ ) . . . ....... .... ..... .. ... ... .... .
.... .. . . ... .. .. . .. .. ....... .. . .... ~ C1s ,1. 5 ) .......... .. ... .. ...... . . . .... ... .. .. ...
... C (15 1 ,;) ········· ······ ..... ····· .... ····· ........ .
D(o,10) ········· ······ ····· ············ ······ ············
... :~.. · .. "4 = '2> ?( +9 y .... ····· ······ ················· ····· ·······················
...... _' .. Z A = 3 CO) +- ~ ( io) = 180 ······ ······ ················· ··········· ......... .
z 8 =:l 15) t 9 LI 5) ==- \ &o ...... ... ....... ............ ..... ........... .... ........ ..
Z c. :::: .9( '=>) -t 9 l 5) =-6 o . ····················· ..... ··········· ·············· ········
........... 2-D .=. 3(0) t- 9 CID) ::.qo .... ······· ...... ·················· ········· .... ········
7- h as rn a.J< f rn u y-y, \I a.Lu e aJ;- t-w o p ofn t-s A~ 1~ .i · e
180 : . 2- h~s moxfmL(m v~e t&o .<;t.t- ev~ pofnt
of ~ment Jofr\'i'n3 po'fr1ts A(o/2,4-J ~BC l.Sil~) :........... ..
. -- . . Het1ce etre fnffl')ft;e nurnbeY oP solut-fon :..............
.. ··········· ..... ······ ······· ····················· ································· ·············· ....... .
Y'
----------®---------
................
.. . .........
E
x. (7) A co-operoti\ e so~1et, of fonncrs hos 50 t1cc t arc of land to
· \ . The proftt
gro,, t\\ o crops "\. and • t·rom 1.:•rops- X
·
and Y per
hectare are estimated as Rs. 10,500 and Rs. 9,000 respectively.
To control ,, eeds a liquid herbicide has to be used for crops
X and Y at rotes of 20 liter and l 0 liter per hectare. Further
no more than 800 liter of herbicide should be used in order
to protect fish and a wild life using the pond which collects
draining from this land. How much land should be allocated to
each crop so as to maximize the total profit of the society ?
Solution: let :t-?:j ... vec.1-o, la.nd . ..l,L allot-eel tv ?C. ..£ y .
0
Ciops rres pew v el~ ,x >10-1 'I )1 a ........................................................
..:... .J he tnaxfrtH.tm .p-ro fit 2 = 10 Soox-t- '3 ooo y............
CSu.bjec.t:.. to J r;1. t 8 ~ so ............................................····························
-r I oy ~ 800 .... ····························
!:l-0 ?t
.... ················ .......... .
Q{ >/0 / >0
'r
:2-
.,,, Fe"s ,b ., (30 ,2. 0)
~~ , e q, rI) n
I .,,,...,q
l
O0
20
70
IO
I Sig n of Teacher : ]
---------------~~ - - - - - - - - -