0% found this document useful (0 votes)
6 views

8 . Linear Programming (PDF)

Uploaded by

saij35276
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

8 . Linear Programming (PDF)

Uploaded by

saij35276
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

8.

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).

Corner Points Value of z = y - 2x


A(3,I) Z = l - 2(3) =-5

8(2,0) --+-- Z =0 - 2(2) =- 4


~ (4,0) Z = 0- 2(4) =-8

The maximum value of Z is -4 at x = 2,y = o

Ex. (2) Minimize: Z = 200x+ 500y subject to x + 2y ~lO,


3x + 4y s; 24
x~O, y~ O. '

~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~ 24 j 3x+ 4y= 24 I X y


-+ - = I
8 6
(8,0) ,(0, 6) Origin side

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

B(0,5) Z = 200(0) + 500(5) = 2500


--

C(0,6) Z = 200 ( 0) + 500 ( 6) = 3 000


----

The minimum value of Z is 2300 at x = 4, y = 3.


Ex. (3) A carpenter makes tables and chairs. Profit per table is Rs.
200 and that per chair is Rs. 100. He should make at least
two chairs per table and the total number of tables and chairs
should not exceed 30. Find the maximum profit.

-------------@:,------------
-----~~------------ ·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

Maximize Z = 200x + 100y


Subject to y ;::: 2-.. x,
x+ y s; .~.9
'
x~ O, y~ 0

To draw regions to y ~ 2x, x + y s; 30 we begin by drawing the lines


Y = 2X, X + y =30
Two Intercept
Inequality Line Points Region
Form
y~2x y ~ 2x NotApplicable (0,0) ,(5, 10)

x+ys;30 1~~===p:J-~ri.:-: _1 - ~,o).(9t3~) O'l).~:1n.


y

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

B( .L, .Q.) .... :'f:OQQ ............ .


--
C( .0. ,~ ..... o.0.0.0 ........... .
The maximum value of z is 4000 at x = .lO,y = .W

Ex.4) A chemical company produces a chemical containing three basic


elements A, B, C, so that it has at least 16 liters of A, 24 Iiters
of B and 18 liters of C. This chemical is made by mixing two
compounds. Each unit of compound I, has 4 liters of A, 12 liters
of B and 2 liters of C. Each unit of compound II, has 2 liters of
A, 2 liters of B and 6 liters of C. The cost per unit of compound
I is Rs. 800 and that of compound II is Rs. 640. Formulate the
problems as LPP and solve it to minimize the cost.
Solution : Let the company produce x units of compound I and y units
of compound II.
Then the total cost is z = 800x+ 640y, this is objective function
which I to be minimized.
The given information about constraints can be tabulated as follows
'
Compound I Compound II Minimum
(x) (y) Requirement

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

-------- ----©~----- ----


Subject to
4x+2y ~ 16
I~-., + -~ ~ f.-;--4-
I'

~ -x+ !?.y ~ ..,. 2

y ~ 0 X,

To dra\\ regions 4., + 21• ~ J6,1.:?x + .~ v ~ .. ?.- ., + ~ v ~ ·-~ ·


1

We bcgm by d raw mg .t he 1·mes 4x + 2 1- = 16)2. + 2 1- _24- ~ +9. v = 1.i


... x ... . - ~··_· ._..._• - -~- - - - ~ ~

Inequality Line Tuo Intercept


Form
Points ·7 Region

4.,+2y ~ l6 4x+2y = l6 ~+l'..=J ( 4.0),(0,8) Non origin side


4 8
I l ?< +2.lj >/U., 12~ +2.y.:-24, ~, ~ :: I-
C~,o) Noncm9i~icJ e
( DT-1-2). .. ............ .
•· ·····•··•·· ·········•····· ':J.. ..J.~ ....... . J_ _ _ _ ~
(CJ,O) I • 'd.e
(-D., ..?>.). N on. .. ch:).£:31.Yl s 1

- ~ 16 ~~-
~' 1/
'

-4 -2 0

The feasible region is ABCD with .


I- 6 0 12.: comer pomts A(~ .. p )
C( I .. , ... ), D( ....... ), .. , B(.~ .-~.),

~@~~=~;£.-J-.~-j~-'1-l. l:i ::::::-:__------


:~ll
--=-------::w
Corner Value of
Points z -= xoox t- 640y
,-..-~ ::---c-------~t- ~ ~ -
A( .9. ,.0. ), ... ... J.?..0.0..... ...... .
BC .~.•. i .) ... ... ~ ~ .~P.... ...... .
C(. l. ,.f ) ...... ~.9.tQ.......... .
D( .O. ,J.i) ......:t.Q..?.9....... .. .
-
The minimum value of z is R.~!4.C?. at x-=.?.,y =.?:-7
Ex. (5) Minimize : z x +2v
subject to x + 2y ~so,
2x - y <' 0,
2x + y ~ 100,

Solution~.F-~~
X

-- - t -
? 0, y ? 0

co,
_Pofnts
2 s) (.5o,o)
___. __ Condftf
. . . on:----
..

Non - o-n 9 ,n s:, de


.

'){ +-2Y ::: 5 o ... ·······


y ::: 2 ?(. ( 1.0 I 20) (20,4-0) Non o'Ylg·,~--..~ide
_2.?( +~ =-1 DO'X _ _c,_o,_,o~! (_ I ~C?J o) ---+--- o__i}ii!0... ~-i-~ -~---
A Be D ~ Feas·1ble --re& on ... .i... .... ................ ......... .......... .
~

:: . ve'f ti cl e of .. Fea s·, ble rt e3-io n ....................................................... .


A ( 0, tOD) o oo oe • • • 0 0 0 o O o Of O O O O o o o o o oo o o o o O o O oO O oo Of Of O O o • o o • o o O O O O o/ 0 o o • o o o o IO IO o O o o O O O O o o o O I o • 0 0 . o O o I OOOOo • o o O o o

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

.... ··········· ····· ······························· ············································


. . . ZA ::: 0 t '.l-0 0 .........................................................................................
z.p. = ~s ~ 2 Ls o) .......... .............. ····••1••···· ......................•.........................
;::. 26""-tl0O ....... ············ ...... , ..............
·········· ···········
. . .... .. . ········ ······ ..
ZC = lD t-2- ( 'l-0) ..........................
-:=.. \ O-t~O ........................
-::.. f>O ......... ...............
......... ········ ......... · ••·
. -z.p = ?< +'l. C:, S) ........

7-.D :: 5 0

2.ftl =

:1-. has .v'a.Lu e. aJ;- tu.J a v errtj <.e. c4 P


.. 1-. has 'la.Lue so ~ e.ve'>'}J pofVl t- of
se3mer1 t . 30,nf nj D c0 1 25) ; l (io, 20) ............................. .
... Hence tt)eve a re in+fn~ce solut-1°£9 Y\ . ........................... .
Ex. (6) Maximize : Z = 3x+9y
subject to x+3y~60,
x+y~lO,
x~y,
x~O, y~O.

Solution ;___ Vt Condition


I 6 (J ........ l 60, 0)
?( -t:.:3-\L:' _ ca. I:?.>.... .. ..... .. o-n 9 i V1. side
~ ~ --~ ::. l O .. (?, '.'.~! . ...... ..N 0 ·~ -~--~~ g i YJ
( _l_~ (o_?. __~_
.... ~ ?(. ~_y___ (l0,10) (.20 1 2-o) .. ~fJe· ········

--------..... ____________---
·············
~,,__
. ······ .. .... . ······· ····· .. .... ... ... .. .. ...... .
·
... 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

2.0:x...+-.. 1oy ::: 800 ... ····· ..


. ..... .. .. . -... .. . . ············ ·········· ...... ······
: .2.?<+y;&o

...................... ..... .... ... .. ... .. .. .


····· ····· ······ ..
....... .. ...... ...... ... ......... ... . .... ····· .. ········· ....
········· ·········· ··········
.f\B CD.. ::: Fe as ib le · ~r ts , Vert:f ces are j
A - ri ) ..
:-:- JO, 5o
B =. l..?>D, ~ ) ······ ..
...C . --- .....C4C?, ,.P)
. .F.? =.. C.~10J ""• ....
····· ... ······· .. .... .. ...

. : __. . ~ ~ 1D~oo ?l t- 9 oooy ·......................


8,

'r

:2-
.,,, Fe"s ,b ., (30 ,2. 0)
~~ , e q, rI) n
I .,,,...,q
l
O0
20
70
IO

.· . -ZA =- 10 Soo CoJ +90 00 [5 0) = 4 ?D, oo o.


:: 4< 35 00 0 ·
ZB = IO 5o o( '3 4) t9 00 0( ~)
1.. c
=-
= t o 5 oo C4-0j t- 9 ooo 4 .2.o, o oo ......... _.
[6)
...
lu e ~ i.. = ~q 50 0 where I')(_ ::. 30
, ~ = 2-0 .
.: .: Ma7<fm U(Y ) va
8 ho ul d.. be a)J .,O t e d
/. 0 o he<J-or s -P !l-O h ecJ-ors
cw ps ~ t 'I re.specJ:fvel~ .FoY
rna:)(fmu.r.n ..
to
pw f:'f t ....:::. t 4 ~ 5 'ooo ..... . . .. ... .............. .... . .... .

I Sig n of Teacher : ]
---------------~~ - - - - - - - - -

You might also like