Operations Research Theory and Practice
Operations Research Theory and Practice
/DWH6UL190XUDOL0DQRKDU5DMX /DWH6PW$PPDD\L
3UHIDFH
6FLHQFHLVXQERXQGHGDQGQRVFLHQFHZDVERUQRQRQHGD\RUGHYHORSHGRYHUQLJKW,WLVWKHUHVXOWRI
FRQWLQXRXV GHYHORSPHQW WKURXJK FHQWXULHV 0DQ KDV EHHQ WU\LQJ WR H[SORUH WKH EHVW SRVVLEOH
PHWKRGVWRSHUIRUPKLVMREVWRUHVXOWLQWKHPRVWHIILFLHQWDQGHIIHFWLYHRXWSXWZLWKLQWKHDYDLODEOH
UHVRXUFHV2QHVXFKDWWHPSWLVPDGHWKURXJKWKLVERRN2SHUDWLRQV5HVHDUFKWRPDNHRXUVWXGHQWV
XQGHUVWDQGDQGPDVWHUWKHVXEMHFWHDVLO\
:H NQRZ WKDW PDQDJHPHQW XVHV ERWK DUW DQG VFLHQFH WR PDNH RSWLPDO GHFLVLRQV 7KHVH WZR
FRQFHSWVDUWDQGVFLHQFHDUHIXOO\HQGRUVHGWKURXJK2SHUDWLRQV5HVHDUFKDQGWKXVFDQEHFRPHD
SRZHUIXO WRRO LQ HQJLQHHU¶VPDQDJHU¶V KDQGV WR DLG KLV GHFLVLRQ SRZHU 1RW RQO\ HQJLQHHUV RU
PDQDJHUV EXW DOVR HYHU\ KXPDQ EHLQJ UHTXLUHV WKH DZDUHQHVV RI WKHVH 2SHUDWLRQV 5HVHDUFK
FRQFHSWV6RPHPLJKWKDYHEHHQHYHQXVLQJXQNQRZLQJO\EXWFDQDSSO\WKHVHPRUHFRQILGHQWO\LI
WKH\DUHIDPLOLDUZLWKWKHFRQFHSWV
2%-(&7,9(
0\ LQWHQWLRQ RI ZULWLQJ WKLV ERRN LV WZRIROG 7KH ILUVW REMHFWLYH LV WR GLVSHO WKH SKRELD WKDW
2SHUDWLRQV5HVHDUFKLVDOOPDWKHPDWLFVDQGWKDWLWUHTXLUHVDVSHFLDOSUHUHTXLVLWHRIPDWKHPDWLFDO
NQRZOHGJHZKLFKLVQRWWRWDOO\WUXH3HUKDSVWKHRULHQWDWLRQRIWHDFKLQJE\PDWKHPDWLFDOOHFWXUHUV
PLJKWKDYHJLYHQDVFRSHWRFUHDWHVXFKDIHHOLQJLQWKHVWXGHQWV7KHDSSURDFKLQWKLVERRNZHQW
RQPLQLPL]LQJPDWKHPDWLFDOGHULYDWLRQVZKLFKDUHUHTXLUHGQHLWKHUIRUSUDFWLFDODSSOLFDWLRQVQRU
IRU XQLYHUVLW\ H[DPLQDWLRQV +RZHYHU PDWKHPDWLFDO NQRZOHGJH RI VFKRRO OHYHO LV QHFHVVDU\ DQG
PRUH WKDQ VXIILFLHQW WR UHDG WKLV ERRN 0RVW RI P\ VWXGHQWV ZKR GR QRW KDYH PDWKHPDWLFDO
EDFNJURXQGDSSURDFKHGPHWRH[SODLQWKHFRQFHSWVZLWKPLQLPXPRUQRXVHRIPDWKHPDWLFV7KLV
LQIOXHQFHGPHWRDWWHPSWWRPDNHWKHLUQHHGVIHDVLEOHLQDQLQWHUHVWLQJDQGOXFLGPDQQHU
0\ VHFRQG REMHFWLYH RQ ZULWLQJ WKLV ERRN LV WR WDLORU DFFRUGLQJ WR WKH JURZLQJ QHHGV RI P\
VWXGHQWV DQG VWDII RI DOO FROOHJHV XQGHU -DZDKDUODO 1HKUX 7HFKQRORJLFDO 8QLYHUVLW\ 7KHUHIRUH D
ZLGHFRYHUDJHRIDOOWKHWRSLFVKDVEHHQRUJDQL]HGLQILYHXQLWVGLYLGHGLQWRFKDSWHUVLQWRWDO
7R PD[LPL]H WKH XWLOLW\ RI WKLV ERRN HDFK FKDSWHU LV H[KDXVWLYHO\ GHDOW ZLWK ODUJH QXPEHU RI !
VROYHGH[DPSOHVZLWKDZLGHYDULHW\WRUHVROYHWKHFRQIXVLRQLQVWXGHQWV1RWOHVVWKDQ
SUDFWLFHSUREOHPVDORQJZLWKKLQWVDQGDQVZHUVDOPRVWDOOKDOIVROYHGLQDGGLWLRQWR! VROYHG
LOOXVWUDWLRQV PRVW RI WKHP DUH WDNHQ IURP -178 H[DP SDSHUV DUH VKRZQ ZLWK DOJRULWKPLF
DSSURDFK
$VXEREMHFWLYHRIWKLVERRNLVWRPDNHWKLVERRNDFRPSUHKHQVLYHYROXPHWRWKHIDFXOW\DOVR
+HQFHLWLVPDGHLQVXFKDZD\WKDWDQHZIDFXOW\PHPEHUWRWKLVILHOGFDQDOVROHDUQDQGWHDFK
&21675$,176
0\ VWXGHQWV RI %( % 7HFK DQG 0 7HFK RI -178 DQG RWKHU XQLYHUVLWLHV DSSURDFKHG PH WR
SURYLGH DQ H[KDXVWLYH EXW VLPSOLILHG FRQFHSWXDO DQG KDQG\ ERRN WKDW PXVW JLYH JUHDWHU WKDQ RU
HTXDOWRWKHEHVWVXFFHVVLQWKHLUXQLYHUVLW\H[DPLQDWLRQDQGDVZHOOWKDWFDQEHDSSOLHGLQWKHLUUHDO
OLIHZRUNLQJFRQGLWLRQVDIWHUWKHLUJUDGXDWLRQ%HVWHIIRUWVKDYHEHHQSXWLQWRFDWHUWKHLUQHHGVIRU
Y
YL Contents
ZKLFKPRVWTXHVWLRQVKDYHEHHQVHOHFWHGIURPWKHLUXQLYHUVLW\H[DPLQDWLRQSDSHUVDQGH[SODLQHG
FRQFHSWXDOO\ZLWKH[DPSOHVWDNHQIURPGDLO\OLIHZLWKDQHQJLQHHULQJDQGSUDFWLFDORULHQWDWLRQ
6853/86
.HHSLQJDOOWKHDYDLODEOHDQGUHTXLUHPHQWFRQVWUDLQWVLQYLHZHYHU\FKDSWHUKDVEHHQDGGHGZLWK
IORZ FKDUWV DQG ILJXUHV LQ VXUSOXV WR HDVH WKH XQGHUVWDQGLQJ 0RUHRYHU WKH VHFRQG SDJH RI HDFK
FKDSWHULVGHVLJQHGLQVXFKDZD\WRUHSUHVHQWWKHHQWLUHFKDSWHUDWDJODQFHWKDWFDQEHYHU\XVHIXO
WRVWXGHQWVIRUODVWPLQXWHSUHSDUDWLRQRIWKHLUH[DPLQDWLRQV
)XUWKHU,GRQRWFODLPWKHRULJLQDOLW\RIWKHFRQFHSWVEXWIRUWKHSUHVHQWDWLRQLQDXVHUIULHQGO\
IRUP :KLOH ZULWLQJ WKLV ERRN , ZDV EHQHILWHG LPPHQVHO\ E\ UHIHUULQJ WR PDQ\ ERRNV DQG
SXEOLFDWLRQV, H[SUHVV P\ JUDWLWXGH WRDOO VXFK DXWKRUV SXEOLVKHUV SURIHVVRUV DQG LQVWLWXWLRQV ,I
DQ\ERG\KDVEHHQPLVVHGLQDGYHUWHQWO\,VHHNKLVRUKHUSDUGRQ
&21',7,216
,QVSLWHRIWKHXWPRVWFDUHWDNHQWRPDNHWKLVERRNHTXDOWR]HURPLVWDNHVHUURUIUHHVWLOOVRPH
PLVWDNHV PLJKW KDYH JRQH RYHUVLJKW , VHHN \RXU QRQQHJDWLYH DSSURYDO IRU WKH RPLVVLRQ DQG
FRPPLVVLRQWKDWPLJKWKDYHFUHSWLQWRWKLVYROXPH$OVRDQ\VXJJHVWLRQVWRLPSURYHWKLVERRNDUH
DOZD\VXQUHVWULFWHGDQGJUDWHIXOO\DFNQRZOHGJHG
'U1965DMX
HPDLOVULMDQDWDUDM#\DKRRFRP
$FNQRZOHGJHPHQW
$WWKHRXWVHW,H[SUHVVP\GHHSVHQVHRIJUDWLWXGHIRUHQFRXUDJHPHQWDQGVXSSRUWH[WHQGHGE\«
x 'U.1DUD\DQD5DR3URI5HWGRI0(28)RUPHU0HPEHU6HFUHWDU\$,&7(1HZ
'HOKL
x 'U*9HQXJRSDO5HGG\3URIRI&6(+RQ¶EOH9LFH&KDQFHOORU-178++\GHUDEDG
x 'U195DPDQD5DR5HFWRU3URIRI&(-178++\GHUDEDG
x 'U1<DGDLDK3URIHVVRURI(((5HJLVWUDU-178+
x 'U$9LQD\D%DEX3URIRI&6()RUPHU'LUHFWRU$GPLVVLRQV-178++\GHUDEDG
)RUPHU3ULQFLSDO-178+&(+'LUHFWRU,QGXU*URXSRI,QVWLWXWLRQV
x 'U &% .ULVKQD 0XUWK\ 3URI 5HWG RI 0( -178 )RUPHU 3ULQFLSDO IRU -31(&
0DKERREQDJDU 1,(7'HVKPXNKL1DOJRQGD
x 'U 5HWG &RO . 3UDEKDNDU 5DR )RUPHU 3ULQFLSDO IRU 1,(7'HVKPXNKL 95(&
1L]DPDEDG 5DMDPDKHQGUD(QJJ&ROOHJH
,DPJUDWHIXOWRP\SUHVHQWFROOHDJXHV'U.9DVDQWKD.XPDU$30('U6XUHVK$UMXOD
$30(0UV06KDLODMD$30(-178&(-IRUWKHLUPRUDOVXSSRUWDQGPRWLYDWLRQ
, WKDQN P\ IRUPHU FROOHDJXHV 'U 1 9HQNDWHVKZDUOX $VVRF 3URI LQ 0('62(7 ,*128
0U 6RPD 6XQGDUDP .DODJD 'U % .UDQWKL .LUDQ $3&6( -178+&(- 'U '9 5DYL
6KDQNDU 3URI RI 0( 3ULQFLSDO 7.5 (QJJ &ROOHJH0U $ 6XUHVK 5DR 3URI LQ &6( 0U
1/1DUD\DQD3URIRI0(69,7DQGDOOP\SUHVHQW IRUPHUFROOHDJXHVDQGVWXGHQWV
0\VSHFLDOWKDQNVDUHGXHWRP\VWXGHQWVDQG/HFWXUHUV$GKRF0U66KLYD5DPD.ULVKQD
665. 0U 6KLYUDM &KDZDUL\D 0U 03UDGHHS .XPDU 3UHVHQWO\ $30( .,766 IRU
KHOSLQJPHLQSUHSDULQJWKHPDQXVFULSW
:KLOH DXWKRULQJ WKLV ERRN , KDG WR JR WKURXJK QXPHURXV ERRNV RQ 2SHUDWLRQV 5HVHDUFK DQG
RSWLPL]DWLRQWHFKQLTXHVDQGPHWPDQ\SURIHVVRUVSUDFWLWLRQHUV,WKDQNDOOWKRVHDXWKRUVDQGZKR
GLUHFWO\ RU LQGLUHFWO\ KHOSHG PH ZKLOH DXWKRULQJ WKLV ERRN ,I IHHO VRUU\ LI , PLVVHG DQ\
LQDGYHUWHQWO\
, IXUWKHU DFNQRZOHGJH WKH FRPSXWHUL]DWLRQ WHDP RI WKLV ERRN DQG DFWLYH IROORZ XS DQG
SURFHVVLQJE\WKHSXEOLVKHUV6UL1LNKLO6KDKDQG6UL$QLO6KDK7KHZRUNRI0U09DVXGHYD
5DR 0U 1DUHVK 0V 6DQGK\D DQG 0U +DUL 3UDVDG DUH SUDLVHZRUWK\ GXULQJ WKH SXEOLVKLQJ
SURFHVV
/DVWEXWQRWWKHOHDVW,WKDQNP\ZLIH0UV3UDVDQQDDQGFKLOGUHQ.XP6ULMD1DWDUDM.XP
+LPDMD 3DGPD 3UL\D DQG .XP 6DQMD .DUXQDPD\L IRU WKHLU FRRSHUDWLRQ SDWLHQFH DQG P\
3DUHQWV6PW 6UL/DWH190XUDOL0DQRKDU5DMXDQG%URWKHUV'U9HQNDWD15DMXDQG
0U196ULQLYDVD5DMXDQGVLVWHUV6PW+HPDODWKD6PW3UHPDODWKDDQG6PW6XPDODWKD
IRU WKHLU HQFRXUDJHPHQW )LQDOO\ , WKDQN HQWLUH .DVX DQG &KHQQDPDGKDYXQL IDPLOLHV IRU
VKRZHULQJWKHLUJRRGZLVKHVRQPH
'U1965DMX
YLL
&RQWHQWV
Preface ............................................................................................................................................................ Y
Acknowledgement .......................................................................................................................................... YLL
&+$37(5
2SHUDWLRQV5HVHDUFK±$Q2YHUYLHZ
,QWURGXFWLRQ
2ULJLQDQG'HYHORSPHQWRI250RGHOV
2SHUDWLRQV5HVHDUFK6RPH'HILQLWLRQV
3KDVHVRU6WHSVRI2SHUDWLRQ5HVHDUFK0HWKRG0RGHOLQJ
2SHUDWLRQ5HVHDUFK0RGHOV&ODVVLILFDWLRQ
&ODVVLILFDWLRQ%DVHGRQ6WUXFWXUH
&ODVVLILFDWLRQ%DVHGRQ3XUSRVHDQG1DWXUH
%DVHGRQ&HUWDLQW\
%DVHGRQ7LPH5HIHUHQFH
%DVHGRQ0HWKRGRI6ROXWLRQ
$SSOLFDWLRQ0RGHOVRI2SHUDWLRQ5HVHDUFK
6LJQLILFDQFHDQG$SSOLFDWLRQVRI25LQ,QGXVWULDO3UREOHPV
&KDUDFWHULVWLF)HDWXUHVRI2SHUDWLRQV5HVHDUFK0RGHO
RU0HULWVRI2SHUDWLRQV5HVHDUFK0RGHOV
'LVWLQFW'LUHFWLRQLQ'HFLVLRQ0DNLQJ
6FLHQWLILF$SSURDFK
2EMHFWLYH2ULHQWDWLRQ
,QWHU'LVFLSOLQDU\7HDP$SSURDFK
&RPSDWLEOHWR'LJLWDO&RPSXWHU
&RQVLGHUDWLRQRI$OO)DFWRUV
/LPLWDWLRQV'HPHULWVRI2SHUDWLRQV5HVHDUFK
,PSRVVLELOLW\DQG,QIHDVLELOLW\
)RU,QWDQJLEOH6LWXDWLRQV
'LVWDQFH%HWZHHQ0DQDJHUV'HFLVLRQ0DNHUDQG
2SHUDWLRQ5HVHDUFKHU
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
L[
[ Contents
&+$37(5
)RUPXODWLRQRI/LQHDU3URJUDPPLQJ3UREOHPV
,QWURGXFWLRQ
)RUPXODWLRQ
0DMRU$VVXPSWLRQRI//3
3UDFWLFH3UREOHPV
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
&+$37(5
*UDSKLFDO6ROXWLRQRI/33
,QWURGXFWLRQ
0HULWVDQG'HPHULWVRI*UDSKLFDO6ROXWLRQV
*UDSKLFDO6ROXWLRQ3URFHGXUH
5HGXQGDQW&RQVWUDLQW
'LIIHUHQW7\SHVRI6ROXWLRQV
/RFDWLQJ)HDVLEOH5HJLRQ
7\SHVRI)HDVLEOH5HJLRQV
7\SHVRI2SWLPDO6ROXWLRQV
6ROYHG3UREOHPV
3UDFWLFH3UREOHPV
$GGLWLRQDO3UREOHPV
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
&+$37(5
6LPSOH[0HWKRG
,QWURGXFWLRQ
6LPSOH[$OJRULWKP
6RPH6SHFLDO&DVHV
8QERXQGHG6ROXWLRQ
0XOWLSOH2SWLPDO6ROXWLRQV
8QLTXH6ROXWLRQ
,QIHDVLEOH6ROXWLRQ
3UDFWLFH3UREOHPV
$GGLWLRQDO3UREOHPV
Contents [L
&+$37(5
7UDQVSRUWDWLRQ3UREOHP
,QWURGXFWLRQ
)RUPXODWLRQ
7UDQVSRUWDWLRQ3UREOHP)RUPXODWHGDVDQ/33
7UDQVSRUWDWLRQ$OJRULWKP6ROXWLRQ0HWKRG
0D[LPLVDWLRQ&DVHLQ7UDQVSRUWDWLRQ3UREOHPV
8QEDODQFHG7UDQVSRUWDWLRQ3UREOHP
'HJHQHUDF\LQ7UDQVSRUWDWLRQ3UREOHP
8QEDODQFHG7UDQVSRUWDWLRQ3UREOHP
1RUWK:HVW&RUQHU0HWKRG
9RJHO¶V$SSUR[LPDWLRQ0HWKRG9$0RU3HQDOW\0HWKRG
/HDVW&RVW(QWU\0HWKRG0DWUL[0LQLPD0HWKRG
1RUWK:HVW&RUQHU0HWKRG
6WHSSLQJ6WRQH0HWKRG
02',0HWKRG
[LL Contents
&+$37(5
$VVLJQPHQW3UREOHP
,QWURGXFWLRQ
7KH$VVLJQPHQW$OJRULWKP
9DULDWLRQVLQ$VVLJQPHQW3UREOHP
0D[LPLVDWLRQ&DVHLQ$3
8QEDODQFHG$VVLJQPHQW3UREOHP
0XOWLSOH2SWLPDO6ROXWLRQ
5HVWULFWHGRU3URKLELWHG$VVLJQPHQW
&RQGLWLRQDO$VVLJQPHQW
&UHZ$VVLJQPHQW3UREOHP
7UDYHOOLQJ6DOHVPDQ3UREOHPRU5RXWLQJ3UREOHP
$7UDQVSRUWDWLRQ3UREOHPDV$VVLJQPHQW3UREOHP
3UDFWLFH3UREOHPV
$GGLWLRQDO3UREOHPV
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
&+$37(5
,QYHQWRU\0DQDJHPHQW
,QWURGXFWLRQ
&ODVVLILFDWLRQRI,QYHQWRU\
7KH2SHUDWLQJ'RFWULQH
7KH,QYHQWRU\&RVWV
Contents [LLL
7HUPLQRORJ\XVHGLQ,QYHQWRU\
,QYHQWRU\6LJQLILFDQFH$GYDQWDJHVRI,QYHQWRU\
2EMHFWLYHVRI,QYHQWRU\
)XQFWLRQVRI,QYHQWRU\
)DFWRUV$IIHFWLQJ,QYHQWRU\
&RQFHSWRI(FRQRPLF2UGHU4XDQWLW\(24
,QYHQWRU\0RGHOV
0RGHO:LOVRQ+DUULV6LPSOH(24
0RGHO&RQWLQXRXVDQG1RQXQLIRUP'HPDQG&RQVXPSWLRQ
3UDFWLFH3UREOHPV
0RGHO:LWK&RQWLQXRXV3URGXFWLRQ6XSSO\5DWH
3UDFWLFH3UREOHPV
0RGHO'HWHUPLQLVWLF0RGHOZLWKVKRUWDJHV
3UDFWLFH3UREOHPV
0RGHO:LWK)LQLWH5HSOHQLVKPHQWDQG6KRUWDJHV$OORZHG
3UDFWLFH3UREOHPV
0RGHO:LWK3ULFH%UHDNVRU4XDQWLW\'LVFRXQWV
3UDFWLFH3UREOHPV
6WRFKDVWLFRU3UREDELOLVWLF0RGHOVRI,QYHQWRU\&RQWURO
0RGHO6LQJOH3HULRG3UREDELOLVWLF0RGHOZLWK,QVWDQWDQHRXV
'HPDQGZLWKRXW6HWXS&RVW
3UDFWLFH3UREOHPV
,QYHQWRU\&RQWURO$SSURDFKHV
6WRUHV0DQDJHPHQW 6HOHFWLYH,QYHQWRU\&RQWURO
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
&+$37(5
4XHXH0RGHOV:DLWLQJ/LQHV
,QWURGXFWLRQ
7HUPLQRORJ\
:KHQ'RHV$TXHXH5HVXOW"
&RVWV$VVRFLDWHGZLWK:DLWLQJ/LQHV4XHXLQJ
4XHXH6\VWHP6DOLHQW)HDWXUHV
4XHXLQJ0RGHOV.HQGDOO/HH1RWDWLRQV
3DUDPHWHUVRI4XHXH6\VWHP
$[LRPVRI3RLVVRQ3URFHVV
[LY Contents
2SHUDWLQJ&KDUDFWHULVWLFVRI4XHXH6\VWHP
0RGHO00),)2
3UDFWLFH3UREOHPV
0RGHO006,52
02'(/001)&)6
3UDFWLFH3UREOHPV
0RGHO006),)2
3UDFWLFH3UREOHPV
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
&+$37(5
6HTXHQFLQJ
,QWURGXFWLRQ
6HTXHQFLQJRIQ-REV;0DFKLQH
6HTXHQFLQJRIQ-REV;0DFKLQHV-RKQVRQ¶V5XOH
$VVXPSWLRQVIRUQ-REV;0DFKLQHV6HTXHQVLQJ
7KH5XOH
3UDFWLFH3UREOHPV
6HTXHQFLQJQ-REV;0DFKLQHV-DFNVRQ¶V5XOH
6HTXHQFLQJQ-REV;P0DFKLQHV
3UDFWLFH3UREOHPV
6HTXHQFLQJRI-REV;Q0DFKLQHV
3UDFWLFH3UREOHPV
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
&KDSWHU
5HSODFHPHQW$QDO\VLV
,QWURGXFWLRQ
)DLOXUH3DWWHUQV
'HILQLWLRQ
%HKDYLRXURI0DFKLQHV
)DLOXUHVEDVHGRQWKH9ROXPHRI)DLOXUH
7\SHVRI)DLOXUHVEDVHGRQWKH0RGHRI)DLOXUH
Contents [Y
)DLOXUH&RVWV
7\SHVRI5HSODFHPHQW3UREOHPV
7\SH5HSODFHPHQW3ROLF\ZKHQ0RQH\9DOXHGRHVQRW
&KDQJHZLWK7LPH
3UDFWLFH3UREOHPV
5HSODFHPHQW3ROLF\IRULWHPV:KHQ0RQH\9DOXH&KDQJHVZLWK7LPH
3UDFWLFH3UREOHPV
*URXS5HSODFHPHQW
3UDFWLFH3UREOHPV
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
&+$37(5
*DPH7KHRU\
,QWURGXFWLRQ
7KHRU\RI*DPHV7KH7HUPLQRORJ\XVHG
3URSHUWLHVRID*DPH
'HILQLWLRQVRI7HUPVXVHG
7\SHVRI*DPHV
:LWK5HIHUHQFHWR1XPEHURI3OD\HUV
:LWK5HIHUHQFHWR1DWXUHRI2XW&RPHV
:LWK5HIHUHQFHWR&HUWDLQW\
:LWK5HIHUHQFHWR9DOXHRIWKH*DPH
7ZR3HUVRQ]HUR6XP*DPHVRU5HFWDQJXODU*DPHV
$VVXPSWLRQVRIWKH*DPH
6ROYLQJ7ZR3HUVRQ]HUR6XP*DPHV
'RPLQDQFH3ULQFLSOH
*DPHVZLWKRXW6DGGOH3RLQWV0L[HG6WUDWHJ\
*UDSKLFDO6ROXWLRQV
/LQHDU3URJUDPPLQJ0HWKRG
'LVWLQFWLRQEHWZHHQ'HWHUPLQLVWLFDQG3UREDELOLVWLF*DPHV
/LPLWDWLRQVRI*DPH7KHRU\
)ORZ&KDUWRI*DPH7KHRU\
3UDFWLFH3UREOHPV
5HYLHZ4XHVWLRQV
2EMHFWLYH7\SH4XHVWLRQV
)LOOLQWKH%ODQNV
$QVZHUV
(xvi) Contents
CHAPTER 12
Dynamic Programming
12.0 Introduction ...................................................................................................................619
12.1 The Approach & Algorithm ..........................................................................................619
12.2 Salient Features & their Definitions of DPP .................................................................620
12.3 Characteristics of DPP ..................................................................................................621
Practice Problems ..........................................................................................................636
Review Questions..........................................................................................................640
Objective Type Questions .............................................................................................640
Fill in the Blanks ...........................................................................................................642
Answers .........................................................................................................................642
IS)
Identification of me problem
A total system orientation Operations Collection of relevant data > 1
Scientific approach
Research Formulation of data into mathematical form o
Realistic nature
Application of suitable OR model ir-1
Models quantifiable 0)
Analysis and calculation
Systematic method
Decision making <D
8
Allocation models (simpiex/TP/AP) - Physical (Iconic / Analogue) Models/
Inventory (Deterministic /Probabilistic) symbolic (Verbal / Mathematical)
Game theory 0
- Descriptive / Predictive /Normative
Network models (CPU I PERT) o
- Deterministic / Probabilistic
Sequencing models 30)
Queue models - Static / Dynamic
Q.
Replacement - Analytical / Iterative/Simulative
• Dynamic programming •o
3
Operations Research - An Overview 3
1.0 Introduction
"Science that aids decision making is Operations Research which is tested and
implemented through appropriate modelling."
We take several decisions in our daily life. Most of these decisions are taken by
common sense. But the decisions taken by mere common sense sometimes may
mislead or confuse us. Also, such decisions may neither provide any evidential support
nor stand on any scientific base. Therefore, it has become necessary for managers and
engineers to believe in the science that provides the evidential support and scientific
base.
Operations Research (OR) is one such science that provides better solutions to
the managers, engineers and any practitioners with better solutions. This science came
into existence during World War II. Though it was first employed for military
operations, its applications are extended to any field on the earth in some form or
other.
Thus OR is considered as the science that deals with decision making and this
book deals with formulating, analysing, testing and application of various OR models.
The name operations research was given to this subject because it has started
with the research of (military) operations. During world war - II, the military commands
of UK and USA engaged several teams of scientists to discover tactical and strategic
military operations. Their mission was to formulate specific proposals and to arrive
to the decisions that can optimally utilize the scarce resources to acquire maximum
possible level of effective results. In simple words, it was to uncover the methods that
can yield greatest results with little efforts. Thus it has gained popularity and was called
"an art of winning the war without actually fighting if.
Following the end of the war, the success and encouraging results of British
teams have attracted industrial managers to apply these methods to solve their
complex problems. The first method in this direction was simplex method (LPP)
developed in 1947 by G.B. Dantzig, USA. Since then several scientists have been
developing this science in the interest of making operations to yield high profits or
least costs.
Now, this science has become universally applicable to any area such as
transportation, hospital management, agriculture, libraries, city planning, financial
institutions, construction management and so forth. In India, many industries have
been realising the advantages by implementing the OR models.
Operations Research : Theory and Practice
A few to quote in this regard are Delhi Cloth Mills, Indian Airlines, Indian
Railways, Hindustan Liver Ltd., (HLL), Tata Iron & Steel Co., (TISCO), Fertilizer
Corporation of India (FCI), Life Insurance Corporation (LIC) of India etc.
Apart from being lengthy, the definition given by Operational Research Society
of UK, has been criticised because it emphasizes complex problems and large systems,
leaving the reader with the impression that it is a highly technical approach suitable
only to large organisation. The definitions of OR society of America contains an
important reference to the allocation of scarce resources. The key words used in the
above definitions are scientific approach, scarce resources, system and model. The British
definition contains reference to optimisation, while the American definition quietly
slips in the word., best. A few other definition which are commonly used and widely
acceptable are as follows :
• Operations Research is the systematic application ofquantitative methods, techniques and
tools to the analysis ofproblems involving the operation of systems.
Daellenbach and George, 197 8
• Operations Research, in the most general sense, can be characterised as the application
of scientific methods, techniques and tools, to problems involving the operations ofa system
so as to provide those in control of the operations with optimum solutions to the problems.
Churchman, Ackoff and Arnoff, 1957
4. What are the uncontrolled variables that may affect the possible solutions?
5. What are the restrictions (or) constraints oh the variables?
6. What are other conditions or nature of variables?
The formulation should be considerably careful while executing this phase
because a wrong formulation cannot give a right decision (solution), and even may be
disastrous in some cases.
r
Physical Symbolic Deterministic Probabilistic
I J \
Analytical Iterative Simulative
j i or stochastic
2. Predictive Models : These models are results of the quiery such as "what will
follow if this occurs or does not occur?" e.g. Preventive maintenance
schedules.
3. Normative Model (or Optimisation Models) : These models are designed to
provide 'optimal' solution to the problems subject to certain limitations on
the use of resources or meeting the requirements or at the conditions that
normally exist, e.g. Linear Programming Problem.
these managers are trying minimise the cost or maximise profit to the
organisation. Though every manager is thinking in the interest of organisation
growth, their objectives vary according to their specification.
In view of the situations like above a manager has to derive the decisions which
should consist.
1. A total system orientation
2. Scientific approach
3. Realistic nature
4. Models should be able to be expressed quantitatively.
5. Systematic method.
OR is the science that is embedded with suitable blend all the above features.
Thus, OR can play a significant role in bringing a balance among different
interdisciplinary people to managerial problems.
Some Areas of Applications :
1. Design of aircraft and aerospace structures for minimum weight.
2. Finding the optimal trajectories of space vehicles.
3. Design of civil engineering structures like frames, foundations, bridges, towers,
chimneys and dams for minimum cost.
4. Optimum design of linkages, cams, gears, machine tools and other mechanical
components.
5. Selection of machining conditions in metal cutting processes for minimum
production cost.
6. Design of material handling equipment like conveyors trucks and cranes for
minimum cost.
7. Design of pumps, turbines and heat transfer equipment for maximum
efficiency.
8. Optimum design of electrical machinery like motors, generators and
transformers.
9. Optimum design of electrical networks.
10. Shortest route taken by salesman visiting different cities.
11. Optimum production planning, controlling and scheduling.
12. Analysis of statistical data and building empirical models from experimental
results to obtain the accurate representation of the physical phenomenon.
13. Optimum design of chemical processing equipment and plants.
14. Design of optimum pipe line networks for process industries.
15. Selection of site for an industry.
16. Inventory control to minimise inventory costs such as ordering cost, carrying
costs, shortage costs etc.
17. Planning of maintenance and replacement of equipment to reduce the
operating costs.
18. Allocation resources of services among several activities to maximise the benefit.
19.
Operations Research - An Overview 11
Controlling the waiting and idle items and queuing in production lines to
reduce the costs.
20. Planning the best strategy to obtain maximum profit in the presence of
competitor.
Operations Research takes into account of the goals (objective function) of the
organisation with all bottlenecks or hurdles (constraint set) and the feasibility
(conditions of variables). This feature provides a manager to take a decision that can
keep himself or his organisation on a competitive edge.
At the same time the managers may fail to understand the complex working of
the OR. Some times they may not even find time to notice any misconceptions. Thus
there is a large gap built up between one who provides solutions and one who uses
them. This leads to confusion and poses lot of problems during implementation or
practice. Therefore it may result in utter failure even with a successful formula.
Review Questions
1. Discuss the phases of Operations Research.
6. "Operations Research provides bad solutions, otherwise which would have been
the worst." Comment.
12. Write critical essay on the definition and scope of OR [JNTU - CSE/E.Com. E 2001]
13. Define Operations Research [0U - MBA - 90, Dec. 95, Sep 2001,]
15. Explain the role of OR in management decision making [MBA - ou - March 99]
6. The Operations Research model represents a system, but does not physically
resemble the components of the system is
(a) iconic (b) analogue (c) symbolic (d) normative
8. Replacement models when money value not changing with time can be
considered as
(a) static (b) dynamic (c) probabilistic (d) simulative
12. "If this occurs, what will follow?" This question is connected with model.
Operations Research - An Overview 15
Answers
Objective Type Questions :
l.(d) 2. (c) S.(d) 4. (b) 5. (a)
6.(b) 7. (d) 8. (a) 9. (d) 10. (d)
11. (b) 12 .(c) 13. (a) 14. (d) 15. (d)
16. (c) 17-<c) 18. (b) 19. (d) 20. (c)
Match the Following :
Me) 2.(c) 3.(d)
4-fe) 5.(b) 6. (a)
Fill in the Blanks :
1. iconic 2. conditions of variables 3. the bad, the worst
4. objective function 5. time
18 Operations Research : Theory and Practice
CHAPTER AT A GLANCE
Requireme
>
Exac
lity
:§v!
<
\
> u
I
*ict
a
1
5
Formulation of Linear Programming Problems 19
2.0 Introduction
In the previous chapter we have learnt that after collection of relevant data, it
is to be translated into appropriate mathematical or Operations Research model. One
of such models applied to production and allocations is linear programming in which
the variables are linearly related. This process of translation is called formulation. In
this chapter we learn how to formulate the Linear Programming Problem (LPP).
2.1 Formulation
The formulation of relevant data in Linear Programming Problem (LPP) is
carried out in the following four steps :
Equality type
T h e different types of constraints L , ,
. v . or exact type (=)
we c o m e across m linear p r o g r a m m i n g
FIGURE 2 I :
p r o b l e m are given below : TYPES OF CONSTRAINTS
Examples :
(a) Suppose you are cooking some curry dish and you have to put some salt in it, say 10 gm. You will
be constrained to put less than or equal to 10 gin-only, but excess is not allowed.
(b) Suppose you have only Rs 100/- in you wallet and went to a restaurant. You will be constrained
to order worth less than or equal to Rs. 100/- only. Here x < 100 where x is rupees spent.
(c) You have a machine on which you can utilise 8 hours a day. Thus you can have a maximum of 48
hours a week (of 6 days).
Now number of hours you can utilise on the machine (say x) < 48.
3. Exact Constraint: This is the constraint which can deviate to neither side. This
is represented in the equation (=)form.
Examples :
(a) You have to order the lens power for your spectacles. Here you will not permit lesser or greater than
your specified power.
(b) Wlien you purchase the shoe, you neither allow 'less than nor 'greater than' your feet size.
(c) The doctor prescribes certain quantity of antibiotic that must be the exact dosage.
(d) Certain design specification in manufacturing will be exact kind.
Formulation of Linear Programming Problems 21
-Solution :
Step 1 : Selection of Variables :
In the above problem, we can observe that the decision is to be taken on how
many products of each brand is to be manufactured. Hence the quantities of products
to be produced per week are the decision variables.
Therefore we assume that the number of units of product Shivnath brand
produced per week = Xy.
The number of units of product of Harinath brand produced per week = x2.
Step 2 : Setting Objective :
In the given problem the profits on the brands are given.
Therefore objective function is to maximise the profits.
Now, the profit on each unit of Shivnath brand =Rs. 45.
Number of units of Shivnath to be manufactured = Xy
.*. The profit on xl units of Shivn-ath brand = 45 xY
Similarly, the profit on each unit of Harinath brand = Rs. 70
Number of units of Harinath brand to be manufactured = x2
.*. The profit on x2 units of Harinath brand = 70 x 2
The total profit on both brands = 4 5 ^ + 70x2
This total profit (say z) is to be maximised.
Hence, the objective function is to
Maximise z = 45xj + 70x2
22 Operations Research : Theory and Practice
In the above problem, the constraints are the availability of machine hours.
2. Constraint on Milling Machine : Milling hours required for each unit of Shivnath
brand = 3 hours/week.
Step 5 : Summary :
Maximise / Z = 4 5 x 1 + 70x2
Subject to £>V l i l y < ^70
J^j _|_ ^ ^ i _ < nio
X:j +4x 2 < 100
X;j > 0 and x 2 > 0
Some More Examples :
ILLUSTRATION 2
Formulate thefollowing problem as an LP Problem;
Afirm engagedin producing 2 models Xv X2performs 3 operations Painting.
Assembly and Testing. The relevant data are as follows:
Variables :
Let the weekly produced units of model Xi = x^
i.e., Let the no. of units produced per week in Model Xj — x^ and let the no. of
units produced per week in model X2 = ^ 2
Objective Functio :
Unit sales price for model Xy — Rs. 50/- .
For Xy units, weekly sales revenue = 50 x^.
Similarly, unit sales price for model X2 = Rs. 80/-.
For x2 units, weekly sales revenue = 80 x2.
Total sales revenue per week = 50 x} + 80 x2.
Hence the objective function is to -
Maximise Z= 50 x± + 80 x2
24 Operations Research : Theory and Practice
Constraint Set:
For assembly,
one unit of model X1 requires 1.0 hrs.
.-. xj units require 1.0 xj hrs.
one unt of model X2 requires 1.5 hrs.
x2 units of model X2 requires 1.5 x2 hrs.
Total assembly hours per week = 1.0 x^ + 1.5 x2.
This cannot exceed 600 hrs since only 600 hrs are available for assembly.
1.0*2+
(Constraint on availability of assembly hours)
Similarly,
For painting
xy units require 0.2 xy hrs
and x2 units require 0.2 x% hrs
0.2 xj + 0.2 x2 < 100
(Constraint on availability of painting hours)
For Testing
or
0.1 x% < 30
(Availability constraint on testing hours)
Conditions of Variables :
As the problem is to determine weekly production schedule and we cannot have
a negative production.
Therefore,
xx > 0 and x2 > 0
Summary of Foramulation :
maximize Z = 50 xy + 80 x2
subject to 1.0 x1 + 1.5*2 -
0.2^! + 0.2x 2 < 100
0.1x 2 <30
xy , x2 > 0
Formulation of Linear Programming Problems 25
ILLUSTRATION 3
A firm manufactures two products in three departments. Product A contributes
Rs, 5/- unit and requires 5 hrs, in dept, M9 5 hrs. in dept, Nand one hour in dept, P,
Product B contributes Rs. 10/- unit and requires 8 hrs, in dept My 3 hrs in dept N
and 8 hrs in dept R Capacities for departments M9 N, P are 48 hours per week.
Find out optimalproduct mix using Simplex model [JNTUCSE 98]
S o l u i t o n •;
Note : Formulation part of the solution is given here, for solution by simplex ref. illustration 18, chapter 4
and in department P,
Summary :
Max 2 = 5 X 1 + 10X2
Subject to 5 Xj + 8 X2 < 48
5 Xx + 3 X2 < 48
Xx + 8 X2 < 48
xx, x 2 > o
ILLUSTRATION 4
Food X contains 6 units of VitaminsAper gram and 7 units of Vitamin B per gram
and costs 12 paise per gram. Food Ycontains 8 units of Vitamin Aper gram and 12
units of Vitamin B and costs 20 paiseper gram. The daily minimum requirements
of Vitamin A and Vitamin B are 100 units and 120 units respectively. Find the
minimum cost of product mix. Use simplex method. [ JNTU B.Tech. (ECE) 97]
Solution i
Note ; Formulation part of the solution is given here, refer illustration - 7, chapter 4 for its
solution by simplex method
Selection of Variables :
Let the No. of grams produced in type X = xy
Let the No. of grams produced in type F= x2
Objective Function :
Cost of each gram of type X= 12 paise
Cost of xy gms of type X- 12x1 ps.
Cost of each gm of type F=20 ps.
Cost of x2 gms of type F=20 x2 ps.
Total cost Z = 12^ + 20*2
.-. Objective function is to minimize Z= 12#i + 20#2
Constraint Set:
For Vitamin A :
Availability of vitamin y4 in each gm of food X = 6 units
Availability of vit-^4 in x± gms of food X = 6 xx
Availability of vit-^4 in each gms of food F = 8 units
Formulation of Linear Programming Problems 27
Summary :
min z= 12 x^ + 20 x2
subject to 6:^ + 8 # 2 - 100
12x 2 > 120
( 0
>
ILLUSTRATION 5
MA ABCL company manufactures two types of cassettes, a video and audio. Each
video cassette takes twice as long to produce one audio cassette, and the company
would have time to make a maximum of 2000 per day if it is produced only audio
cassettes. The supply of plastic is sufficient to produce 1500 per day to both audio
and video cassettes combined. The video cassette requires a special testing and
processing of which there are only 6000 hrs. per day available. If the company
makes a profit ofRs. 3/- and Rs. 5/-per audio and video cassette respectively, how
many of each should be produced per day in order to maximize the profit?
[JNTU2003(Set-l)]
Total profit = 3 x± + 5 x2
It is to be maximized
.-. Objective function is to Maximize
Z = 3xj + 5x2
Constraint Set:
X
2
x± + — < 2000 (constraint on production time)
x2 < 6000
x2 < 6000
x1? x2 > 0
Formulation of Linear Programming Problems 29
ILLUSTRATION 6
Solution :
Note : Formulation part is discussed here. For complete solution refer chapter 12, illustration 6
Selection of Variables :
Let, x{ = No. of refrigerators to be manufactured in first month
=
x^ No. of refrigerators to be manufactured in second month
Objective Function :
= 20 (*! - 50)
= 20(x 1 +x 2 -100)
Objective function is to
Minimize Z = x\ + x\ + x\ + 40 xx + 20 x2 - 3000
30 Operations Research : Theory and Practice
Constraint Set:
Condition of Variables :
Summary :
Minimise z = x\ + x\ + x\ + 40 x^ + 20 x2 - 3000
subject to xj > 50
xx+x2> 100
Xj , JC9 , x 3 > 0.
ILLUSTRATION 7
A company wants to purchase at most 180 units of a product There are two types
of the product, M} andM2 available. M} occupies 2fi> cost $ 12 and the company
makes a profit of $3. M3 occupies 3fi, cost $15 and the company makes a profit of
$4. If the budget is $15,000 and the warehouse has 3000ftforproduct
Solve the problem using Simplex method.
[JNTU B.Tech. (EEE) 98]
Solution :
Selection of Variables :
Objective Function :
Profit on each unit of product of type Mj = $ 3
Constraint Set:
Space Constraint ;
Budget Constraint:
Each unit of product My costs $ 12
Total cost = 12 xi + 15 x2
Condition of Variables :
both xi and x2 can not be negative
.. | x 7 > 0 and x2 > 0 [
Summary :
Maximise Z = 3xj + 4x2
subject to
2x{ + 3x2 ^ 3000
ILLUSTRATION 8
,4w oil refinery can blend three grades ofcrude oil to produce quality P and Qpetrol.
Two possible blending processes are available. For each production run, the older
process uses 5 units of crude A, 7 units of crude Band 2 units of crude C to produce
9 units ofP and 7 units ofQ. The newer process uses 3 units of crude A9 9 units ofB
and 4 units of crude C to produce 5 units ofP and 9 units ofQ petrol. Because of
prior contract commitments the refinery mustproduce at least 300 units ofP and at
least 300 units of Q for the next month. It has available 1500 units of crude A,
1900 units of crude B and 1000 units of crude C For each unit ofP the refinery
receives Rs. 60 while for each unit of Q it receives Rs. 90. Find out the linear
programming formulation so as to maximise the revenue.
Constraint Set:
For Petrol P :
No. of units of petrol produced in both processes is 9xj + 5x2. This should be
at least 500 units.
.-. 9xj + 5x 2 > 500
(Requirement constraint on contract commitment ofP)
For Petrol Q:
No. of units of petrol produced in both processes is 7#j + 9x2- This should be
at least 300 units.
.-. 7xx + 9*2 > 300
(Requirement constraint on constract commitment ofQ).
For Crude A :
For older process, each production run requires 5 units.
For older process, X} production runs require 5x1 units.
For newer process, each production run requires 3 units.
For newer process, x2 production runs require 3x2 units.
Total crude A for both processes 5x1 + 3x2.
This can not be more than 1500.
.. 5xx + Sx2 < 1500
(Constriant on availability of crude A)
For Crude B :
Similarly, 7xx + 9x2 < 1900
(Availability constraint on curde B).
For Crude C :
Similarly, 2xx + 4JC2 £ 1000
(Availability constraint on crude C)
34 Operations Research : Theory and Practice
Conditions :
No. of production runs can not be negative.
Hence *x > 0 and * 2 > 0
Summary :
Maximise Z = 1170 x} + 1110 x2
Subject to 9xx + 5x2 ^ 500
7xj + 9x2 > 300
5*j + 3* 2 < 1500
lxx + 9x2 < 1900
2xx + 4x2 < 1000
xj , x2 > 0
ILLUSTRATION 9
Decision Variables :
Number of advertisements by TV = Xj
Number of advertisements by Radio = x2
Number of advertisements by Newspaper = x3
Objective Function :
To maximise potential customers.
Max. 2 = 20000*! + 60000*2 + 25000*3
Constraint Set:
(i) Budget Constraint:
3000xj + 2000x2 + 2500x3 < 50000
or 30x| + 2Ox:2 + 25x3 < 500
or 6xx + 4x2 + 5*3 < 100
(ii) Female Customer Constraint:
15000xj + 4000(k2 + 12000*3 < 100000
or 15*! + 40*2 + 12
*3 - 10
°
Formulation of Linear Programming Problems 35
Summary :
Max Z = 20000*! + 60000x2 + 25000*3
Subject to 6xy + 4x2 + 5x3 < 100
15^+40x9+ 12x3< 100
xs < 10; x$ > 5
x{>6; Xi<10
x2> 6; x 2 < 10
and Xy, x2y x% > 0
ILLUSTRATION 10
MK Raju has received his retirement benefits such as provident fund, gratuity
etc. He wants to invest this money in Government securities, term deposits, in
banks, investment on company deposits, equity shares and house construction.
The return on investment (ROT), the time limits and risk on afivepoint scale is
given in thefollowing tabularform.
No. of
S.No. Type of Investment Return Risk
Years
1. Govt. Securities 8% 7 1
2. Company deposits 15% 4 3
3. Term deposits 14% 3 2
4. Equity shares 18% 6 5
5. House construction 25% 10 1
He decides that the average risk should not exceed 3 and his funds should not be
locked upfor more than 10 years. He also has necessarily to invest 30% on house
construction. Help Mr. Raju to plan his investment so as to maximise his ROL
36 Operations Research : Theory and Practice
Solution ;
Decision Variables :
Let the percentages of investments on these five factors be Xj, x2 . . . x$
Objective Function :
Maximise Z = 8 ^ + 15#2 + 14x3 + 18x 4 + 25* 5
Subject to constraints
7xx + 4x2 + 3x 3 + 6tf4 + l(k 5 < 10
(Constraint on term of investvient)
xy + 3x2 + 2x$ + 5# 4 + x5 < 3
(Constraint on risk)
x5 > 0.3
(Constraint on investvient on house construction)
ILLUSTRATION 11
A pregnant woman is advised to take Iron, Zinc and Folic acid, at least in the
quantities 100 mg, 150 mg and 100 mgper day respectively. There are two types of
medicines available in the form of a 500 mg tablet and a 250 mg capsule. Each
tablet is composed of30 mg of Iron, 45 mg of Zinc and 40 mg ofFolic acid while a
capsule contains the three ingradients as 20,15, 25 mg respectively. The cost of
each tablet is Rs. 3/- while that ofeach capsule is Rs. 2/-. Determine the number of
tablets and capsules to be purchased so that the total cost of medicines is
minimized.
Solution :
Selection of Variables:
Let, Number of tablets of 500 mg = x1
Number of capsules of 250 mg = x2
Objective Function :
Each tablet costs Rs. 3/-, xx tablets will cost 3x{
Each capsule costs Rs. 2/-, x% capsules will cost 2x2
Total cost = 3x + 2x2
.*. Objective function is to
Minimize Z = 3xj + 2x%
Formulation of Linear Programming Problems 37
Constraints :
Iron Constraint :
Iron in each tablet - 30 mg
Iron content in xj tablets = SOx^
Iron content in each capsule = 20 mg
Iron in x2 capsules = 20 x2
Total Iron = 3 0 ^ + 20x9
,\ 30xT + 20x 2 > 100
or 3x1 + 2^2 ^ 10
(Constraint on daily viin. requirement of iron)
Similarly, the constraints on zinc and folic acid requirements can be written as
4 5 ^ + 15x2 > 150
or 3*! + x2 > 10
and 40bcj + 25x2 > 100
or &CJ + 5x2 > 20
Conditions :
x±,x2 being number of tablets capsules can not be negative (i.e., xl9x%> 0)
Summary :
Minimise Z= 3xj + 2x9
Subject to 3xj + 2x2 > 10
3x y + X2 > 10
Sxj + bx2 > 20
x 1 ,x 2 > 0.
ILLUSTRATIOW 12
Medison Nursing Home works 24 hours a day. In a ward, it requires the attendance
of nurses as given below:
From To Number of Nurses required
00.00 04.00 2
04.00 08.00 3
08.00 12.00 5
12.00 16.00 4
16.00 20.00 7
20.00 0.00 3
Consider that any nurse can work only for 8 hours in a day. Formulate the
information in an LPPso as to schedule with minimum manpower.
(JNTUB.Tech Mech. & Met. 95/S)
Decision Variables :
X! = Number of nurses added at 00.00
x2 = Number of nurses added at 04.00
x s = Number of nurses added at 08.00
38 Operations Research : Theory and Practice
Objective Function :
Here, we have to maximize the farmer's profits which is sales minus costs.
Sales:
Land for tomatoes -Xy acres.
= 2000*!
Labour Cost:
Man days needed for tomatoes and radishes = 5 per acre
Land for tomatoes and radishes - x± + x 3 acres.
Fertilizer Cost:
Requirement for tomatoes and lettuce = 1 0 0 % / acre
Land of tomatoes and lettuce = xx + x2
.-. Fertilizer required for tomatoes =100 {x^ + x2)
Requirement for radish = 50 kg/ acre
40 Operations Research : Theory and Practice
Constraints :
Land Constraint:
Total land used = Xj + x2 + #3
Land available =100 acres
.-. xx + %2 + ^3 < 100
(Constraint on availability of land)
Labour Constraint :
Total labour days required = 5x^ + 6x2 + 5x3 man-days
Available labour days = 400 man-days
.-. 5xx + 6x2 + 5#3 < 400
(Constraint on availability of man-days)
Conditions :
Since land cannot be negative
x\9x%9xs>0
Summary :
Max Z = 1850 xx + 2080x2 + 1875x3
Subject to Xj + x^ + x3 < 100
xl > 0, x2 < 0,
Formulation of Linear Programming Problems 41
ILLUSTRATION 14
Old hens can be bought atRs. 20 each and young ones atRs. 50 each. The old hens
lay 3 eggs per week and the young ones lay 5 eggs per week, each egg being worth of
Rs. 1.50ps. A hen (young or old) costs Rs. 1.50 per week to feed, I have only Rs. 800
to spend for hens, how many of each kind should I buy to give a profit of at least
Rs. 60/-per week, assuming that I cannot house more than 2ffhens.
[JNTU B.Tech. Mech.]
S o I ufi cm :
Decision Variables :
Number of old hens = xx
Number of young hens = x2
Objective Function :
Number of eggs each old hen lays =3
Number of eggs laid by x^ old hens = 3xl
Number of eggs each young hen lays =5
Number of eggs that x2 young hens lay = 5x2
Total eggs = Sx j + 5x2
Price of each egg =1.50
Sales revenue on eggs =1.5 (3*^ + 5x2)
= 4.5x1 + 7.5x2
Total expenditure for feeding (*j + *2)
hens @ Rs. 1.50 per week = 1.5 (xy + x2)
Profit = sales - expenditure
= (4.5*! + 7.5x2) - (1.5*! + 1.5*2)
Constraint of Space:
Total number of hens = xy + x2
Available space is sufficient for 20 hens
xx + x% < 20
(Constraint on availability of space)
Conditions :
It is not possible to purchase negative quantity of hens
Therefore, *j > 0, x% > 0
Summary :
Maximise Z = 3 ^ + 6x2
Subject to 3x± + 6x2 > 60
2xY + 5x2 < 80
Xj+^^20
and xj > 0,x2 > 0.
Practice Problems
1. A mining company is taking a certain kind of ore from two mines X and K The
ore is divided into 3 quality groups A, B and C. Every week the company has to
supply 240 tonnes of A, 160 tonnes of B and 440 tonnes of C. The cost per day
for running the mine X is Rs. 3000, while it is Rs. 2000 for the mine Y. Each
day, Xwill produce 60 tonnes of A, 20 tonnes of B and 40 tonnes of C. The
corresponding figures for Fare 20,20 and 80.
Develop the most economical production plan by finding the number of days
for which the mines X and Y should work per week. [June 2003 (Set-2)]
Answer : cost = Rs. 18000/-
2. A person requires 10, 12 and 12 units of chemicals^, B and C respectively for
his gardens. Aliquid product contains 5, 2 and 1 units of/4, B and C respectively
per jar. A dry product contains 1, 2 and 4 units of A, B and C per carton. If the
liquid product sells for Rs. 3 per jar and the dry product sells for Rs. 2 per
carton, how many of each should be purchased to minimize the cost and meet
the requirements? Formulate the above problem as a LPP and solve it by
graphical method. [June 2003 (Set-3)]
Answer : cost = Z m j n = Rs. 13
3. A company has two bottling plants, one located at Bangalore and the other at
Mysore. Each plant produces three brands of drinks A, B and C. Bangalore
plant can produce (in one day) 1500, 3000 and 2000 bottles of A, B and C
respectively. The capacity of Mysore plant remains, 1500, 1000 and 5000 bottles
per day of A, B and C respectively. A market survey indicates that during the
month of April there will be demand of 20,000 bottles of A, 40,000 bottles of
B and 44,000 bottles of C. the operating cost per day for the plant at Bangalore
is Rs. 600/- while the operating cost per day for the plant at Mysore is Rs. 400/-
For how many days each plant be run in April so as to minimize the production
cost while still meeting the demand? [June 2003 (Set-4)]
Answer: cost of operation is Rs. 8800/-
4. Hema Pens Ltd. produces two types of pens namely; Supermo(S) and Economy
pens (E). The net profits on these types are Rs. 10/- and Rs. 6/- respectively.
Raw material required for Supermo(S) is twice as that of Economy (E). The
supply of raw materials is sufficient only for 1000 pens of E per day. Pen S
requires a special nib and Pen E requires ordinary nib. There are 400 special
nibs, 700 ordinary nibs available in stock. Formulate for the daily product mix
so as to maximise the total profit of company. [Dr. BRAOU MBA - 2004 Assign.]
Answer : Max Z = 10 x j -+ 6 x% ;
xx
S.t. — + x9 :
x}<400;
x2 < 700
,#2-0 and integers
44 Operations Research : Theory and Practice
5. Sreeja & Co wishes to plan its advertising strategy. There are two media under
consideration, Siti cable and Popular channel. Siti cable has a reach of 2000
potential customers and Popular channel has a reach of 3000 potential
customers. The cost per appearance of one minute is Rs. 6000 and Rs. 9000 in
Siti and Popular respectively. The budget of Sreeja is Rs. 80,000 per month.
There is an important requirement that the total reach for the income group
under Rs. 60,000 per annum should not exceed 3000 potential customers. The
reach in Siti cable and Popular channel for this income group is 300 and 150
potential customers. How many appearances of one minute advertisements
should Sreeja plan so as to maximise the total reach?
Answer: Max Z = 2000 xy + 3000x 2
S.t. 6000 xx + 9000 x2 < 80000
300 xj + 150 x2< 3000
x±, x2 > 0
Costs of the raw materials are Rs. 90, Rs. 100 and Rs. 80. Formulate to
determine the proportions that will minimise the total costs.
Answer: Percentage of RM's are x1? x%, xs,
Max 90 -xx + 100 x2 + 80 x 3 ; S.t. 0.92 xx + 0.97 x2+ 1.04 * 3 = 0.98
440 xx + 490 x2 + 480 x2 = 450
13 16
x1 +x2+xs= 1 (i.e., 100%)
100 * 1 + ioo : 100 '
>0
9. Mona Food Company produces four types of foods whose contents are given
below :
Content per unit Cost per unit
Food type in Rs.
Protiens Fats Carbohydrates
Wheat - apple 3 2 6 45
Wheat - banana 4 2 4 40
Wheat - honey 8 7 7 75
Wheat - orange 6 5 4 65
Minimum Requirement 80 40 70
10. Sanja 8c co. manufactures three products A, B and C by using three machines
Milling, Lathe and Grinder. The information related to this manufacture is
given in the following table. Formulate for LP.
Machine Product^ Product B Product C Available hours
per week
Milling machine 8 2 3 250
Lathe 4 3 1 150
Grinder 2 1 1 100
Profit contribution 20 6 8
Answer : Max Z = 20 Xj + 6 x2 + 8 x 3
11. Mother Love Engineering College has to decide its monthly investment plan
for Rs. 10,000 on sports and games. It has three disciplines Mechanical
Engineering (ME), Computer Science Engineering (CSE) and Electronics and
Computer Engineering (ECE). Each discipline has got about 60% boys and 40%
girls. The probability of winning in the inter college sports meet in various
events is as follows.
Discipline ME(boys) ME(girls) CSE(boys) CSE(girls) ECE(boys) ECE(girls)
Probability 0.3 0.25 0.35 0.4 0.5 0.45
It is the policy of the college that at least 40% of funds are to be invested on
ME, and not more than 35% on CSE or ECE branches. Also at least 30% is to
be invested on girls. Formulate the problem into an LPP.
Answer : Let xXB investment on ME boys,
xlG investment on ME girls,
x2B investment CSE boys,
x2G investment CSE girls and so . . . on.
and maximise the total probability of winning
Max Z = 0.3x l B + 0.25x lG + 0.35 x2B + 0.4 x2G + 0.5 xSB
S.t. xlBlB ++ xxlGlG ++ xx2B2B ++ xx2G
2G + xw + x 3G < 10000
X
$B + X
SG - 3 5 0 0 ; 3000
X
\B + X
2B - 7000
X
\B > X\G ' X2B > X2
Formulation of Linear Programming Problems 47
12. A second hand automobile dealer wishes to maximises his profits on his sales
and purchase of cars. He can purchase three types of cars Maruthi 800CC,
Maruthi-Zen and Maruthi-1000CC at Rs. 50,000, Rs. 70,000 and Rs. 80,000
respectively. These can be sold at Rs. 60,000; Rs. 80,000 and Rs. 1,05,000
respectively. The sales probability of the cars in this month are 0.7, 0.8 and 0.6
respectively. For every two cars of Zen, he should buy one car of 800CC or 1000CC
and he has 10 lakhs to invest. How should be invest? Give formulation only.
Answer: xy = investment on 800 CC
x2 = investment on zen and
x$ = investment on 1000 CG,
Profit = 2*, ( sales - profit) sales prob.
Max Z = 10000 xj x 0.7 + 10000 x2 + 0.8 + 250000 x 3 x 0.6
or Max z = 7000 xx + 8000 x2 + 15000 x3
S.t. 70000 (2x2) + 80000 x3 < 1000000 or 14 x2 + 8 x3 < 100
xlfx2, x3>0
13. An Engineering College needs 22 to 30 Professors/Lecturers daily depending
on the teaching loads and lab work distribution^. The requirements are as
follows:
Time Period Number of Professors/Lecturers needed
9 am to 11 am 22
11 am to 1 pm 30
1 pm to 3 pm 25
3 pm to 5 pm 23
The College has employed 24 staff members on permanent rolls and needs
some part time professors. The part time professors must put in exactly 4 hours
per day but can start at any time between 9 am to 1 pm. Permanent employees
(full time lecturers) work for 9 am to 5 pm but are allowed one hour for lunch.
Assume half of full time lecturer take lunch at 12 noon while other half at 1 pm
and thus full timers provide 35 hours per week of teaching time. The university
limits the college to engage part time hours to a maximum of 50% of the day's
total requirement. Part timers earn Rs, 280 per day while full timers earn Rs.
900 in salary and benefits on an average. The management has to set a schedule
so as to minimise the total daily manpower costs.
Answer: Let x± = full time lecturers/professors
x2 = part times starting at 9 am
x3 = PTs adding at 11 am and
= PTs adding at 1 pm
Min Z = 900 280 (x
48 Operations Research : Theory and Practice
— xx +x 2 + *3 > 30 for 11 am to 1 pm
— xj + ^3 + x4 > 25 for 1 pm to 3 pm
14. Mr. Raju, a retired Govt. officer, has recently received his retirement benefits
viz. PF, gravity etc. He is contemplating as two how much he should invest in
various alternatives open to him so as to maximise ROI. The investment
alternatives and and subjective estimate of risk on five point scale is given. The
relevant data about the investment, return and no. of years blocked is as follows.
Investment Return No. of Years Risk
Govt. Securities 6% 12 1
Company deposits 13% 3 3
Time deposits 10% 5 2
Equity shares 20% 6 5
House construction 25% 10 1
Mr. Raju wants invest to maximise ROI so that the risk is not more than 4 and
funds should not be blocked for more than 15 years. He should necessarily
invest at least 28% in house construction. Formulate the data as an LPP.
[OU - MBA Dec. 2000]
Review Questions
1. Explain the structure of an LPP with examples.
2. Discuss different types of constraints that occur in LPP
3. Discuss the significance of condition of variables in LPP
4. How do you set objective function of an LPP
5. Define linear programming problem. Give example
[0U - MBA Feb 93, M 95, A99]
6. Discuss applications of LPP [JNTU CSE 95, Mech. 97/C, 98/P, 99/S,
0U - MBA - M 95, F 93, A 94, M 92, S 2001, J 2000]
Formulation of Linear Programming Problems 49
6. The products requires 2 man hours, B requires 3 hrs. and C requires 4 man
hrs. If the company works for 6 day week with only one shift of 8 hrs, then this
is represented as (Assume x^,x2, x3 units are manufactured in
A, B and C types respectively)
(a) 2xx + 3x2 + 4x3 < 56 (b) 2xx + 3x2 + 4x$ > 8/6
(c) 2x} + 3x2 + 4x3 > 48 (d) 2xx + 3x2 + 4x3 < 48
10. A furniture manufacturer produces x{ chairs and x2 tables every week. He has
an order for 50 chairs and 60 tables in a week. This is represented as
(a)x 1 +x 2 > 110 (b)max. 5 0 x ^ 6 0 x2
(c) *x < 50, x2 < 60 (d) xx > 50, x2 > 60
11. If your pocket money is Rs. 100/- per day, assuming Rs. x you spend on a day,
formulate it.
(a) max. 100 x (b) min. 100 x
(c)x>100 (d)x<100
12. You are purchasing glass for spectacles. The variable is the power of the glass
to suit eye sight and size of the glass. The constraint used in this regard is
15. A belts of type -1 requires leather twice as that of type - II. Total leather available
is sufficient for 300 belts of type II. If xx and x2 are the number of belts of type
I 8c II to be produced respectively, then the constraint is
(a) 100 xx + 200 x2 < 300 (b) 200 xx + 100 x2 < 300
(c) xi = 2x2 < 300 (d) none of the above
16. Which of the following is usually minimised
(a) sales (b) profits
(c) operating time (d) revenue
Formulation of Linear Programming Problems 51
18. Cost of 5 pens is equal to the cost of 8 pencils. I have to maximise the number
of pens and pencils (say Xy andx 2 respectively) when I have Rs. 100/-. The
problem is formulated as
(a) max. x1 + x2 subject to bxy + 8x2 < 100
(b) max. xy + x2 subject to 5xy + 8x2 > 100
(c) max. 5xj + 8x2 subject to Xj + x2 = 100
x} x2
(d) max. xx + x2 subject to -— + —-< 100
D o
6. Krishna has Rs. 100 in his purse and went to a restaurant. He orders Xy number
of units of worth Rs. 10 each andx 2 number of units of worth Rs. 20 each. Then
constraint is written as
52 Operations Research : Theory and Practice
7. The number of units of salt to put in a curry dish, to maximise its taste is an
example for type of constraint
8. A company has to spend Rs. 200 per unit of advertisement in New paper while
Rs. 400 per unit in T.V. If the budget is Rs. 10,000 then the constraint is written
as
9. Product M costs Rs. 10 and product TV cost Rs. 40 per unit manufactured. The
profit contribution are Rs. 50 and 30 respectively. The objective function is
10. Products P and Q cost Rs. 10 and 20 each to produce. The objective function
is given as max. Z = - 10 xy - 20x 9 wherex^ =
Answers
Objective Type Questions :
11. (d) 12. (c) 13. (c) 14. (d) 15. (d)
16. (c) 17. (b) 18. (d) 19. (c) 20. (d)
Fill in the Blanks :
1. Maximisation, Minimisation 2. Minimisation
3. Exact or equality 4. Requirement
3.0 Introduction
In the previous chapter you have learnt how to formulate a given information
into a linear programming problem. In this chapter you will learn how to solve these
problems using graphs.
Note : The above rides are applicable for the lines which have positive constant at right hand side, otherwise
the above rides are to be reversed. Refer section 3.5 for details.
5. Identify the feasible region by locating the area satisfying all constraints that is
common with all the constraint areas. This region will have the optimal
solutions. If there is no common area possible then the solution is infeasible.
(a) Iso profit line method for maximisation objective [Iso cost line in the case
of minimisation objective]: In this method, first assuming zero profits or
zero costs, the objective function line is drawn. (Find any one point giving
any value to x± and find x2. Connect this point to origin and extend). Any
line parallel to this line belongs to the family of objective functions. Among
all these family of lines locate the one that will be touching the feasible
region at the farthest point (in the case of maximisation) or the one which
touches at nearest points (in the case of minimisation).Identify these
points and read their X and Y co-ordinates.
Find the Z m a x or Z m i n (as the case may be) by substituting these values in
the objective function.
(b) Extreme Point Evaluation Method : In this method, after locating the
feasible region, read all the extreme (corner) points. Substitute these values
in objective function. Identify the point(s) that yields maximum value or
minimum value (as the case may be). Hence the solution.
[This method is easier (comparatively) but not reliable in some cases. Therefore
students are advised to use the Iso-profit/cost line method and may check the answer
by using extreme point evaluation]
Solve graphically
Maximise Z=8x1 + 6x2
Subject to 2xj + x2<72
Xj + 2x2 < 48
X!>0,X2>0 f JNTU B.Tech Mech 93]
Graphical Solution of LPP 57
\
x
l 0 36
F(-30, 4 0 ) \
X
2 72 0
\ x, + 2x2 = 48 (CD)
x
l 0 48
x2 24 0
FIGURE 3.1 :
58 Operations Research : Theory and Practice
Step 6 : (a) Iso-Profit Line Method : The objective function line is first drawn through
origin treating profit Z - 0.
Z o = 8x{ + 6x2 = 0 passes through 0(0, 0)
Since if xx = 0, x2 - 0
Also, if x2 = 40 => Xj = - 30
F (-30, 40) lies on objective function line.
OF represents Sxy + 6x2 = 0.
Represent this line with'dot and dash' to distinguish from the constraint lines.
Now draw a parallel line by using set - squares so as to touch at the most
maximum point on feasible region. This is E (32, 8).
Thus Z m a x = 8 (32) + 6(8) = 256 + 48
= 304 units.
(b) Extreme Point Evaluation :
The evaluation is shown in a tabular form given below :
Extreme x
i x2 8^ fcc2 Z = Sxl + 6x2
Point
0 0 0 0 0 0
C 0 24 0 144 144
E 32 8 256 48 304 <r- Z m a x
B 36 0 288 0 288
Solution
=
ILLUSTRATION 2
Find the minimum value ofZ= 4xt + 2x2 subject to the constraints:
x1+2x2>2, 3xj+x2>3, 4xj+3x2>6and
xD x2>0 by graphical method. [JNTU Mech./Prod.Chem. 2000]
Solution i
First convert the inequality into equality and find the minimum two
co-ordinates to draw a straight line in the graph as follows:
Constraint 1 : x± + 2x2 = 0 Constraint 2 : + x2 = 3
0 2 0 1
1 0 x2 3 0
Now the geometrical interpretation of the problem is given in graph. (Fig. 3.2)
Feasible
region
\ B(2,0)
F(1.5,0)
FIGURE 3.2 :
ILLUSTRATION 3
An oil refinery can blend two grades of crude oil to produce quality P and Q
petrol. Two possible blending processes are available. For each production run,
the olderprocess uses 5 units of crude A, 7 units of crude B and 2 units of crude C
to produce 9 units ofP and 7 units ofQ. The newer process uses 3 units of crude
A, 9 units ofB and 4 units of crude C to produce 5 units ofP and 9 units ofQ
petrol. Because of prior contract commitments the refinery mustproduce at least
500 units ofPandat least 300 units ofQ for the next month. It has available 1500
units of crude A, 1900 units of crude B and 1000 units of crude C. For each unit
ofP the refinery receives Rs. 60 while for each unit ofQ it receives Rs. 90. Find
out the linearprogramming formulation so as to maximize the revenue and solve
graphically or other wise.
Solution :
Refer Illustration 7 of chapter - 2 for formulation of LPP,
Summary : The above information is formulated as given below :
Maximise Z= 1170x2 + 1110x2
60 Operations Research : Theory and Practice
Solution .
X x = 271.43 Z
X2= 0 max = 317573.1
Solution ;
Consider a set of rectangular cartesian axes 0Xx and 0X 2 in 0XY X2 plane. Plot
the lines by considering the inequations as equations.
2xx +x 2 = 40 is ploted by taking two points A (20, 0) and D (0, 40) and
2xt + 5*! = 180 is ploted by taking the points B (0, 36) and E (90 , 0).
Now, shade the region to represent the inequations (below the line for < ) and
to find the solutions space or feasible region. The feasible region is OACB as shown
in graph.
The four vertices (corner pionts) form a convex region. These are O(0, 0),
4(20,0), B (0, 36), C (2.5, 35).
X\t #2 ^ 0
Draw line for each constraint by first treating it as a linear equation. Then use
the inequality condition of each constraint to make the feasible regions as shown in
the figure.
62 Operations Research : Theory and Practice
FIGURE 3.5 :
The value of the objective function at each of these extreme points is as follows:
(a) Point solution with two exact constraints (b) A line of solution with one exact constraint
(point size feasible region) (line feasible region)
a 2 x+b 2 y<c 2
y < c,
V\
(c) A feasible region with inequality constraints
FIGURE 3:6 :
64 Operations Research : Theory and Practice
3. Basic Feasible Solutions : The values of variables represented by the points along
the border lines offeasible region are basic feasible solutions.
If m non identical equation with V variable (m < n) exist in a problem, then
keeping (n - m) variables constant, usually at zero, the values of the variables yield a
solution called lbasic solution1. As it satisfies all the constraints it can be called a region,
it can also be called a 'basic feasible solution'. Therefore each selection of (n - m)
variables from n variables gives raise to l(nr ^' basic feasible solutions' (BFS)
I "-")
Of all these BFS, the one with which we start working out the problem is 'initial
basic feasible solution'. (IBFS).
Most commonly, the IBFS will be choosen to start at the worst case of the
solution set so as not to miss to examine any solution. Thus a solution with zero profit
or nil production or the values of decision variables as zeros (i.e., origin) in graphical
solution will be IBFS.
4. Optimal Solution : The solutions which satisfy all the conditions of variables,
all the constraints and the objective function are 'optimal basic feasible solutions
(OBFS)' or simply 'optimal solutions'.
Schematically:
\
(b) Imagine the line of fig. (a) is
(a) Standard form rotated at point 'B'
Graphical Solution of LPP 65
t - bx 2 > C
j - bx 2 < C
0
(c) Imagine line in fig. (a) is further rotated at 'B' (d) Imagine line of fig. (a) is rotated at 'A'
-ax1 + bx2 < C
(of)axl - b x 2 .
Note:
- bx2 > C
t
In a simple way youcan rember as
'or) axj - bx2 < C
1. If area is comming towards origin, it is <
type constraint, and
2, If area is going awayfrom origin, it is >
type constraint provided the right hand
side ofthe inequation is with positive sign.
FIGURE 3.8
(b) Island Feasible Region : This is also a bounded feasible region but not
connected by the co-ordinate axes.
Unbounded
feasible region
Requirement constraint
(a2x + b2y > C2)
Availability constraint
FIGURE 3 . 1 4 . : INFEASIBtESOLUTION
2. Unique Solution : If the optimal solution is one and only one, then the
solution is unique.
Thus the feasible region will yield one maximum or minimum solution valvies
in the objective function at only one point.
\
\ Unique (maximum) Unique (minimum)
solution point solution point
\
\
'#//„.
(a) Multiple optional solution (maximisation) (b) Multiple optional solution (minimisation)
FIGLiRF. 3 . 1 6 : MULTIPLE OPTIMAL SOLUTIONS OR ALTERNATE OPTIMAL SOLUTIONS
Graphical Solution of LPP 69
4. Unbounded Solution : If a distinct and finite solution can not be found or
the solution exists at infinity, the solution is said to be unbounded.
In graphical solution, unbounded solutions are obtained if the feasible region
is unbounded (formed by requirement constraint i.e., > type) while the objective
function is maximisation.
Unbounded solution
Solved Problems
Infeasible Solutions ———
ILLUSTRATION 6
Solve Graphically:
Maximise
Subject to Xj+x2<12
2x1 + 3x2>60
[ JNTU B.Tech (Mech) 96/CCC]
Solution : = 12 2xl = 60
0 12 0 30
x2 12 0 x2 20 0
Scale
On x axis
1 cm = 5 units
on y axis
1 com = 5 units
FIGURE 3 . 1 8 :
70 Operations Research : Theory and Practice
(-3,2)
-2 + C(|,0)
FIGURE 3. i 9 :
Feasible region is area covered by GHIJK
Iso - Cost Line Method : Bringing Z = 2* ^ + 3#2 t o tne
minimum point of
feasible region it touches at G.
( 8 -i
Therefore solution is G — —
Graphical Solution of LPP 71
ZH=2x3+3x 1=9
Z7 = 2 x 1 + 3 x 3 = 1 1
1 + 3 x 3 = 9.67
is Z min , i.e., 4
u 1 4
At x^ = — a n d x 2 = ~z
Solution :
) - , A(0, 10)
10
FIGURE i:i0 :
72 Operations Research : Theory and Practice
As Zo = 15xj + 9x2 is parallel to 10xj + 6x% = 60, it fits exactly on this line when
its iso-profit line is taken to represent maximum. Therefore any point along the line
segment BE is a solution.
Hence there are Multiple optimal solutions to this problems
Extreme Point Evaluation :
At O (0, 0)
Z o = 1 5 ( 0 ) + 9(0) = 0
At C (0,5)
At B (6, 0)
ZB = 15 x 6 + 9 x 0 = 90 (Maximum)
30 20
= —— = 90 (Maximum)
As the values at B and £ are showing maximum, we can infer that any point
along the line BE is optimal and hence the solution is multiple optimal.
Remarks:
(i) You may be misled if you misread the values ofE in the graph.
[ 15 —5 ^
- — = — and that oj first constraint
y 5
i.e., = - —• I As these are same by looking at the problem, we can predict the multiple
v . J
optimal solutions.
Graphical Solution of LPP 73
(iv) The above remark fails if there is no chance of getting feasible region. (Infeasible solution)
(v) The remark (iii) also fails if the objective function is to minimise in this case,
Since Zm[n — 0 at origin is most minimum.
Unbounded Solution — — — — — ^ — ^ ^ ^ - ^ ^ — — —
ILLUSTRATION 9
Solve:
Maximum Z=3x1+4x2
Subject to x}-x2<l
-Xj+x2<2
AJ7+JC2>0 [JNTU(CSE) 3/4 -2001]
.Solution -X2= 1
0 1 x
l 0 _2
-1 0 2 0
\
\
Scale
on X axis
lcm = 1 unit
on Y axis
lcm= 1 unit
Legend
\ o Xj + X2 < 1
\(4,-3)
\ -X! + X2 <
\
FIGURE 3.21 •
74 Operations Research : Theory and Practice
(it) Pupils may get confused between unbounded (or no finite) solution and, the infeasible
solution (i.e., no solution). In unbounded solution, the solution exists at infinity, this
indicates infinite scope of improvement (without any finite value) through its objective
function, while in infeasible solution there exits 'no' solution on in other words, it is
impossible to have any solution to the problem.
Practice Problems
Infeasible Solutions — — — — ^ — ^ — — — — —
Solve Graphically :
1. Maximise Z = 8xj + 10x2
xltx2> 0
2. Maximise Z= K k ] + 15x2
xl+x2<A0
tfj, X2 > 0
4. Minimise Z = x^ + 2x 2
X!>0, x 2 > 0
Graphical Solution of LPP 75
5. Beetel manufacturers produce two types of telephone sets, viz with cord and
cordless. The cord type requires 2 hours and cordless requires four hours to
assemble. The company has at the most 800 hours per day to assemble and its
packaging department at the most can pack 300 sets per day. If the company
sells cord type at Rs. 600 and the cordless at Rs. 1000, how may sets of each
type should be produced to attain highest sales. Solve graphically.
Answer : cord type = 200, cordless = 100; Max sales = Rs. 2,20,000
Xj = 2, x 2 = 1 Z m i n = 9
or xy = 1, x 2 = 2 Z m i n = 9 or x^ = 1.5, x 2 = 1.5 and so on
Multiple Optimal Solution ^ ^ — ^ — « — i ^ — » • — — i
1. Solve graphically. Is the feasible region convex or concave?
Maximise Z - 4xj + 3x2
Subject to 8x1 + 6x 2 <48
2xj<9
x2<6
xj, x2 > 6
Answer : Multiple optimal solutions
x} - 4.5, x2 - 2, Z m a x = 24; or xY = 1.5, x2 - 6, Z m a x - 24
The feasible region is convex.
2. (a) Use graphical method to solve the following LPP.
(b) Examine whether the LPP has any alternative solution, other than you
found.
(c) Also check whether feasible regions is convex/concave and
bounded/unbounded.
Graphical Solution of LPP 77
Minimise Z - 2 0 x ! + 30x 2
Subject to 5
2x 2 > 7
4x1 + 6x 2 < 24
xi >0, x9 > 0
(d) What will be the solution if the objective function in the above problem is
to maximise instead of minimisation.
S.t 2x}+x2<72
xj + 2x2 < 48
xpx2>0
5. Use graphical methods to solve the following LPP. What type of feasible region
do you get ?
Max Z = 5x + 4y
Subject to x + y < 40
x<20
15x + 12y = 300
x> 0 ,y> 0
;lnm>er: Multiple optimal solution any point along the line 15 x + 12^ = 300
Z m a x = 1 0 0 a t x = 2 0 , y = 0 o r x = 0,y = 2 0 , x = 1 0 , 3 ' = 1 2 . 5 , a n d s o o n .
The feasible region is 'a line' only
Unbounded Solution — — — — — — — ^ — — — — — — — — — ^ — ^
Use graphical method to solve the following LPP
1. Maximise 2 6 x j + •4x2
Subject to -x 2 < 1
3xj - 2x 2 < 6;
xj,x2> 0
2. Maximise Z = 30bcx + 5<3x2
* ! > 0,x2>0
5. Maximise Z-= 2
Subject to 4x, + 6x2 > 240
Xj +x 9 < 40
4xx + 3x 2 > 180
Xj, x 9 > 0
Remarks :
The solution the above problem (5) seems to be multiple optimal, but it is
unbounded.
Graphical Solution of LPP 79
Additional Problems
Solve graphically
1. Minimise Z = 30 xj +
Subject to Xj + x2 ^ 8
6xj + 4x2 > 12
5x} + 8x2 > 20
6xj + 2x 2 > 24
2xj + 2x 2 > 16
xlf 2 > 0 [0U - MBA - Nov. 94]
4. Maximise Z = x1 2 +X
9. Maximise Z = 2 0 x j + 40x 2
Subject to 36xj + 6x2 > 108
3xL + 12x 2 >36
20%! + 10%2^ 100
Xj, x 2 > 0 [0U - MBA Feb. 93]
10. Maximise Z = xx + 3x2
Subject to 3xj + 6x2 < 8
5*! + 2x 2 < 10
^ j , x2 > 0 [0U - MBA - Mar. 98]
xx + 3x2 < 3
x2<4
16. A firm can produces two types of furniture viz. chairs and tables. The
contribution for chairs and tables is Rs. 200 and Rs. 300 respectively. Both are
processed on three machines Mh M2 andM 3 . The time required by each
product and total time available per week are given below.
M2 5 2 50
Ms 2 6 60
Formulate the LP and solve it, using graphical method determine optimal
production. [OU - MBA - Sep. 99]
17. What do you understand by graphic method? give its limitations use die
graphical method to find the amounts of factor^ and factor B to form a product
which must weight 50 kgs at a minimum total cost. At least 20 kgs of A and no
more than 40 kgs of B can be used. The cost of A is Rs. 100 per kg of B Rs. 25
per kg. [OU -MBA - March 99]
18. An animal feed company must produce 200 kgs of a mixture consisting of
ingredient Xj and X 2 . The ingredient Xj cost Rs. 8 per kg and X 2 Rs. 5 per kg.
Not more than 80 kg of Xj can be used and at lest 60 kg of X 2 must be used.
Find the minimum cost mixture. Use graphical method.
[OU - MBA - March 98]
19. Three magazines P.QjR are available for advertisement. Their exposure is
number of buyers multiplied by the subsequent number of advertisements.
Budget availability is Rs. One lakh manager feeds that P should have at least 2
adds each. Formulate LP model and solve it using graph.
[0U - MBA - July 2000]
82 Operations Research : Theory and Practice
Review Questions
1. Discuss the merits and demerits of graphical solutions in operations research
6. Discuss different types of constraints and explain how you represent them in
graphical solutions of LPP
9. What is convex set? Explain with suitable examples. [0U - MBA - Nov. 94]
5. If every point of a line drawn with any two points in feasible region fall in the
feasible region the region is said to be
(a) convex (b) concave
(c) island (d) infeasible
6. In an LPP, if the values given to the variable satisfy conditions and constraints
but not the objective function, then the solution is
(a) feasible solution (b) optimal solution
(c) infeasible solution (d) we can not say
5001
5x,+3x 7 =1500
13. In the above graphical solution, which of the following is not redundant.
(a) lxx + 9x2 > 300 (b) 5*! + 3x2 < 1500
(c) 2x{ + 4x2 < 1000 (d) 9xx + 5x2 > 500
14. In the above figure, if objective function is to maximise 500 x± + 300 x2, then
we get
(a) infeasible solution (b) unbounded solution
(c) unique solution (d) multiple solution.
Graphical Solution of LPP 85
15. For the above figure which of the following objective function can give multiple
optimal solution
(a) 1170 xL + 1110 x2 (b) 1000 x{ + 600 x2
(c) 700 x L + 900 x2 (d) 1000 x! + 2000 x2
16. The get multiple optimal solutions in LPP which of the following is necessary
condition.
(a) objective function is perpendicular to one of the constraint
(b) any two constraints are parallel
(c) no two constraints are parallel
(d) objective function is parallel to one of the constraints.
17. The number of optimal solutions of LPP for a maximizing objective function
on unbounded feasible region is
(a) infeasible (b) unique
(c) multiple (d) infinite
18. The solution for the LPP : max. Z = 20 x± + 30 x2 subject to 5x^ + 6x2 < 15;
2*i + 3*2 - 200; x\> X2 - 0 m a y be solution
(a) multiple optimal (b) unbounded
(c) infeasible (d) unique
19. The solution for max. Z = Sx^ + 4x9 subject to x^ - x2 < 1, x± + x2 > 2 will be
(a) infeasible (b) unique
(c) multiple (d) unbounded
8. If multiple optimal solution exists to an LPP, at least one of the constraints will
have same slope as that of
Answers
Objective Type Questions :
1. (d) 2.(b) Mb) 4. (d) 5. (a)
6. (a) 7. (b) 8. (a) 9. (c) 10. (d)
11. (b) 12. (c) 13.(d) 14. (c) 15 (c)
16. (d) 17. (d) 18. (c) 19. (d) 20 (c)
Fill in the Blanks :
1. basic feasible 2. optimal
3. infeasible 4. redundant
5. optimal 6. solution
7. two 8. objective function
9. unbounded
88 Operations Research : Theory and Practice
CHAPTER AT A GLANCE
Start
YesJ
Rewrite objective function
using decision, slack/surplus,
artificial variables.
Optimal solution is
obtained, write solution
values and find Z of A.
Are
the values o Solution is
min. ratio negative unbounded
or infinity
4,0 Introduction
Simplex algorithm (a step by step or iterative approach) was originally
proposed by G.B Dantzig in 1948.
It starts at a basic (the worst case) level of the problem.
At each step it projects the improvement in the objective function over its
previous step. Thus, the solution becomes optimum when no further improvement is
possible on the objective function.
BV C
J
c
i Minimum Remarks
SV v
S& \ ratio
v
i
Solution values
Contribution of
basic variable
/ Most \
in objective
variables
minimum )
function
Basic
Key Element
ratio -*— Key row
(W 1 lofSV/keyi
\co. value/
Key column
90 Operations Research : Theory and Practice
Step 4 : Construct, Initial Simplex Tableau as given above with the following notations.
CB : Coefficient of basic variable in the objective functions
(or contribution of basic variable)
BV : Basic variable (from IBFS)
SV : Solution value (from IBFS)
Cj : Contribution of/'1 variable or coefficient of each variable (j ) in
objective function.
Z: - Cj : Net contribution.
Start
Optimal solution is
obtained, write solution Stop
values and find Z of A
Yes
Select most negative value of
Zj - Cj and make it as key column
Are
all the values of Solution is / _
minimum ratio negative unbounded I
or infinity
No
Select least value of minimum ratio column and
make it as key row, and identify key element
6xj+2x2<60
and xpx2>0 by using simplex method. [JNTUMECH, ECE-1999/C]
Step 1: Foromulation :
The given problem is already formulated in canonical form.
Step 2 : Writing standard form by introducing slack variables;
(Given problem is in canonical form i.e., maximising objective function,
constraints < type and all non negative conditions)
Express given problem in the standard form i.e., objective function is to be
maximised (existing already), equality constraints (to be converted) and non-negative
conditions of variables (aready existing).
Standard form of the given problem is
Maximise Z= 6x^ + 9x% + Ojy + 0.52 + 0.53
2x^2*2 + 5^24 . . . . (1)
X1 "r OXo r 5o :— 1 1 .... (2)
6xj + 2^2 + 53 = 6 0 .... (3)
and xj >0, x2 > O.ij > 0,^2 > 0, ss > 0
Where 5^, 52 and 53 are slack variables added left side of equation (1), (2) and
(3) respectively so as to make the inequations (<) as equations. Also the condition of
these variables must be non-negative.
Step 3 : Now, we have three equations with five variables viz., x±, x%, 5j, 59 and 53 to get
the Initial Basic Feasible Solution (IBFS), we have to fix the values of any two
of these five variables. We can do this in bc ways, i.e., 10 types of solutions.
We choose x± and x2 at zero since the decision is to be made on them and we
start at most minimum possible value of x^ and x2 (x^ > 0, x^ > 0) and this is the most
worst case from where we iterate to improve the objective function to its maximum
value.
Thus IBFS is
[Now, if the non-basic variables are brought into basis by the iteration, then the
optimal solution can be attained].
Simplex Method 93
r rT t t Min Remarks
Variable Sol. Values Ratio
1 0 0
0 0
-60
/ - I -9 0 0 0
C
J 0 0 Min Remarks
BV Ratio
sv So
24 0 0 24/2
Key rowr
60 6 ; 2- ; -y o 0 1 60/2
0 0
Key/ coli
column
Step 6 : Re-write the next iteration tableau - II with the given set of rules :
[We can notice in iteration tableau that the values of body i.e.^, the coefficient matrix
for basic variables is in the form of a unit matrix. When s j , s2 and s 3 are Basic Variables, we
find unit matrix under their respective columns. When52 is replaced with x2 now, we should
make a unit matrix with sj, x2 and 53, the basic variables in the next iteration tableau. To
make this improvement, we follow the following rules.]
94 Operations Research : Theory and Practice
New
N ewiR
?9 is
2's 9 *2 —- - - 1- (T
(obtained from rule 1)
44 1 1
New/?! is 0 S l 24 - 2 x — 2- 2x- 2 - 2 x 1 1 - 2 x 0 0 - 2 x - 0 - 2 x 0
5 5 o
32 8 2
!
T 5 ° -5 °
Similarly, R^ -> R$ - 2 R%
9 v 44 2x1 1
N e w / ? , is 0 S$ 6 0 - — - — 6 - ^ - — 2 - 2 x 1 0 - 2 x 0 0 - 2 x - 1 - 2 x 0
5 5 5
Simplex Method 95
These are written in tableau - II given below and the above steps are repeated.
i coming Variable
ITERATION TABLEAU U
0 Min
B.V Remarks
Ratio
sv
'W^:m:i-:
Key element
44 .••.-.•I1-:- , 1 44/5
0
5 "5 1/5
212 2 212/5
0 0
5 ~ 5 28/5
^A
zrc.
\
Key column
w 0 x 0 + 9 x 1 + 0
8 n 1 28 0x0+9x0+0x1
0 x —+ 9 x —+ Ox —
3 5 5 0x1+9x0+0x0
ITERATION TABLEAU
C 6 9 0 0 0 Min
B.V J Remarks
x2 s2 Ratio
SV *i *3
6 x{ 32 5 8 5 2 5
0x5/8
TX8 5X8 ~5X8
=0
= 4 =1 =0 = 5/8 = -1/4
9 x2 44 1 . 1 1
1-^x0 5 8 5 5l 4j 0-^x0
T"5x4 5 5
1 - - 5 l
=8 x 1=0 =1 = =0
~~8 4
212 28 28 28 2 28/"-H
0
0-fx0 0 ^ 1-fxO
— - T x 4 T"T x l =0
° ~ 5X8
= -7/2
5 5 4
= 1V ; =1
= 20 =0
6 x 1 6 x 0 6x5/8 6 ( - lA) 6 x 0
h + 9 x 0
+ 0 x 0
+ 9 x 0
+ 0 x 0
+ 9 ( - 1/8)
+ 0(-7/2)
+ 9 (V-i)
+ 0 x 1
+ 9 x 0
+ 0 x 1
ZJ-CJ r6 - fi
6=n0 9-9=0 f-° 21
I"0 3
°-°
8 4
C
i 6 9 0 0 0 Min
B.V Remarks
S2 53
Ratio
SV x} xt S{
6 x
i 4 . o f -i o
9 x2 8 0 , -i I 0
0 20 0 0 - | 1 1
6 9
f ! °
21 3
h
91 ^
0 All positive, so Z max = 96
° T ! °
z c
r j
As the values of Z - C are positive for all the variables, the optimisation is
reached.
= 8 I Basic
Non-basic
=6x4+9x8+0x0+0x0+0x20
= 24 + 72 = 96
Remarks :
(i) From the above solution values, we can understand that 20 units of third resource are
left unutilised while first and second resources are fully utilized.
(ii) Students are advised not to express the fractions in the decimal form, since these will be
normally simpler calculations. If they are expressed in decimal form, it viay affect the
accuracy.
Note : (i) While calculating minimum ratio, ifyou get negative value or infinity ignore them.
(ii) A minimisation objective function can be changed to maximisation by multiplying with (- 1). You
can observe these in the illustrative example to follow.
Simplex Method 97
Step 4 & 5 : Setting initial simplex tableau and identifying key column, key row and hence
key element. Also locate in coming and out going variables.
ITERATION TABLEAU -1
i coming Variable
C'B B.V
Cj -2
V A
— Tt
0 0 0 Min
Ratio
Remarks
sv *i
7
0 «i 1 3 -1 3 1 0 0 —-~-V€
*
- } (Ignore)
12 0 0 ".;.:. Keyyow v,;
Key element
: , ' - • •
0 10 -4 3 5 0 0 1 10
T>3
h 0 o 0 0 0 0
Out going variable
zr C
J 2 4 0 0 0
Key column
* Ignore if minimum ratio is negative or infinity.
Step 6: The tableau - I is iterated to give tableau - II, according to given remarks in
tableau - II
(Find R^ by ~ R% and then R^ and R$ using R$).
ITERATSOW - TABLEAU - H
i coming Variable
C
J -2 -4 0 0 0 Min
B.V Remarks
Ratio
sv
10 i 3^S
-Key element
i ° (ignore)
-I o . -! • (ignore)
Out going variable Z- - 3 0 0 3/2 0
-I-"" 0 0 3/2 0
Key column
Simplex Method 99
ITERATION TABLEAU -11! (first find itf hy~ ft? m\d then R$ and Rf)
- 9 6 -4 0 0 0
c
C
B.V J Min
Remarks
sv x2 s Ratio
Xj
\
-2 x
\ 4 1 0 6/5 2/5 1/10 0
Min Z= Xj-x2-2x3
S.t 3xj+ x2+3x3<7
-Xj+2x2>-6
4xj+3x2+5x3<10
xp xPx3>0
Solution:
Step 1: Formulation : Already formulated but not in canonical form.
Converting into canonical form.
Max Z =-Xj + #2 + 2 x3
S.t. 3x1 + x2 + 3 x 3 < 7
xx - 2x2 < 6
4xj + 3x2 + 5x 3 < 10
Xj, x 2 X3 > 0
(Here, obj. function and second constraint are multiplied by - 1)
100 Operations Research : Theory and Practice
3*! + x2 + 3x$ + Sx = 7
Xj - 2^2 + ^2 = 6
.*. Three of them are kept in basis and three in non basis ( we get 6C types of
solutions)
basic 5] =7, S2 = 6, 5 3 = 10
(fs5 5; Write initial tableau, identify key column, key row & key element, and in coming
& out going variables
ITERATION TABLEAU • i :
llll
-1 +1 0 0 0 Min
C B.V
Ratio
Remarks
s.v.
7
0 Si 1 3 + 1 1 0 0
3 If Min ratio
is -ve or «>, it
is ignored
0 s2 6 -1 -2 0 I 0 0
— = oo
(ignore)
•Key element
' ;•'•./ . • ":"
:
•'•:•" • ^ • ' v " '
k
k-mi • > , •
.:•?. . - " • 5
• - "
o; !
kl-:---5 - : k :V-.'••:
Key row
h 0 0 • - . • • • " " •
0 0 0
+1 - 1 0 0 0
Key column
Simplex Method 101
Step 6 : Iterate Tableau - 1 , according to given remarks in tableau - II
^ITERATION -TABLEAU -II:
C
J - 1 1 2 0 0 0 Min
C B.V Ratio
Remarks
s.v.
0 1
i -f » • • - i
0 s2 6 1 - 2 0 0 1 0 /?2^ —> i?2 ( n o change)
2 2
I ! > » » i
Z
j ! ! » • • ! Since Z - C•> 0 V x- and 5y
we have Z m a x = 4
Z
i~CJ
f 1 • » • I
As Zj - C: values are positive for all the variables, optimality is reached. Optimal
solution is
xy = 0, x 2 = 0, x% = 2
=4
Zmin = - 4 at #! = 0, x2 = 0 and x 3 = 2
Remarks :
Converting a 'greater than or equal to' (>) type constraint into 'less than or
equal to* (<) type constraint is not applicable to all the cases. Particularly,
(i) When all the constraints are 'greater than or equal to' type, this method is not
suitable, and
In all such cases we may have to choose either BIG M or 2 phase method to be
discussed in the sections to follow.
xpx2>0 [IGNOU-MBA-1997
BRAOU-MBA-1998]
i 2 0 , Si,$2 ^ 0
Key row
Simplex Method 103
ITERATION TABLEAU II
R1? -^ R i ; -Entering Variable
0
BV Min ratio Remarks
sv s2
to be ignored
to be ignored
Key column
From the above tableau - II, it is clear that x2 is entering variable into the basis
(key column variable whose Z: - C: is negative) but no variable is ready to leave since
the ratio of solution vaue to key column value is infinity for R± and negative for /? 2
both of which are to be ignored. Thus we cannot proceed further because key row
(leaving variable) cannot be found. Thus, this problem yields no finite solution or in
other words, an unbounded solution.
After reaching the optimality, if at least one of the non-basic (decision) variables
possess a zero value in Z: - Cj, the multiple optimal solutions exist.
solution :
Converting inequalities into equations, we get
Max Z = 3*2 + 6x2 + O.S{ + O.S2
Subject to XJ+X9 + 5J = 5
V -L 9 -V - U ^ — ft
Aj T A X9 T~ J O — U
xx 5 S >0
IBFS : Sj = 5, S2 = 6 (Basic)
#! = (), x2 = 0 (Non basic)
ITERATION TABLEAU - 1 :
- Entering Variable
Leaving variable
Key column
ITERATION TABLEAU - 1 ! : Entering Variable
Optimal solution is 2 m a x = 1 8
Key Column
From the above Iteration Tableau - II the optimality is already reached since,
- Cj> 0 i.e., positive for all the variables. Therefore the solution is
and Z m a x = 3 x 0 + 6 x 3 =18
However, the value of Z- - C.- = 0 for the non basic decision variable xx in tableau
- II. This indicates alternative optimal solution. Therefore choosing first column as
key column, if we further iterate, we get the following tableau - III
Simplex Method 105
STERATIO&J TABLEAU - H i :
C
J 3 6 0 0
BV Min ratio Remarks
SV #j ^2 Oj 09
3 x
\ 4 1 0 2 - 1 5
Z
J 3 6 0 3 Z • - C • > 0 for all variable and hence
z c 0 0 0 3 Optimal solution is Z m a x = 1 8
r j
#1=4, #2=1
Z max = 3 x 4 + 6 x 1 = 18
We can observe that Z - C value will be always zero for basic variables in any
simplex tableau [observe for S} 8c S9 in Tableau - I , for Si 8c x9 in Tableau - II and
for %i 8c x9 in tableau - III they have Z - C values zero .] However, in Tableau - II?
apart from basic variables Si and x2 , the other variable xj is also showing Z: - Cj~ 0.
This indicates that xj is also worth coming into basis, as it is behaving similar to any
basic variables. Thus it provides an alternate optimal solution.
However, if all the basic variables are not replaced by decision variables it does
not mean any multiple solution unless this condition (i.e., Z - & = 0) is obeyed by any
non - basic decision variable.
Solution:
Step 1 : Formulation :
Variables: Let the no. of toys produced in first type = Xj
and the no. of toys produced in 2nd type = x2
106 Operations Research : Theory and Practice
(i) Labour time constraint: As labour time of first toy is twice that of second, if xj of
first type is produced, 2 x2 of second can be produced.
C
J
10 8 0 0 0
o. B V
SV 52
Min Ratio Remarks
0 1000 2 1 0 0 1000
•
Si
0 300 0 0 1 0 300 «—
0 500 0 1 0 0 1 oo (Ignore)
Z
i
0 0 0 0 0
ZfCj -10 -8 0 0 0
ITERATION TABLE - M :
C 10 8 0 0 0
J
ca BV
SV Xj x2 oj ^2 *^3
Min Ratio Remarks
0 500 0 1 0 0 1 500
Zj 10 0 0 10 0
z c
ri 0 -8 0 10 0
ITERATION TABLE - i l l :
C 10 8 0 0 0
J
C B V Min Ratio Remarks
SV x
\ Si s2 s.
8 H 350 0 1 1/2 -1/2 0
10 X, 300 1 0 0 1 0 R»->Rl
0 s, 150 0 0 -1/2 + 1/2 1 Rt^Rl-RNi
Z
J
10 8 4 6 0 xx = 300
2 ma x-5800
0 0 4 6 0 x2 = 350
xx = 300,
108 Operations Research : Theory and Practice
x2 = 350
z
max= 10x300 + 8x350
= 3000 + 2800
= Rs. 5800/-
(unutilized resources S3 = 150 units).
Subject to xi < 5
- x j + x2 < - 10
xx > 0 , x9> 0
Now introduce slack variables, to get equations
Xj + Sx - 5
^ 01
IBFS : ^} Non basic
x2 = 0 j
Si = 5 1
o in ^ Basic
^2 = - 10
From the condition 5 2 > 0, S2 can not take value - 10, therefore no IBFS can
exist with such less than or equal to type constraints.
So also, this method of converting' > ' type consraint to' <' type with a negative
sign can not yield any result and not suitable in such cases, as said earlier.
Simplex Method 109
Practice Problems
1. Max. Z=2x 1 + 5x 2
O.I. A Xi ~r Xo
2x2< 460
#j, x2 > 0 [JNTU (CSE) 97/sj
;4n$ujer; Unique solution : x± = 100, #9 = 230 and Max Z = 1350
2. A firm manufacturers two products in three departments. Product/1 contributes
Rs. 5/- per unit and requires 5 hrs. in dept. M, 5 hrs. in dept. N and one hour
in dept. P. Product B contributes Rs. 10/- per unit and requires 8 hrs. in dept.
M, 3 hrs in dept N and 8 hrs in dept P. Capacities for departments M,N,P are
48 hours per week. Find out optimal product mix using Simplex model.
[JNTU (CSE) 98]
%i , x2 > 0
Solve graphically.
Use simplex method to verify its graphical solution. [JNTU (ECE) 97]
Answer; Unique solution x± = 2, x2 = 0 ; Min - - 2
(Refer illustration 4 of chapter 3 for graphical solution)
6. Using simplex method,
Maximize Z = 5xi + 4x2
Subject to constraints 4 xx + 5 x2 < 10
3 x 2 < 12
8. A company wants to purchase at most 180 units of a product. There are two
types of the product, Mx a n d M 2 available. Mx occupies 2/? 3 , cost $12 and the
company makes a profit of $3. Af3 occupies 3/2 3 , cost $15 and the company
makes a profit of $4. If the budget is $15,000 and the warehouse has 3000 fiz
for product.
(i) Set up the problem as a linear programming problem.
(ii) Solve the problem using simplex method. [JNTU (EEE) 98]
S.t. 2 * 1 + 3 * 2 < 70
3x } +5x2 < 110
xx+4x2 < 100
xl > 0, x 2 > 0
S.t. 2 x 1 + x 2 ^ 72
^! + 2 x 2 < 48
xx > 0, x2 > 0 jJNTU. Mech. 93]
xj + 6 x2 + 2 x% < 50
^j + 2x 2 + %3 < 26
- 2 xj +x 2 - 5 x3 > - 6
x
\> x2>0 [JNTU . Mech/Prod/Chem. 2001/S]
112 Operations Research : Theory and Practice
2. Max Z = 6 x 1 + 4 x 2
S.t. Xi - Xo < 1
x} > 0, x2 > 0
Answer : Unbounded or no finite solution
4. Maximise Z = - 2 x± + 3 x2
x, < 5
3 2 "
Xj , x 2 S 0
Simplex Method 113
3
Hint; In final table at xj = 5, x2 = 9 and Max Z = 15 but Z - C• = - —.
All the elements in key column (second column) are negative.
Hence solution is unbounded
5. (a) Min Z = - 6 x^ + 2x2
S.t. <48
2x! <9
x2 <6
xj >0, x2 > 0
Multiple optimal solution 4.5, x2 = 2, Z m a x = 24
1.5, x 2 - 6 , Z l l l a x =24
2. Max Z = 0.4 *! +0.2*2
S.t 2x L + x2 <72
xj + 2 %2 < 48
Xj , x 2 > 0
3. Max Z=
S.t. x+y <40
x <20
15x+ 12)><300
x > 0, y > 0
Answer : Multiple optimal solution x = 20, y = 0 or
* = 0 , ^ = 20, Z m a x =100
4. Max Z = 6*! + 22 3
Xj, X2 > 0
Answer : Multiple optimal solution xj = 4, x2 = 0
5
or xj = •—, x2 = 3 and Max Z = 24
6. Show that the LPP Max Z = 0Axx+x2
S.t 2xl+x2<5O;2xl + 5x2
Additional Problems
1. Max Z = xj — x 2 + 3 X3
S.t. Xj + x 2 + X3 < 10
2xl-x^t <2
2 X 2 + 3 X 3 <0
xx,x2,xs >0
Simplex Method 115
S.t. xx + 2x : 2 + 2 x 3 + x 4 = 8
3 xj + 4 x 9 + x 3 + X5 = 7
Xj > 0 where 7 = 1, 2, 3 , 4 , 5
3x 1 + 3 x 2 + x 3 + x^ 80
Xj<0 where 7 = 1 to 4
4. Max Z = 4 Xi + 5x 2 + 9 x 3 + 11A
S.t. x1 + < 15
X1 , X o , XQ >0
6. Max Z = 5 Xj + 4 x2
7. M a x Z ^ + 2X9 + 3 x 3
S.t. XtHh 2 x2 + 3 x3 10
<5
xlt: >0
116 Operations Research : Theory and Practice
Max Z = 2 %i + 4 x2 + x§ + x4
S.t xx + 3x 2 + x4 < 4
2JC 1 +A- 2 <3
x9 + 4 x 3 + x4 < 3
9. Max 15 xj + 6 x2 + 9 x 3 + 2 x4
S.t. 2 x j + x 2 + 5 x 3 + 0.6x 4 < 10
3XJ+X2 + 3X3 + 0.25X4 < 12
7 x j + x 4 <35
x7->0 where j= 1, 2, 3,4
10. MaxZ = 2x 1 + 5x 2 + 6x 3
S.t. 5x1 + 6 x 2 - x 3 < 3
- 2 %\ + x9 + 4 x3 < 4
Xy — 5 x2 + 3 X3 < 1
- 3 «!-3^2+7^3 <6
and xj , x9 , x3 > 0
11. Max Z = 3 x 1 + 4x9 + x3 + 7x 4
S.t. 8x{ + 3x 2 + 4 x3 + x4 <7
2xj + 6x 9 + x3+5x 4 < 3
x\ + 4x 2 + 5 x3 + 2x 4 < 8
and x lt x2, x3, x4 > 0
12. Max Z- 3 Xi + 4x 9 + x3
S.t. x1 + 2x 2 + 3x 3 <90
2XJ+X2 + X3 < 60
3 x ^ x 2 + 2x3 <80
and xj, x2, x3 >0
13. Max Z =.2 xj - 4x 2 + 4 X3
S.t. x1 + 5 x 9 - 5 x 3 <8
- 6 xi + 7x 2 - 7 X3 < 3
and *i>0, x3>0
Simplex Method 117
14. M a x Z = 5 x 1
S.t. <2
* 2 < 10
x2 < 12
and x2, - 0
15. Min Z = #! - 3 x2
S.t. - x 2 + 2x 3 < 7
2x 1 + 4x 2 < 12
3X2 + 8X3 < 10
and [IAS-Main 93]
16. Max Z =
S t 3x — ^x + 2x < 15
<3
x
l ~ X2 + ;3C
3 <4
xlfx2,xs >0 [0U - MBA Apr. 99]
Step 3 : Find IBFS by keeping artificial variables and slack (if any) in the basis and others
equated to zero (non- basis)
Step 4 : Develop initial simplex tableau -1 and proceed as usually, i.e., find Z, which is
sum of product of Cg value ( - M for artificial variables and zero for slack
variables) and value against corresponding column in the coefficient body
matrix (%•). Then fmd Z - C- to identify key column (most negative value of
Z: - C-) and thus the corresponding 'entering variable'. Find minimum ratio
dividing solution value with key column value to identify key row and thus the
corresponding leaving variable'.
- Replace leaving variable with entering variable along with its Cg.
- Make key element (intersection element of key column and key row) as
unity, i.e., Divide entire key row of iteration tableau - I by key element
(except it's C$ value i.e., first column), to fmd the corresponding new row
of iteration tableau - II.
- Other elements of key column of iteration tableau - I are to be made as
zero. To make this add or subtract required number of times the entire
key row of Iteration tableau - II in the elements of corresponding rows of
iteration tableau -1
- Find Zj9 Z - Cj and minimum ratio etc., to continue further and repeat
(step 4 & 5) till all the values of Z - C become positive.
Note : In this method when an artificial variables is replaced, it's column also is to be deleted from the
tableau for further iteration.
Step 6: Obtain final iteration tableau and write solution value and hence find the
optimum solution in objective function.
120 Operations Research : Theory and Practice
C
J -12 0 0 -M -M
C B.V Min Ratio Remarks
s.v xx s2 A2
100
-M 100 6 -1 0 1 0
8
;®
; 120
:-M\ 120 12 ;o ; o : ;/••• 1
-13 M M M -M -M
( Z
J
r i -13M + 12 - 2 0 M + 2 0
z c M M 0 0
t
Key column
Out going variable
Simplex Method 121
Note : J2 j$ the key element, R indicates new or current row value and R is to be read from previous
table. At becomes non basic and X2 becomes basic variable. Also A% will be removed in the next
iteration.
c
l -20 0 0 -M
C B.V Min. Rat. Remarks
s.v ) •
52
/B
4 9 15
20 0 -1 1
3 3 <- K R
: i_ 1 120
90' 10 1 0 0
12 12 7
.. 4M 140 2M 20
Z
J -20 M + -M
";• 3 ~\ 12 3 12
Key column
Note : A\ becomes non basic and x\ becomes basic in next iteration. AndA\ will be removed.
ITERATION TABLEAU • H I :
C
J -12 -20 0 0
B.V Remarks
S.V X-i Xt.y >J 1 J<>
-12 x
i 15 • » -! \
o ' i -I
5
-20 x2
4
» » \ I
z
2max = -205
rcj
Max Z - - 12 x 1 5 - 2 0 x - = - 205
4
or Min Z - 12 x 15 + 20 x ~= 180 + 25
4
=205
Optimal solution : Min Z = 205 at xx = 15, x 2 = — , Sx = 0, 5 2 = 0
122 Operations Research : Theory and Practice
Solution ;
Conversion of inequalities into equalities
2 Xi + x2 -Si +A• 1 - 2
xj + 3 x2 + S2 = 3
x2 + S3 = 4
Object Function :
Max. Z = 3xl-x2-O ^! + O1S2 + O5 3 -7VL4 1
IBFS : xi = 0, x2 = 0, Si
ITERATION TABLEAU ^ I n coming Variable
C
J 0 0 0 -M Min
cB B.V
s2 ratio
S.V A
i
%r~000r
-•;-;,;:..;4-;.; : ;.:;.:;-; ; v---;l _•_-. ,;
II EiBi
0 3 ^:.;^1^^- 3 0 i 0 0 3
. ; • • . ' . - • • ' • v - . ; • - ' " : • . • ' " • ' • • " '
0 S*. 4 0 0 1 0
- - : T \ . • ' • - • • ' - 1
:«#::-v. 1
z; Af 0 0 -Af
z,.- C/ Si^g|3c - Af + 1 M 0 0 0
t
m^
Out going variable 1 coming Variable
Key column
»ITERATION TABLE I I :
C
J 3 -1 0 Min
CB B.V Remarks
S.V ratio
1 1 -2 RN -^ — R°
3 x
i 1/2 0
(ignore)
ft •.••;:.-/-,:•-..;,•;
.-
• •:•
, - •
• •••
- ; . • •
•
r
•
v
.
'
" '
-
• . -
. : - . , -
•
. .
-
m iiiiiii
RN -> R°
o /
OO
4 0 i i
(ignore)
I Z. 3 3/2 0 A} is removed from tableau
since it is replaced by xx
Out going variable zrcj 0 5/2 ;-:-^2: , 0 0
Key column
Simplex Method 123
ITERATION TABLE - II!:
C
J
3 - 1 0 0 0 Min
B.V
ratio Remarks
s.v X-i Xn Ji On OQ
3 x
\ 3 1 3 0 1 0
0 Si 4 0 5 1 2 0 R$->2R°2
0 4 0 1 0 0 1
Z
J 3 9 0 3 0
ZJ-CJ 0 10 0 3 0
T h e solution is x^ = 3, x 2 = 0, S\ - 4, 5 2 = 0, 5 3 = 4
Zmax = 3 x 3 - 1 x 0 + 0 x 4 + 0 x 0 + 0 x 4 = 9
xpx2>0 [JNTUB.Tech.(CSE)97]
-3 0 0 -M -M
c B.V
s.v Si s2 Ratio
Remarks
2 6 4 0 -1 0 1 4/3
0 Si 4 i 1 1 0 0 0 6
ZJ-CJ -6M+4 -5M+ 3 0 +M 0 0
Leavin a variable
Key column " Entering Variable
s [ITERATION TABLEAU I I :
-4 0 0 -M Min.
B.V Remarks
Ratio
s.v
-4 1 1 1/3 0 0 0 3
-M ', • • . • • • > • ; . • . ; • •
0 3 0 -1 1 \ 1/3 "«-.,, /X9 ? 2 "^ 1
0 / 3 0 2/3 \ 1 0 0 15/2
(-3M+5) ^4] col. is deleted
0 0 + M 0
1
ITERATION TABLEAU - ! l i :
f
Key column
-4 -3 0 0 Min.
Remarks
x2 52 Ratio
*1 Si
-4 x
l 2/3 1 0 0 1/9 -ve
-3 x2 1 0 1 0 -173 1
X
2 X
l ~ "o" ' 9= 1
Max.Z = -4f|]-3(l) = - y .
Simplex Method 125
But in 'greater than or equal to type' inequality for instance, as, 5x± + 6 x2 > 9
and xj > 0 x2 > 0 we have to subtract a variable called 'surplus' variable and thus
5xL + 6x2 - S 2 = 9 andx x ,x 2 > 0. Here S2 can not be negative since the negative nature
of 5 2 violates the inequation. Therefore is 5 2 > 0. Now as x t > 0 and 0 x2 > 0, at no
production or 'stand still conditions' i.e., xY = 0 andx 2 = 0, makes the equation
inconsistent with reference to the condition that S2 > 0 (If
x'i = 0 8c x2 = 0 => S2 = - 9 which is violated by S2 > 0). To solve this riddle we have
to add another variable in the equation called 'Artificial variable' (say 'A') so that
A > 0. And A is supposed as very large (the can never be zero) that costs
unaffordably. In Big - M we consider its cost as 'M' a very high cost and concentrate
on its removal while in two-phase method, though we assume unit negative cost,
fundamentally we proceed to remove these artificial variables in phase -1 with out
which we will not enter phase - II. If <Artificial variable' could not be removed in
phase - 1 , we declare there itself that the solution is infeasible.
1. It is easier to calculate as it does not involve 7lf and all are numericals.
2. It can give the solution at the first phase itself if the LPP is infeasible. We need
not go through second phase.
Set up initial
simplex tableau
Is an
artificial variable Solution infeasible
replaceable?
Find solution
Stop
FIGURE 4.3 : FLOWCHART
Simplex Method 127
(d) Rewrite the objective function (say Zj) by assigning ' - 1 ' value to the
coefficients of Artificial variables (instead of- M as in Big M method) and
'Zero to all the other variables.
(a) Find IBFS, by assigning zero value to decision and surplus variables. Find
the solution values for artificial variables and slack (if any) variables.
Step 3 : Iteration :
(a) Examine the optimality condition by checking if there is any negative
value for Z - C . [Zj is summation of products CB value with corresponding
column coefficient].
(b) Find 'key column' whose Z - C is most negative. Note its corresponding
variable as 'the entering variable'. This replaces the leaving variable in the
next iteration along with its Cj value.
(c) Find 'key row' with minimum ratio by dividing the solution value by key
column value. Note the variable of this row as 'leaving variable'. This,is
replaced by entering variable along with its contribution in the next
iteration.
(d) Iterate with usual method, i.e., to obtain unity at the place of key element
and other elements as zeros in its column, thus find the next tableau.
(c) If Zj - Cj is still negative and Artificial variables are not replaced, stop and
conclude that the LPP has 'infeasible solution*.
(d) Note that when an artificial variable is replaced, it should be deleted from
the table (even its corresponding column also)
Phase - II :
(a) Obtain initial tableau with the help of the final tableau of phase -1 (Aux.
LPP). Replace the coefficient of variables in objective function with
original values i.e., all C and CB values are re-written according to the
reset objective function.
(b) Check optimality condition and all the process is as same as in step - 3 of
phase -1
Step 3 : Iteration :
Iterate the tableau of step - 2 of phase II obtained above with usual method as
mentioned in step - 3 of phase -1
Step 4 : Optimal Basic Feasible Solution :
Obtain final tableau with all values of Zj - Cj positive (for all columns) and write
the solution value set. Find optimal value by substituting in the objective function of
phase - II.
This is illustrated here below.
I L L U S T R A T I O N 10
Let us consider the example in illustration -1 of Big - M method.
Afterformulation ofthe information, we get
Min Z=12xj+20x2
S.t. 6xj + 8x2>I00
7xj+12x2>120
Xj>0,X2>0 [JNTU B.Tech (ECE) 97]
Simplex Method 129
^ - E n t e r i n g variable
0 0 - 1 - 1 Min
B.V Ratio Remarks
s.v
100
100
- 1 M 8
WSSK&
Ililili
13 &J20;;; 1 1 -1 -1
13 •••-•2KC: 1 1 0 0
Leaving variable
1
Key column
130 Operations Research : Theory and Practice
-Entering variable
Cj 0 0 - 1 Min
B.V Ratio Remarks
s.v
•8 ss
mmmmmimA I?
it
Key element
10 x 12
10 /! 2
• • ^ : \ - • 1 '
12
- 1
Leaving variable
Key column
C
J
0 0 0 0 Min
c. Remarks
is rennoved
B.V Ratio
eau as itis
S.V *\ x2 Si 52
dinba sis
3 1
0 xx 15 1 0
"4 2
0 x2.
5
0 1
7 3
1 ^ ^2 ~*R2--i2R\
4 16 "8
lie
0 0 0 0
z
i-ci 0 0 0 0
As Zj - C > 0 for all the variables and all artificial variables are replaced, phase
-1 yields solution. Therefore we proceed to phase - II
Phase - II :
Objective function Max. Z2 = - 12 xj - 20 x2 - 05 j - 05 2
C
J
-12 -20 0 0 Min
CB B.V Remarks
Ratio
S.V x
\ X
2 ^1 ^2
-12 xx 15
• » -! 1
-20 x2
5^
4 • ' £ -!
Z
J -12 "20 i f
Z
J'CJ • ' i I
Simplex Method 131
As Zj - C: > 0 for all variables, the optimization is reached. And the solution is
5
Xi = 15 Xo = -
1 4
4
Z^ = 12xl5 + 2 0 x |
- 1 8 0 + 25
= 205
ILLUSTRATION 11
Solve thefollowing LLP
Maximise Z=10X+15Y
Subjectto Y>3:X-Y>0;Y<12:
X+ Y < 30; X< 20andX, Y >0 [JNTU (CSE) 2003(Set-1)]
S o I ulion ;
X-Y-S2+A2=Q
X+Y+S4=30
X+S 5 =20
X, Y>0, Sx, S2, 5 3 , 54> S5 >0 and Ax,A2>0
(where X, Fare decision variables, 5j & S2 are surplus variables, 5 3 , 5 4 & S5 are
variables and A { 8c A2 are artificial variables.)
Phase I :
For phase I, we consider the objective function as Max. Zj = -A± -A2
Y-Sl+Al = 3; X-Y-S2+A2 = 0; F+S3=12,
-1 0 0 0 0 1 - ve (Ignore)
0 1 0 0 0 0 12/1
0 0 1 0 0 0 30/1
0 0 0 1 0 0 oo (ignore)
1 0 0 0 -1 -1
0 0 0 0 0 0
Key column
r
Note : We can choose X or Y as key column here, but better to choose Y and ifX is taken, it may lead to
-—-^Entering variable Delete column
p
TERATIQN TABLEAU
CB B.V ! ° 0 0
s2
0 -1
s4
-1
A2
Min.
Ratio. Remarks
mammnil m
0 Y j 1 -1 0 0
III •HP
1
• • • , - : illll
sglilSll
|
0 9 | 0 1 0 0 0 oo R
o
0 27 ! 0 0 1 0 0 27/1
o
0 20 0 0 0 1 0 20/1
o
Leavirig variable Z
J I 1 1 0 0 0 -1
z c \! o
o 1 1 0 0 0 0
r i
Key column
Note : In the above iteration, we can observe that there is no need of changing R\ and R$ since the desired
1 and 0 are already available
Simplex Method 133
ITERATION TABLEAU HI:
C
J 0 0 0 0 0 0 0 Min.
B.V
Ratio. Remarks
S.V X Y Si s2 s4 $5
p/V . p()
0 Y 3 0 1 -1 0 0 0 0
0 X 3 1 0 -1 -1 0 0 0
0 h 9 0 0 -1 0 1 0 0
0 s4 24 0 0 0 1 0 1 0
0 17 0 0 1 1 0 0 1 Bg^Rl-R"
h 0 0 0 0 0 0 0
z
rcj This is now called auxilary
0 0 0 0 0 0 0
simplex tableau
Phase I I :
-Entering variable
Objective function : Max. Z 2 =^
c; 10 15 o/ 0 0 0 0 Min.
C
B B.V
S.V X Y (p) h h s4 s5 Ratio. Remarks
15 Y 3 0 1 -1 0 0 0 0 — ve
10 X 3 1 0 -1 -1 0 0 0 -ve
0 S-i 9 0 0 -1 0 1 0 0 -ve
0 27 0 0 0 1 0 1 0 oo
0 17 0 0 1 1 0 0 1 20/1 <-
f 10 15 -25 -10 0 0 0
z c
I rj 0 0 -25 -10 0 0 0
1
Key column
Leaving variable
134 Operations Research : Theory and Practice
10 15 0 0 0 0 0 Min.
c. B.V C
J V V ^ ^ ^ ^ ? Ratio. Remarks
S.V A I J j "Jg 3 4 r
)
15 Y 20 0 1 0 1 0 0 1
10 X 20 1 0 0 0 0 0 i
0 $3 26 0 0 0 1 1 0 0 r>N v pO , nN
0 $4 24 0 0 0 1 0 1 0
0 17 0 0 1 1 0 0 1
Zj 10 15 0 15 0 0 25 Z m a x = 10x20
+ 15x20
zrc} 0 0 0 15 0 0 25 = 500
Since all the values of Z- - C are positive (> 0), we arrived, at optimal solution.
1. Infeasible Solutions :
In Big- M method, we find infeasible solution if all the artificial variable do not
leave, the basis.
Similarly, in two - phase method also, if phase -1 does not yield any solution
since all artificial variables can not be replaced, the solution is infeasible.
ILLUSTRATION 12 -
Max.
5x1 + 6x2>15
x19x2 >0
Solution :
By Big - M method :
Conversion to equality
Max. Z = 4xl + $x2 + 0Sl + 0S
5 x± + 6x2- S2+A= 15
xhx2,Sl,S2,A>0
IBFS xx = 0, x2 = 0, S2 = 0 (Non-basis)
/I-15 (Basis)
- Entering variable
ITERATION TABLEAU !:
C
J 4 0 -M Min
B.V Ratio Remarks
S.V Xi
-M 15 6
-5M .. - 6 M M -M
0
Entering variable
column
C
J 3 0 0 -Af Min
C B.V Remarks
S.V s2 Ratio
0 0
~i ^ row
i 3
-M 1 A 15 0 -1 1 12 R»-*R«-6R»
2 2
j
Leaving variable
Z
J
";• M
:
- 9
4; 3
3 3M
Af -Af
; M " • .7:- 3M 3
z
r
r
c
i 0 + M 0
•"' 2 A
4 T 4
Key column
136 Operations Research : Theory and Practice
4 3 0 0 -M Min
B.V Remarks
Ratio
S.V x} x2 Sj S2 A
4 x
\ 9
• ! 1 « •
-Af A 5 o -| - f -. .
h 4 f t f f + i M .,,
ZJ-CJ
» ¥+if+i - •
Now all the values of Zj - C.- > 0 but artificial variable did not vanish. Hence
the Solution is Infeasible :
(And the constraints are converted to equality, as same as in the above problem)
Phase - 1 :
'Entering variable
ITERATION TABLEAU i:
CB B.V
4 7./0jM ° ° ~M Min
Remarks
S.V Ratio
Z( A 15 5 -;-: 6
\
; • o - 1 i
, . • - • - - . • "6"
-5 ; -6 0 1 - 1
Leaving variable
zrc} -5 %<^t ° 1 °
Key column
Simplex Method 137
ITERATION TABLEAU I I : 'Entering variable
3 0 0 -Af Min
CB B.V Remarks
s2 Katio
x2 s\
1
A
o 0 row •#*&} ,•
Key element
i . •
6 1 0 -1 1 12
; 2 ~ 9^
1 Z
;
v
• • • • . ' : i " • • ' • • •
0
3
9
1 - 1
Leaving variable • • > - . 2 ' ;"
3
- • . - • • • • - • .
0. 1 0
: i
" • " • • / " - i •
Key column
ITERATiOftl TABLEAU !H:
C
J 4 3 0 0 -M
B.V Remarks
S.V Xj X9 Sj 5g A
0 x
\ 2 '. ! 5 » •
- 1 A 5 o -f -| - . pN . DO 1 piV
h • I I • "'
z c
r j • I I ' •
As all the values of Z- - C- > 0 , we stop here. But the artificial variable c^' has
not been replaced. Therefore phase -1 does not yield any solution.
Solution is Infeasible
Unbounded Solution :
When an LPP does not give finite solution values of variables, such solution is
unbounded. In such cases x- can take very high values without violating the constraints
and conditions. This is interpreted in final tableau of simplex as all ratios will be either
negative or infinity so that key row can not be generated and no variable does leave
the basis.
This is already shown under ordinary simplex model and now it is illustrated
with Big - M and 2 - phase methods.
138 Operations Research : Theory and Practice
ILLUSTRATION 13
Maximise Z=3xj+2x2
Subject to x2 -x2<l
Xj+x2>3
x19 x2>0
S>O\L\Y\OV\ I
Solution by Big - M
Conversion :
M a x . Z = 3 xj + 2 * 2 + 0.5-! - O.S2 - MA
S.t. x± - # 9 + 5 ^ = 1
xx +x? - 5 2 + A = 3
xx , x 2 > 0 , Sl>0> 52>0,v4>0
IBFS
xi =0, x 2 = 0, 5 2 = 0 (non basis)
Sx=l .4 = 3 (basis)
ITERATIQSy TABLEAU • 1 :
C
i 0 0 -M Mm
cB B.V Ratio Remarks
sy Si 52 A
HP mm ,:--^,:-4i?R'- •• :•:
^—
] ill l|iig| illiiiiiii
_i i
-M ( A 3 / -. ... . 1 0 12
Z- •":;/" - U : i:
j^ J - ••". -\ - M 0 M -M
Leavin g variable
ZrCj %;3iy - M - 2;
0 M 0
: • • "
Key column
3 0 -M Min
B.V Remarks
Ratio
s.v 5, A
1 1 0 < •
•2"- ; 0 COluiHll
M Af -M
Z
J-CJ M M
Leaving variable
Key column
Simplex Method 139
ITERATION TABLEAU - HI:
C
J 3 2 0 0 Min.
c. BV
SV v Y c c Ratio
Remarks
x X
l 2 °l °2
x 2 • o I -i
CO
x2 1 o , -1 -i - ve nN pO
CM
2 c) 2
2
Z
J
« 1-I
As Z- - Cj is still negative for at least one of the variables, but the min. ratio is
not possible (- ve for both Xy, x2 variables), we can not proceed further and has no
finite solution.
Solution is Unbounded
Note : Students may try the same problem with two pliase method and check.
ILLUSTBATIG&114 —
Max. Z=4xj+3x2
S.£ Xj-2x2> -10
x2-x2> -12
xpx2> 0
conversion :
Objective Function of Phase -1 : Objective Function of Phase - II :
Max. Z = -Ai -A% Max. 2 = 4xy + 3 x 2
Phase -1 :
ITERATION TABLEAU - 1 :
4 3 0 0 -1 - 1
BV Remarks
*i x2. A2
-1 - 10 1 -2 —1 0 1 0 — ve
-1 ^2 -12 1 -1 0 -1 0 1 -ve
h -•2 3 1 1 1 1
zrq -2 3 1 1 0 0
140 Operations Research : Theory and Practice
S.t. - 1 2
- X j +X2< 12
We can do it with out any surplus and artificial variable but simply by
introducing slack variable. But there also we get same problem and the solution is not
finite (unbounded), (students are advised to verify).
As studied in the earlier topics, the same condition if seen in simplex tableau,
the solution is multiple optimal. (Refer Sec. 4.3.2)
We know that in an optimal solution, we have
1. Z - C = 0 for all basic variables.
2. Z• - C > 0 for non-basic variables
In addition to the above two points, a multiple optimal solution is found if,
3. Z - Cy = 0 for at least one of the non-basic variables
4. Zopt remains same for all solutions. Usually all the decision variables will not
enter the basis but Z - Cj>0 for all variables here.
ILLUSTRATION 15
Minimise Z=20x3 + 40 x2
Subject to Xj+2x2>3
x2+x2<4
0<*i<-2
0<x2<l_
2
Simplex Method 141
Solution :
Conversion into equalities by introducing slack, surplus and artificial variables
and rewriting the objective function :
Objective function Max. Z = - 20 xx - 40 x2 - 0.5x + 0,S2 + O.S3 + 0S4:-MAl
xi + 2 x^- Sj +Ay = 3
+ X
x
\ 2 + ^2 =
^
* ! + S3 = -
3
x2 + S 4 = -
ITERATION TABLEAU I ;
C BV
sv
Y3v; : • • • - . • • " .
- 20
• " • • • • • ; -
V
. . • " • •
If 2
^
. ' i .
0
s2
0 0
0:
-M Min.
Ratio
9
Remarks
- — - K e y row
Key element
4
0 4 1 .1v 0 1 0 0 0
1
.••-.'•• • '•'•''
Tie
0 5 1 ;;; 0 0 1 0 0
2 neglect
3
0 0 •:/• -.: 1 : 0 0 0 1 0 Key row
• • 1
2
Leaving variable
- M :;;•! :-;:: M 0 0 0 -M
z c
r j - M + 20 - m M 0 0 0 0
Key column
There is a tie for key row in this problem, which is called 'DEGENERACY' in
simplex tableau. In such cases, we choose arbitrarily. However, while deciding the
leaving variable we give preference to artificial variable when tie exists between
artificial, slack and decision variable. [We prefer slack if Tie exists between a slack and
decision and we choose arbitrarily if there is tie between two artificial or two stacks or
two decision variable]. (This is explained in next section clearly).
142 Operations Research : Theory and Practice
ITERATION TABLEAU 2 :
-Entering variable
0 Min.
BV Ratio Remarks
sv s2
-40 I o
0 o
2
ills i^iS0S0MM^^^WM
0
1
r -40 +20
Leaving variable 0 20
From the above table as Z - Cj>0 for all the variables, the optimality is reached.
Thus the solution values are
and Zmax = - 2 0 x 0 - 4 0 x ~
= -60
or =
6® units
Check for Multiple Optimal Solution :
Zmax = - 20 x I - 40 x I = - 50 - 10 = - 60
Z 60
min =
Beale has first detected this type of problem and is explained in illustration 16.
Case (it) : Tie for Leaving Variable From the Basis :
Another interesting case of degeneracy is found with same minimum ratio for
two or more basic variables leaving the basis. This automatically raises the confusion
in selection of key row. In such cases selection may be arbitrary.
This degeneracy can also be resolved by the same method as given for cycling
problem. However, more simplified method to avoid more calculations and minimise
the number of iterations to arrive the optimal solutions are given below. [One example
can be observed in illustration - 15]
Resolution of Degeneracy : (for Cycling Problem)
The degeneracy, when occurs particularly due to cycling, it is resolved by the
following rules.
Rule 1: Divide the coefficients of slack variables (in the simplex tableau where
degeneracy is detected) by corresponding positive numbers of the key column
in the row, starting from left to right.
Rule 2 : The row which contains smallest ratio comparing from left to right column thus
becomes the key row.
Resolution of Degeneracy : (In Case of Tie)
In general the selection of key row is made arbitrary if minimum ratio is same.
(But this selection may increase number of iterations. Therefore use the following
rules).
This are shown as tabular form given below.
S.No. Tie for Leaving Variables Preference to Select as Key Row with
1. Between artificial & slack variable Artificial variable
2. Between artificial & decision variable Artificial variable
3. Between slack 8c decision variable Slack variable
4. Between surplus & decision variable Surplus variable
5. Between surplus & slack variable Surplus variable
6. Between artificial & artificial variable Arbitrary variable
7. Between slack & slack variable Arbitrary variable
8. Between decision & decision variables Arbitrary variable
x X
\t 2 — "» ^1» ^2 — 0
IBFS: 5j = 8, 5 2 = 4 (basic)
* l = 0, x 2 = 0 (non-basic)
ITERATION TABLEAU - 1 :
ncoming variable
C
18!!ilS Min..
J
Ratio
5F Remarks
sv KCV\
IJiSlilSl liiiiii^
liili
ljgf§§i
lSIIi
Z;
SMI
2
Tie in out going ,-C; "3
Key column
REARRANGE TABLEAU - 1 :
-Entering variable
0 0 3 W^^kp Remarks
Ratio
C BV
sv
m
0 8 1 o i cSW9fi^
f
1
Leaving variable 7 ~ ^y
A r
0
o
0
o
0
-3
^:&$i'^
mMf;
Key column
C
J 0 0 3 9 Min..
C BV
Ratio
Remarks
SV
0 0 1 -2 -1 0
9 2
2
o f f ,
7 C
» I 4 •
From the above tableau - 2 ,
Since Z - C > 0 for all the variables, we have the optimal solution as follows.
xx - 0, x^ = 2
Simplex Method 147
I L L U S T R A T I O N 17
Afirmmanufacturers two products in three departments. Product fA' contributes
Rs. 5per unit and requires 5 hrs. in dept. M, 5 hrs. in dept. Nand one hour in dept.
R product fB' contributes Rs. 10per unit requires 8 hrs. in dept. M, 3 hrs in dept. N
and 8 hrs in dept. R Capacities for departments M9N,P are 48 hours per week.
Find out optimalproduct mix using Simplex model. Give dual formulation also.
[JNTU-CSE-98]
Solution :
(Refer illustration 3 of chapter 2 for formulation)
S u m m a r y of Formulation :
Max. Z=5XX + 10 X 2
Subject to 5 Xx + 8 X 2 < 48
5 Xj + 3 X2 < 48
Xx + 8 X 2 < 4 8
Xx , X 2 > 0
Conversions to Equations by Adding Slack Variables :
5XX + 3 X2 + S2 = 48
X1 + 8X 2 + S 3 - 4 8
1' 2 *
c c3 > 0
J , kJ2 , p
Initial Solution i
5 0 0 Min..
Ratio
Remarks
S.V xx s2 $s
111
; ;
. - • • : • / • . - . • • • • • • ; - • : ; :
WImmm
0 s2 48 5 Ill 0 l 0
48
3 Tie
48
0 48 i 0 0 1
8
h 0 0 0 0
Leaving variable
(Selected arbitrarily)
zrc} -5 •••••"^/iO'••"••'.•
• ' • • - . A - . - • • .
0 0 0
Key column
148 Operations Research : Theory and Practice
[The above table has same min. ratio for two rows i.e., degeneracy. As both
variables are slack, we can select arbitrarily or otherwise use degeneracy principle as
. f 8 3 8 , 8, _ f
min. ratio of—, —, — i.e., --, hence choose first row].
M M H ITERATION TABLEAU -1! •:
C
J
5 10 0 0 0 Min..
BV Ratio
Remarks
s.v xx xt Sx S2 S3
10 x2 6
i > i » •
0 s2 30
f » -i • » R$^R%-3R¥
0 0 -1 0 -1 0 1 RX^RO-gRX
h f ,0 f 0 0
f • f » •
As all the values of Z - C- are positive the optimal solution is obtained as
Xx = 0 , X2• = 6; S{ = 0 , S2 - 30 , 5 3 = 0 and
8 ^ + 3 ^ 2 + 8 ^ 3 > 10
.e. • If tie is between decision and surplus / slack variable prefer decision variable.
• There will be no chance of getting a tie with artificial variable since they will be
selected in basis of initial tableau and when they leave basis, these will vanish
from the tableau.
?.g. : Refer to Game theory - Linear Programming method of Solving Rectangular games.
Since the use of simplex method necessarily requires the conditions of variables
to be non-negative at each iteration, we convert the unrestricted variable into a
restricted non-negative variable by splitting into two parts one as positive part and
the second as negative part. The positive part is any way non-negative while -
negativeof negative part may be taken as again positive i.e., non-negative condition.
Summarily, the unrestricted variable is written as difference of two non-negative
variables.
If %j is unrestricted, let x^-x^ -x^f where xy and Xj" > 0,
Since the simplex method demands the constraints to be in equality form for
the computation, use the following rules to make the inequality constraints into
equality type.
1. When the constraint is 'less than or equal to' (<) type, add 'SLACK' variable.
the decision variables of the constraint assume 'zero* values or non-basic (If at
least one of the variables of exact constraint is chosen in basis with coefficient
as unity i.e., unit vector we need not, add an artificial variable. But it is always,^
safe to add artificial variable for equality constraint).
Summarising we get
Constraint Type Variables Used
< Add slack (+ S)
> Subtract surplus and add artificial (- S +A)
Add artificial (+ A)
The points dealt in the above two topics are illustrated with a numerical
example given below.
ILLUSTRATION 18
Minimise Z=2xj+x2
S.t 3x2+x2=3
4x2+3x2>6
Xj+2x2<4
x2>0, x2 unrestricted.
Solution :
The above problem is converted into equalities by adding artificial, surplus and
slack variables. Also, as x2 is unrestricted, it is re-written as difference of two variables
x 2 ' anck 2 " such that x2 = x2 - x2r where x2 > 0 and x2' > 0
3 x± + x% - x 2 " + Ai = 3
Al = 3, A2 = 6, S3 = 4 (Basic)
151
mr
Simplex Method
nina variable
ITERATION TABLEAU -1 :
C
J -1 +1 0 0 -M Min.
cB BV
Ratio Remarks
SV x{ x2" 52 A2
HI
:
3ss>Sft'Kt; r:
-ir:::-.'-::^- r: •'•:•
::
yv^';- &i\
f
fe;tt- • '.z J - ;• • ;'••• •' '• ':-\ '<• :"f itSS.M:-.
%;
•y. >; \tf •:•-:.:•>;:- /'•Wgte&i'iii
6
-Af A2 6 3 -3 - 1 0 0 1
4
4
0 4 2 -2 0 1 0 0
^liiii 1
Out go: ng variable -4M 4M M 0 -M -M i4j is deleted for next
z 4M+ 1 4M- 1 M iteration
r°j
—Incoming variable
Key column
ITERATION TABLEAU - 2 :
ITERATlOm TABLEAU - 3 :
C
J -2 -1 1 0 0 Min.
BV Remarks
SV Xi Xo Xcf Jo Oo Ratio
3 pN . p0 1 piV
-2 x
\ 1 0 0 ^ 0
5 5
6
- 1 0 1 -1 - | 0
5
0 1 r?N . pO 5 pN
0 0 0 1 1 ^ 3 ~ ^ ^ 3 " 3"A2
Z
J
- 2 - 1 1 -j: 0 Zj - Cj > 0 for all variables
5
-••Zmax = - 1 2 / 5
0 0 0 - 0
Z
J~CJ 5 2min-12/5
152 Operations Research : Theory and Practice
Since Z, - C- > for all variables in the above (final) simplex tableau, the optimal
solution is obtained as follows.
Max z
- =- 2 (f)-f=-f orMin - z =f
Note : In the above result it can be further understood that x% always takes a positive value though it is
unrestricted since #2" takes zero value.
Solution :
The above information can be formulated in two ways (say Primal and Dual).
Case (i) : To maximise the profits on the chairs subject to the availability constraints of
the raw material and labour provided the decision is to be taken on the number
of chairs of each type to be produced (decision variables). Obviously the
variables can not assume negative values (production units can not be negative)
and hence we use non-negative condition to the decision variable. Let us say
this problem as 'primal'
Case (ii) : To minimise the utility units or cost (that automatically raises profits)* without
compromising with the minimum profit. Thus the decision variables in this case
will be number of units of raw material to be used and number of hrs. of labour
to the used so that at least the desired profit is obtained. Here also the variable
are non-negative. [Variables need not be non-negative always in all cases. This
depends on the constraints of its primal problem and vice-versa]. This problem
is called 'dual' to the above primal [we can take either way i.e., if case (ii) is
considered as primal then case (i) becomes its dual].
Minimising cost is the other way of maximising, the profits. For example : A
product can be produced in 8 hours that gives a profit ofRs. 100. Now, if you can
make two jobs in 8 hrs. we get Rs. 200 profit and on the other hand if a job can be
completed in 4 hrs. (which gives profit of Rs. 100), it leaves use productive 4 hrs*
worth of producing another Rs. 100.
Simplex Method 153
No. of units of Mayurasan to be produced = Cost of each unit of raw material to manufacture = w\
No. of units of Sinhasan to be produced = x% Cost of each unit of hrs. of labour to be utilized = w^
m
Sinhasan)
xi and X2 (the no. of units to be produced) w\,xi>2 (costs of production) are not negative
can not be negative. in this case
.\ x] > 0, x2 > 0 .'. wi>-0, w%> 0
154 Operations Research : Theory and Practice
Summary :
Primal Dual
Rewriting primal problem in stc I. form Rewriting the dual problem in std. form
Max. Zx - 40xj + 50x9 + OSi Max. Z = - S0w\ - 45w2 -MA\ - MA% - OSi - OS2
S.t. •f 3X2 + S i - 3 U 2 5W2 - il+iil 4U
8xi -I- 4x2 + S2 = 45 B.V. :
l
3w\ + S2 +/12 NBV-X1/X2
xi, x% Si, S2 > 0 W\, Wi §2,A\,i 42 > 0 Si and S2
40 50 0 0 Min. - 3 0 -- 4 5 0 0 -M -M Min.
cB B.V SV C
J
Xi Xo Ratio cB
B.V CJ Ratio
Si SV
0 30 2 3 1 0
30
-M
® 40 2 8 - 1 0 1 0
40
45 50
0 s2 45 8 4 0 1 -M 50 3 4 0 - 1 0 1
4 4
z
r C
i - 40 - 50
T
0 0 M/R +
!2M M M 0 0 M/R
T
50 10 | 1
1
3
0
30
2
-45 5 f 1 -— 0 X 0
40
2
0 s2 5
16
0
4
1 -M A 30 2 0 +~ -1 X 1
30
3 3
20 150 45
z 50 z
r 3 0
3
0 M/R r •c, 8
-2M
0 8 M X 0 M/R
T T
Simplex Method 155
Inversed
50 0 1 -45 0 1 lfi g- X X
2 ~8
40 -30 1 0 X X
4 ~2
0 0
'-> I
2025 Z
J~Ci ° ° ejwx x
Since ail values of Zj - Cj are positive, Sinre, all 7,j~ Cj values are positive, optimal solution for
optimal solution of primal is obtained as dual is rear bed and the solution is w\ = 15, wv = 5/4; and
x] = 15/16^ X2 = 75/8 and shadow prices are shadow prices are 15/16, 75/8
15 and 5/4 Z max = -30 x 15 - 45 x 5/4 = - j 822 %
2025 18225
Z max = 40 x 15/16 + 50 x 75/8 = — ~
Remarks : From above comparison, we can conclude that the solution to a primal problem of linear
programming can always, provide a solution to its dual, check the relationship described
by arrows carefully to understand to comparison.
Step 2 : (a) If all constraints have "less than or equal to" (<) sign, go to step - 3
(b) If a constraint has "greater than or equal to" (>) sign, convert it to "less
than or equal to "
(c) If a constraint has an "equality" sign (=), split this into two constraints in
two opposite inequalities.
Ex: 2xY + 3 x2 = 5 is split into 2 xj + 3 x2 < 5 and 2 xj + 3 x2 > 5
Then these are re-written using step - 2 (b)
2*2 + 3x2 ^ 5
and - 2 x ! - 3 x 2 < - 5
Ste/? 3 : (a) If all the variables are non-negative i.e., xy > 0, then proceed to step 4
Step 4 : Now we have standard problem in primal. To write its dual we use the following
principles.
(a) Take a different set of decision variables. The number of variables in dual
will be equal to the number of equations in primal (and vice versa).
(b) We have to minimise the objective function in dual (primal in
maximisation from)
(c) The objective function is written with the constants of inequality
constraints as coefficients of decision variables.
(d) Consider a matrix of coefficients of constraint inequations of primal.
Transpose the rows and columns of coefficients matrix of primal to write
constraint inequations of dual.
(e) Write > sign inequality for dual constraints.
(f) Constants of inequality of dual are drawn from coefficients of variables in
objective function of primal.
Step 5 : Conditions of variables are unaltered i.e.,non negative
Step 6 : Rearrange the dual formulation if required. For example if a constraint has
negative sign on its right side (i.e., for constant), multiply entire inequality with
(-1) and convert the constraint into '<' type. Similarly, re-arrange the
conditions of variables if required.
Simplex Method 157
Primal Dual
Variables
Say, Xj, x 2 , x 3 (3 variables) t^j, tt»2 (2 variables)
J
Objective function :
' Constraints
] i n
Wi
0,-y Cic) Q>£
x9 '< h
2
~ ]i
t
*3 r. H h
1 Transposed
(2 constraints) (3 constraints)
Conditions
•x x x > 0 wvu>2>0
ILLUSTRATION 21
Write the dual of the following primal LPP.
Maximise Zp = 50xj + 60x2
Subject to 2x1 +x2 < 300
3xt+4x2<509
4x2 + 7x2<812
xpx2>0
SoLvHcm :
Step 1 . Objective function is max. form therefore proceed to step - 2
All constraints are < type so, proceed to step - 3,
Step 3 . Condition of variables are all non-negative, hence go to step 4
4: (a) Number of variables should be 'three' since there are three constraints in
primal (say w^, tt/2, tu§)
(b) Objective function is to be minimised (since it is in max. form in primal)
(c) Coeff. of variables in dual objective function are taken from constant of
primal constraints viz. 300, 509 and 812
/. objective function is Min. ZD = 300 w± + 509 w^ + 812 w$
(d) Coefficients of constraints set in primal are transposed in dual constraint
set.
3
Thus transpose of is
4
158 Operations Research : Theory and Practice
(e) Constraints in dual take *>' form since primal has all '<' constraints
4^ 1 + 7x 2 <812 w
x1;x2>0
TRATIflW ?7
I n n 1 1 U IV £. £. ~———————————————————————————
Solution :
Step 1 : Convert Minimising objective function to maximasation form
i.e., Max Z* = - 2x^ — 9x2 - x%
Step 2 : Convert '>' inequality to < type
- Xy - 4x2 - 2 X3 < - 5 •
~3xl-x2-2x3<-4
Step 3 : All variables are non-negative
xl9X2,x$> 0
Step 4 : For dual,
(a) Variables must be two only (since primal has two constraints) say W\,
(b) Objective function is to minimise
(c) Coefficients are constants of constraints in primal
Simplex Method 159
i.e., - 5 and-4
objective function is Min. ZD - - 5 w x - 4 w2
or Max. Zp =bwy+ Aw^
(d) Coefficients of primal constrains are transposed.
•-1 -3"
. [-1 -4 -2l. ,
i.e., „ is transposed as -4 -1
\-5 -1 -^J
-2 -2
(e) All take > form
(f) Constraints are taken from coefficient of variables in objective function
i.e., - 2 , - 9 and - 1
-2 or
— 4 XVy —7^2 - ~ 9 4wx
Summary :
ILLUSTRATIOW 23 — — —
Write the dual ofthefollowing primal
Min. Z=4xj+3x2
S.t. 3X2+X2=3
3x2+4x2>6
Xj+x2<4
x2+x2>0 [JNTU-CSE-1997]
Solution :
Step 1: Converting objective function min. to max. form
Max. Zp = - 4 x1 - 3 x2
160 Operations Research : Theory and Practice
Step 2 : Written all constraints in '<' form - 3JC1 - x2 < - 3 ; 3x^ + x2 < 3
- 3 xx - 4 x2 < - 6 ; xj + x2 < 4
Step 3 : Condition of all variables are in non-negative form, henc*e proceed
Step 4 : Now, for dual we have,
(a) 4 variables say wyt w{',w2 and w% (since there are 4 constraint in primal
ref, step 2)
(b) Objective function is to minimise, since primal is to maximse (ref. step -1)
(c) Coefficient of obj. function of dual are - 3, + 3, - 6 and 4 (the constants
in constraints of primal)
.-. Objective function is
Min. ZD = - 3 wi + 3 w\" ~ 6 w2 + 4 w%
Min. ZD = - 3 {wi - Wi") - 6 w2 + 4 w§
or Max. ZD = + 3 (w^ - w^') + 6 w2 - 4 w%
(d). Constraint set transposing
•- 3 ~ r
+3 + 1 f - 3 + 3 - 3 1
tO
-3 - 4 [-1- + 1 - 4 1
1 1
(e) Constants are - 4 and - 3 (Since these are coefficients in primal objective
function)
Summary :
Standard form of Dual
Kll§lliI Primal (mcj , x2) &{', wv w3)
Remarks: 1. In the above final dual the objective function can also be Min.
Z-Q — 2>w j - 6 W2 + 4 Wo, or Max. Z^ - - 'Sw^ + 6^2 — 4 w$ since Wy is unrestricted.
2. For a constraint of equality form in primal, we get correspojiding variable unrestricted
in dual.
3. For an unrestricted variable in privial, we get corresponding constraint as equality in its
dual.
ILLUSTRATION 24
- w 2 / + w2" >2
Wy -
w
\
Re-arranging with assumptions as it^ = a^7 - o^77 and w2 = ^2' ~ ^2" DY which
and ^2 wiM become unrestricted we get the dual revised as,
Min. ZD = wj + 3 This can be further reduced to
S.t. 2ty 1 + Min. -Zj) = wi.+ 3t^2
St. 2wl+w2 >3
- tfj + t^2 -
>2 - WY + a^2 ^ 1
Equalii
Equality type (=) constraint Corresponding variable unrestricted
>
5. When a problem does not yield any solution in primal, it can be verified with
dual.
6. Economic interpretations can be made and shadow prices can be determined
enabling the managers to take further decisions.
1. For Primal : A unit increase of resource covered by first constraint raises the
profit of x{ by 15 units and a unit increase in resource covered by second
constraint raises profit of x2 by 5/4 units. Thus shadow prices of xj and x2 are
15 and 5/4 units separately.
2. For Dual : A unit slash in requirement of-first, .constraint reduces the cost of
Wy by 5/16 units while a unit slash on second constraint requirements reduces
cost of w2 by 75/8 units. Thus shadow prices of w.y and w2 are 15/16 and 75/8
respectively.
Practice Problems
Solve the following LP problems by two-phase method.
1- Max. Z = 3 %Y ~x2
6. Max. Z = 3 xx + 2 x 2 + x 3 + 4 x 4
; Infeasible solution
7. Minimise Z = x 1 - 2 # 2 ~
Subject to - 2 xj + x 2 3 x3 = 2 ;
Xj>Of j = l , 2 , 3,
Answer : Here all Z- - C > 0, .but artificial variable A j does not vanish from
the basis. Hence the given LPP has infeasible solution.
8. Solve the following problems by simplex method adding artificial variables.
Max. Z = 2 xi + 5 x2 + 7 x3
Subject to 3xj + 2x 9 + 4x 3 < 100; xx+4x9 + 2x^ < 100
50 50
Answer ; x\ = 0 ; x 2 = — > S X =
~T~» M a x ^ =
9. Max. Z ~ 4 x 2 + x 2 + 4 x 3 + 5 x 4
2 3
t—(
2 0
CO
P3
Profit hundreds 1 4 5
(Rs. in thousands)
166 Operations Research : Theory and Practice
The company makes a profit of one, four 8c five hundreds on each unit of the
products (pens) respectively. How many pens of each type should the company
produce to maximize the profits?
Subject to 3 * ! +x 3 < 22
Xj + 2 ^2 + ^ X3 ^ 1 4
3*.!+ 2*2 < 14
1.1. A manufacturer of steel furniture makes three produces chairs, filing cabinets
and tables. Three machines (Say P, Q and R) are available on which these
products are processed. The manufacturer has 100 hours per week available
on each of three machines. The time required by each of three products on
three machines is summarised in the following table.
Filing cabinet 1 2
CM
Table 1 2
1
The profit analysis shows that the net profit on each chair, filing cabinet and
table is Rs. 22, Rs. 30, and Rs. 25 respectively. What should be the weekly
production of these products so that the manufacturer's total profit per week
is maximised.
Hint: Formulation is
Max. Z = 8 xx + 15 x2 + 25 x3 - x4
Subject to x1. + 2-*2-+3*3 ^ 1 5 ; 2 xx +x 2 + 5x 3 < 20
v
Jlj
-L_ f j v
T A AO
_L *V
T Aft
_L *v*
i J^A
<^* 1 ( l
— ±\J
•
y
f\fl
Aj
*\A
j ^Qy
v
^l. >0
14. A manufacturer has two products P 8c Q both of them are produced in two steps
by machines Mj 8c M2. The process times per hundred for the products on the
machines are :
Contribution
(per hundred)
p 4 5 10
0. 5 2 5
Available (hrs) 100 80
2000
Answer: Xj = 1177; « 2 = - 1059.
17
168 Operations Research : Theory and Practice
15. A manufacturer of leather belts makes three types of belts A, B and C which are
processed on three machines My, M2 8c M$. Belty4 requires 2 hours on M t 3
hours on M 3 . Belt B requires 3 hours on My , 2 hours on machine M2 and 2
hours on machine M 3 . Belt C requires 5 hours on M2 and 4 hours on Ms. There
are 8 hours of time per day available on machine My , 10 hours per day available
on machine M 2 and 15 hours of time per day on M 3 . The profit gained from
Belt A is Rs. 3 per unit, from belt B is Rs. 5 per unit, from belt C is Rs. 4 per
unit, what should be the daily production of each type of belts so that the profit
is maximum.
16. An animal feed company must produce 200 kgs of a mixture consisting of
ingredient Xy 8c X2 daily. Xy cost Rs. 3 per kg and X2 costs Rs. 8 per kg. No
more than 80 kgs of Xj can be used and at least 60 kgs of X2 must be used. Find
how much of the each ingredient should be used if the company wants to
minimize cost? [0U - MBA - Apr. 98]
Hint: Formulation is Min. 3 xj + 8 x2
Subject to xy + x2 = 200; xx <80
x2> 60 ; j , X2 > 0
17. A television company has three major departments for manufacturing of its
models supreme and delux. Monthly capacities are given as follows
Per Unit Time Requirements (Hrs) Hours Available
Department
Model Supreme Model Delux Per Month
I 4.0 2.0 1,600
II 2.5 1.0 1,200
III 4.5 1.5 1,600
The marginal profit of model supreme is Rs. 400 each and that of model delux
is Rs. 100 each. Assuming that the company can sell any quantity of either
products due to fovourable market conditions; Determine the optimum output
for both the models, the highest possible profit for this month and slack time
in the three departments.
Hint: Formulation is : Max. Z = 400 xy + 100 x2 ,
5
Subject to 4 xx + 2 x2 < 1600 ; -xl+x2 < 1200
9 3
•^xy + — x2 < 1600 ; yyx2 >0
3200
n n ™ 1280000
7
Answer : Xy = —-— ; x2 = 0 ; x% = 0 ; Max. Z =
Simplex Method 169
18. A teacher gives his students three long lists of problems with the instructions
to submit not more than 100 of them correctly solve, for credit. The problem
in the first list are of 5 points each, in second 4 points each and in third 6 points
each. On an average 3 minutes are required to solve a problems from first list,
2 min. for a problem from second & 4 min. for a problem from tfiird. The
students devote more than 2V2 hours of numerical hours. How many problems
from each list, a student should solve so as to get the maximum credit.
xj , x2 , x3 > 0
19. A furniture company manufactures four models of desks. Each desk is first
constructed in the carpentry shop and is next sent to the finishing shop where
it is varnished, waxed & polished. The number of man hours of labour required
in each shop is as follows :
Desk
Shop
I II III IV
Carpentry 4 9 7 10
Finishing 1 1 3 40
Profit per item (Rs.) 12 20 18 40
Because of limitation in capacity of the plant, not more than 6,000 man hours
can be expected in the carpentry shop and 4,000 in the finishing shop in.a
month. Assuming that raw materials are available in adequate supply and all
desks produced can be sold, determine the quantities of each type of desk to
be made for maximum profit of the company.
400 20
A ° n rt ° A ™ 7 » 56QQQ
Answer : x j = —-—, x% = 0, * 3 = 0, x 4 = —— and Max. Z = Rs — - —
O O U
170 Operations Research : Theory and Practice
Additional Problems
1. The post master of a local post office wishes to hire extra helpers during the
Deepawali seasons, because of a large increase in the volume of mail handling
8c delivery. Because of the limited office space and budgetary condition, the
number of temporary helpers must not exceed 10. According to the past
experience, men can handle 300 letters and 80 packages per day, on the
average and women can handle 400 letters and 50 packages per day. The post
master believes that the daily volume of extra mail and packages will be no less
than 3,400 and 680 respectively. A man receives Rs. 25 a day and a woman
receives Rs. 22 a day. How many men and women helpers should be hired to
keep the pay-roll at a minimum?
Answer: Min Z = 2 5 ^ + 22x2
S.t. xx + x2 < 10 ; 300*! + 400x2 > 3400;
80xj + 50x2 > 680 and x h x2>0
2. Two products X and Y are processed on three machines My, M2 and M 3 . The
processing times per units, machine availability and profit per unit are as under.
Processing Time (Hrs)
Machine Availability (Hrs)
X Y
M{ 2 3 1500
M2 3 2 1500
M3 1 1 1000
Profit/unit 10 12
Formulate the mathematical model, solve it by simplex method 8c also find the
number of hours machine M 3 remains unutilized.
Simplex Method 171
The no. of machine hours required for the unit of the respective product is
given below.
The unit profit would be Rs. 20, Rs. 6 and Rs. 8 respectively for products
X, Y and Z. Find how much of the each product the firm should produce in
order to maximise profit?
2 * i + x 3 <50;
(c) If the cost per hour in department I is Rs. 25, in dept II, Rs. 40, & in dept
III> Rs. 50; what quantities should be planned to minimize to cost of
production?
320
Answer ; (a) —^— units of A & no units of B ; max. profit = Rs. 640
3
x,y>0
Solve graphically
If solved by simplex method, is the solution unique ? Why/why not? if not, give
two basic optimal solutions. Also find all the non-basic optimal solutions to the
problem.
6. Minimise 2 0 0 ^ + 350*c2
S.t. ••50*i+ 60*2 ^2500
100^ + 60x2 > 3000
100*!+ 200*2 >7000
*!, x2 > 0 [ou - MBA - May 91, Nov. 94, Oct. 95]
7. Mm. Z = 2xx +x2-x>i'~x4
S.t. X!-x 2 + 2
2*1 +%9~
- %Xa + YA = 6
*1 + X2 + x 3 + x 4 7
and > 0 [OU - MBA - May. 92]
9. Max. z =5*1 + 2* 2 + 10 x 3
S.t. < 10
X
2 ~ XS > 10
+ x 2 +x 3 < 10
*1,.*2,*3 > 0 [0U - MBA May 95]
Simplex Method 173
10. Min.
S.t. 36^! + 6x2 > 108
3xi + 12x2 > 36
20xj + 10x2 > 100
12. Max. Z= 10 xj +
s.t.
3x 2 < 80
,xs >0 [0U - MBA - May 94]
4. Min. Z = 1 0 x 1
5. Max. Z = x-)? + 3z
6. M a x . Z = 3 Xj + x 2 + 4 x 3 + 9 x 5 ,
S.t. 4 x j - 5 x 2 - 9 x 3 + x 4 - 2x 5 < 6 ;
2 xx + 3 x 2 + 4 x 3 - 5 x 4 + x5 < 9 ;
x1,x2,x3?x4,x5 >0
Answer : M i n . Zw = 6 w^ + 9 w^ + 10 tf3
7. Max. Z =
; Min. Z w = 21 wx + 48 t^2
8. Min. Z ^ = X 3 + X 4 + A;5
S.t. xi - x 3 +X4 + X5 = - 2 ;
^>0(;=l,2, ...5)
Answer: Max. Z^ = + 2 -tf 1 + u»2
S.t. t^j-^2-1' Zfj
- w j + ^2 ^ 1 ; w j ' , % are unrestricted
9. Max. Z = 3x + 2y .
Answer : x = — ;y = 5,z = 0, M a x . Z~ —
o o
11.
S.t. x+y + z < 7 ; x+ 2^ + 2z < 13 ;
Sx^y +z < 5 ; ' 3 c , ^ , z >0- .
.* Min.
2 3 1 6
n - 7
Wl = 0, w2 = y ; mm. Zw = y
14. Give dual formulation of
r^ j , ^ 2 , tt»3 > 0
; Min. Z = wi + 7to2 + 10 ^ 3 + 3 ^ 4
S.t. tf j + w2 + ^3 < 3; xuy + w2 + ?^3-+ t^4 > 2 and o^, w2, ^ 3 , -^4^0
: Dual wj = 0 ; w2 = 3, w3 = 0 , w4 = 0 Sc Min. Z = 21
x± = 4,x2 = 3, M a x . Z = 1 0
Simplex Method 177
17. A diet conscious house wife wishes to ensure certain minimum intake of vitamins
A,B 8cC for the family. The minimum daily (quantity) needs of the vitamins
A, B and C for the family are respectively 30, 20 & 16 units. For the supply of
these minimum vitamin requirements, the house - wife relies.on two fresh foods.
The first one provides 7, 5, 2 units of the three vitamins per gram respectively
& the second provides 2, 4, 8 units of the same three vitamins per gram of the
food stuff respectively. The first food stuff costs Rs: 3 per gram and the second
Rs. 2 per gram. The problem is how many grams of each food stuff should the
house wife buy every day to keep her food bill as low as possible.
(i) Formulate the LPP
(ii) Write the 'Dual' problem
(iii) Solve the primal problem graphically
(iv) Solve the dual problem using simplex method
(v) Interpret the dual problem and its solution.
Answer : (i) Min. Zx = 3#j + 2x2 ,
Subject to 7xx + 2x2 > 30 ; 5x} + _4x2 > 20 ;.2xl +'8x2 > 16 andx , x2 > 0
(ii) Max. Zw = 30 wx + 20 w2 + 16 ws
Subject to Iwy + 5w2 + 2w^ < 3; 2v)\ + 4u/2 + &ws ^ 2; w^ , w2 , u)% ^ 0
5 2
(iii) ^ = - , ^ = 0 ^ 3 = - , Zw = 14
18. Min. Z = - 2 x 1 + 3 2 3
Answer: x± = 0, x9 = 3; x 3 = 0 Min. Z = 9
19. Find the dual of Min. Zp = 4xx + 3 x9 + Sxs
S.t. xY + 2 x2 > 2 , 3 JCJ +x2 + x% > 4 , 4 ^ 3 > 1 , xl + xs > 1 , xx, x2,
20. Prove that the dual of the dual is the primal. Write down the dual of the
following 8c solve them.
Max. Z - 4 Xy + 2 %2
S.t. a?! + x2 > 3; xx - x2 > 2 , x} , ^ 2 > 0
Find dual and hence or otherwise solve the above problems. [0U - MBA Dec. 95]
Answer: x± = 4, x2 = 2, Z m a x = 1 8
178 Operations Research : Theory and Practice
22. Max. Z =
3
Subject to x± - x 2 < — ; ^i - x 2 > 2, >0
Show that both the primal 8c dual have no feasible solution
23. A dairy has two bottling plants located at^4, 8c B. Each plant bottles up three
different kinds of milk i.e., cow, buffallo and goat. The capacities of the two
plants in number of bottles per shift in a day are as follows.
Plant
Milk
A B
Cow 2,000 1,000
Buffallo 2,000 3,000
Goat 1,000 1,000
Market survey shows that the cow, buffallo and goat milk are required at least
14000, 22000 and 1000 bottles per day. The operating costs per shift of running
plants A and B are respectively Rs. 9000 and Rs. 6000 only. How many shifts
should the firm run each plant per day so that the production cost is minimum
meet to the market demand.
Write the dual of this & give an economic interpretation of the dual variables.
(ii) Max. Z = - 5y
S.t. x + y < 1 , - 5 x - 5 y < - L\J ; x 3 y > 0
Explain how (i) 8c (ii) are related?
Answer : One is dual of the other
Simplex Method 179
M i n . Z = \0a + 6b + 2c
Xj , x 2 > 0
30. A firm makes three products yl, B 8c C each product requires production time
in each of three departments as shown.
Time Taken (Hrs/Unit)
Products
Dept. I Dept. II Dept. Ill
A 3 2 1
B 4 1 3
C 2 2 3
180 Operations Research : Theory and Practice
Total time available is 60 hours, 40 hours, and 30 hours, in depts. I, II & III
respectively. If product A contributes Rs. 2 per unit & product B and C Rs. 4
and Rs. 250 respectively, determine the optimum product mix
Write the dual of this problem 8c give its economic interpretation.
31. Find the dual of the following if it exists or otherwise solve it.
Min. Z= 6x\ + 5x2 - 2x3
S.t. x 1 + 3x2 + 2x 3 >5 ; 2x1 + 2x2 + x 3 > 2 ;
4xj - 2x2 + 3x3 > - 1 ; and xl9 x2 , x3 > 0
33. Find the dual and solve the linear programming problem :
Min. Z=20xl + 14x2
S.t. xx+x2 < 18
5x! + 3x 2 > 10
4xj + 6x 2 = 10
and xj > 0, x2 unrestricted [ou - MBA Apr/May 94]
34. Find the dual and solve the following LPP.
Min. Z-4*j+x2
S.t. 3x r +2x 2 > 6
- 3x j - x2 ^ - 4
4xj + 5x2 = 10
xx unrestricted and x2 > a [Ou - MBA, May 92]
35. Find the dual and solve the following LPP.
Min. . Z = 10x1 + 8 2
S.t. x! + 2x 2 > 5
2xx-x2 > 12
xy + 3x 2 > 4
xx > 0 and x 2 unrestricted [O u - MBA Aug/Sep. 99]
36. Find the dual and solve the following
Min. Z = x i - 3 x 2 + 2x 3
S.t. xx + 3 x 2 - x 3 > 7
- 2 x 2 + 4x 3 > 12
- 4x{ + 3x2 + 8x3 < 10 [0U - MBA Dec 2000]
Simplex Method 181
39. Find the optimal solution to the following LPP by solving its dual.
Min. Z = 6x1+ 7x2
S.t. 3xj + 9x2 > 3 6
6xx + 2x2 > 24
.2*!+-2x 2 * 16
a
«d x j , x2 > 0 [OU - MBA Nov. 94]
43. Formulate dual of the following LPP and solve it using graph
Max. Z = 2000* + 3000?
S.t. 6x + 9y < 100
2x+y <20
x, y > 0 [0U - MBA Sep. 98, Apr. 99, Sep. 2001]
44. Solve the dual of the following LPP using simplex method verify by graph.
Max. Z - 8 T + 4 C
S.t. 4T+2C <30
2T + 4C <24
' T, C > 0 [0U - MBA July 2000]
xY,x2 >0
x3 8c x4 unrestricted [0U - MBA Nov. 94]
Review Questions
1. Give the algorithm of simplex method to solve an LPP. [ECE - 96/OT]
2. Discuss different types of solutions you get in LPP. How do you identify the
occurrence of such solutions in simplex and graphical methods [Mech. 95/C]
3. With a flow chart explain the method of solving LPP by simplex. [Mech. 96/P]
5. Give step by step procedure to solve LPP by BIG -M method. [EEE - 97/OT/S]
10. With reference to simplex, Big-M and two phase methods of solving LPP discuss
the following terms.
(a) Decision variable (b) Slack variable
(c) Surplus variable (d) Artificial variable
(e) Basic variable (f) Non-basic variable
(g) Entering variable (h) Leaving variable
184 Operations Research : Theory and Practice
12. Discuss the significance of artificial variables in simplex method of solving LPP.
[OU - MBA - S 99]
13. How do you identify the following solutions in simplex, penalty and 2-phase
methods.
(a) Infeasible solutions JJHJ - MBA - D 90, S, 98, M 92, M 95, J 2000]
(b) Unique solutions [M 95]
(c) Multiple optimal solutions [A 94, S 98, N 94,3 60, S 2001, F 93, M 95]
(d) Unbounded solutions [0U - MBA A 98, M 91]
14. What is meant by degeneracy in simplex? When does it occur? How do you
resolve it? [0U - MBA 90 D, M 92, A 94, F 93, S 2001]
16. In the case of tie in entering variable in simplex, how do you resolve? Justify
your answer with an example.
17. How do you convert the non-standard simplex into standard one in the
following cases? Give suitable examples to each case.
(a) Objective functions
(b) Constraint set
(c) Conditions of variables.
18. How do you deal with the following cases in simplex method of solving an LPP.
(a) Unrestricted variable (b) Exact constraints
[0U-MBA-95D, M91, S'01]
19. What is cycling in simplex? When do you get such problem? How do you
proceed in such case?
20. How do you set standard LPP in Big M and 2-phase in the following cases.
(a) Maximization case of three variables with one < , one = and > constraints
and all variables are non negative.
(b) Minimisation case of three variables in three constraints as one '<', one
' = ' and one '>' constraints and all variables are non negative.
Simplex Method 185
(c) Max. case of two variables in two constraints one * = ' and one *>' type
constraints with one of the variables unrestricted and the other
non-negative.
(d) Min. case of two variables in two constraints one ' = ' , one '>' type
constraints and with one of the variables unrestricted and the other
non-negative.
6. Compare primal and dual characteristics with reference the formulation and
solution method. [OU -MBA - M 91, M 92]
8. Write step by step method to convert a non - standard primal problem to its
dual.
9. Give the applications of dual problem in LPP.
11. How do you get the solution of a primal problem from final solution tableau
of dual?
12. Discuss the significance of primal-dual of LPP with reference to game theory.
13. If a primal has m constraints and n variables, how many constraints and variable
will its dual have ? [OU - MBA - A 98]
186 Operations Research : Theory and Practice
6. For a set of 'm' equations in 'n' variables (n>m), the number of solutions will
be
(a)m^ ^ncm
(c) nc (d) infinite
n - m
7. If primal problem has unrestricted variables then its dual will have
(a) > type constraints (b) < type constraints
(c)= type constraints (d) unrestricted variables
Simplex Method 187
8. If the solution for a primal problem is infeasible, its dual will have
solution
9. For 'm dissimilar equations with V variables (n>m), the number of basic
feasible solutions will be
(a)rac (b)nc
n tn
19. In an LPP: Max Z=5xY + 6x2, subject to 2xL + 3x2 > 50 , 4xY + 3x2 > 100, the
objective function of first phase is
(a) 5x| + 6x2 (b) + 5xl + 6x2 - MAX - MA2
(c) +A±+A2 (d) 0.X| + 0JC2 -A\ ~A2
22. If the coefficient of variables shown in the form of matrix in primal and dual,
then one is matrix to the other
(a) unit (b) inverse
(c) transpose (d) null
23. Coefficients of variables in objective function of a primal problem are
of dual problem
(a) coefficient of variables in objective function
(b) solution values of constraints
(c) conditions
(d) zero
Simplex Method 189
9. The number of basic feasible solutions for system of three equations with four
variables is
10. The set of values that satisfy the conditions and constraint is said be
Answers
Objective Type Questions :
1. (c) 2. (c) 3.(d) 4. (c) 5. (a)
6. (d) 7. (c) 8.(b) 9. (c) 10. (b)
11. (c) 12. (a) .13. (a) 14. (c) 15. (b)
16. (c) 17. (b) 18. (c) 19. (d) 20. (d)
21. (b) 22. (c) • 2 3 . (b) 24. (b) 25. (c)
26. (c) 27. (a) 28. (c) 29. (d) 30. (b)
Fill in the Blanks :
1. primal 2. solution values or constraints of
constraints
3. minimise 4. requirement or >
5. zero 6. shadow prices
7. infeasible 8. multiple or alternate optimal
9. four 10. feasible solution
192 Operations Research : Theory and Practice
CHAPTER AT A GLANCE
Start
Is it
balanced? Create dummy tow/column
(I supply with deficit supply or
I demand and zero transportation cost
Obtain JBFS
by NWOVAM/LCM
Compute
associated costs and
5.0 Introduction
Transportation problem is another case of application to linear programming
problems, where some physical distribution (transportation) of resources is to be made
From one place to another to meet certain set of requirements with in die given
availability. The places from where the resources are to be transferred are referred to
as sources or origins- These sources or origins will have ihe availability or capacity or
supply of resources. The other side of this transportation i.e. to where the resources
are transported are called sinks or destinations such as market centres, gojdowns etc.
These will have certain requirements or demand.
5.1 Formulation
Transportation problem is applied to the situations in which a single product
is transported from several origins (say Oj , Oo Om ) to several destinations (say
Dv D2, • • • 0^). Let us assume the cost of transporting a unit product from 0; toD: is
Cf: and the no. of units transported be.x^ Let die capacity of 0; be a; and requirement of
D: be b•-. Then, die transportation problem can be mathematically written as
m n
x
ijij=aij> * = . m (supply or availability constraints)
J
M
Destinations
\ To Supply
or
Fnom\.
available
r L^JJJ a
\
cJr*
Origins
r L^.
Demand
or
Requirement K
194 Operations Research : Theory and Practice
Remark :
Supply
5 6 7 SO
O2 3 7 4 60
S 5 4 40
Demand 30 55 65 150
150
Solution ;
In die above TP,
Let the no. of units transported from Ol toDl=xl[
the no. of units transported from O{ to D2 = xl2 and so on.
Summarily, the no* of units transported from 0; to /) - x-j
where i= l , 2 , 3 a n d ) = 1,2,3
The the total cost can be obtained by summation of the products of the number
of units to be transported from itft origin (row) to jf^ destination (column) with unit
cost given in the corresponding cell (Cy). This cost is to be minimised.
.\ Objective function is
+
Minimize Z=bxu + frr^ + ^x\$ + 3 .^j 7*22
Subject to the constraints
(i) Supply constraints
X
2[ $®
Transportation Problem 195
x
\2
= 65 > 0 where i= 1T 2 3 and/ = 1, 2, 3
Remark:
For the above TP, we have rxc = 3x?> — 9 variables and ?' + r = 3 + 3 = 6
equations. Thus it is difficult or time taking process to solve by simplex technique.
Further, it becomes too difficult if there are more number of row or/and columns. The
other easier techniques are available in TP which will be discussed at length in this
chapter.
0\9 &>
2 &$
5 Supply
3 0 -3
0? 63 07 - 93 30
Demand 15 45 40
196 Operations Research : Theory and Practice
Ex: Minimisation :
by method (i) Supply by method fii) Supply
0 7 4 50 -9 _2 -5 20
1 9 12 60 -8 0 +3 30
3 2 0 40 -6 -7 -9 50
Demand 15 45 40 Demand 15 45 40
19 12 L5 20 o, 19 12 15 20
0, 18 10 13 25 IS 10 13 25
16 17 19 50 1G 17 19 50
Dummy
Demand 15 45 40 v?5 (row) 0 0 0 5
Demand 45 40 v100
Unbalanced Balanced
Dummy
Z>, D2 Supply )3 (column) Supply
19 12 15 20 19 12 15 0 20
09 18 10 13 35 18 10 13 0 25
16 17 19 50 16 17 19 0 50
Demand 15 45 v10540 Demand 15 45 40 .105
100
Step 4: Obtain Initial Basic Feasible bolution (IBFS) :
After getting standard balanced TP, an initial basic feasible solution is obtained
by one of the following methods.
Transportation Problem 197
Step 5: Test the presence of degeneracy and obtain non-dengerate basic feasible solution :
Test the non degenerate basic feasible solution for optimality by one of the
following methods.
(i) Stepping stone method
The solution is improved by the given set of rules (discussed in the sections to
follow) till the optimal solution reached.
At every improvement, step 5 and step 6 are repeated
Slari
Obtain IBFSby
NWC/VAM/LCM
No
Cht:ck optima]ily condition by
stepping stone/VlODI method
No
FIGURE 5 . 1 :
Transportation Problem 199
*13
X
*21 2%
X
*31 ZZ
Demand
If flj <
Step 5 ; Repeat the above step - 4 till all the availability and requirement are exhausted.
Step 6 : Calculate the total costs by summing tip the products of unit cost in the cell with
number of units of all allocated cells. This is the total transportation cost given
by the initial basic feasible solution.
Note : The TP isto reverted to its original matrix before calculating the maximum profit, if it is is converted
to minimisation case earlier Le, in step - 2
Flow Chart :
The flow chart of North West Corner Method is given below.
Stan
I
l;ormulate the in tor mat ion into TR table form |
Yes
Stop
I FIGURE 5 . 2 :
Transportation Problem 201
Destination
Source Total
Di I>2 o4
1 2 1 4 30
o2 3 3 2 1 50
O3 4 2 5 9 20
Total 20 40 30 10 100
Step 1 : Formulation : The given problem is already formulated, hence proceed ro step 2.
Step 3 : Balancing: Since the row totals (100) equal to column totals (100), it is already
a balanced TP.
0,
1 2 1 4
30
50
3 3 2 1
20
4 2 5 9
Demand 40 30 10 00
10'
In the above TP table, ihe northwest corner cell is (C\ j) or {O\ , D±). In this celt,
we allocate as many units as possible. The availability at this source (Oj) is 30, but the
requirement for the destination (D^) is only 20. Therefore we can transfer only 20
units from Oj to Z)j (20 < 30), Therefore O± will have 10 more units to supply to any
destination other than Dj. And since the Z)j requirement is exhausted we delete this
column (i>!) for next iteration while we adjust the supply of 0] from 30 to 10.
202 Operations Research : Theory and Practice
Verdict of I - Tableau - 1 ;
Cell allocated (CY y) or (0x , D^)
ITERATION TABLEAU 3:
Allocated cell (C 22 ) is (O2 t D2)
D4 Supply No. of units allocated is 30
| 30
20 Deletion for next iteration is D<>
3 2 1 Readjustment for O<> is 50 to 20
20
Cost of transportation is 3 x 30 = 90
9 5 9
Demand 30 : 30 10
Supply
|JO_
20
5 9
Demand 10 10 ,20
Allocated cells (C 33 and C34) are (O3, Ds) and (O3 > Z>4)
No. of units allocated are 10 and 10 respectively.
Cost are 5 x 10 and 9 x 1G
i.e., 50 and 90 respectively.
All the units are exhausted
IBFS is obtained
Summary :
Supply
°\
| 20
1 2 1 4
30
| 30 | 20
0, 9 50
3 3 1
o.
LUL
4 2 5 9
50
Demand 20 40 30 10
°\ D2 2 10 20
0, 3 30 90
02 2 20 40
5 10 50
cM o. ^4 9 10 90
Grand Total Cost of Trail sport a (ion 310
ILLUSTRATION 3
A dealer stocks and sells four types of Bicycles namely Atlas, Bharath,
Champion, Duncan which he may procure from three different suppliers
namely Priyanshuf Qureshi and Raju. His anticipated sales for the bicycles for
the coming seasons are 410, 680, 310 and 550 nos. respectively. He can obtain
900 bicycles from Priyanshu, 600 from Qureshi and 560 from Raju at suitable
prices. The profit per bicycle in rupeesfor each supplier is tabulated below.
Step 1 : Formulation
""•^Type Alias Bharath Champion Duncan
Supplier""\ (A) (B) Availability
(C) (D)
Pi"iviuishu (P) 21.30 26 19.5 21 900
Qureshi (Q) 20,50 24 20 21 600
Raju (R) 18 19,5 19 19.5 560
"\2060
Requirement 410 6S0 310 550 1950"\
Step 2 : Standardisation : The above problem contains profit matrix and therefore it is
to be maximised. This is non-standard form. As standardT.P. is to be minimised
an equivalent cost matrix is to be obtained by any of the two methods (i)
Multiplying with (- 1) in all cells (ii) subtracting each cell value from highest
among the cell values. Here (i) Is used, In fact, there is no need for standardising
here, since NWCR is independent of cost or profit. However, for having a
common practice this is earned out.
"\Type Atlas Bharath Champion Duncan Dummy
Supplier"1-^. Availability
(A) (B) (C) (D) (E) '
Priyanshu (P) - 215 -26 -19.5 -21 0 900
Qureshi (Q) -20.5 -24 -20 -5] 0 600
Raju (R) - IS -19,5 - 19 -19.5 0 560
Requirement 410 680 310 550 no 2060
Transportation Problem 205
Step 2 : Balancing : The above problem is unbalanced since the requirement (1950) is
not equal to availability (2060). As the availability is excess, we create a Dummy
column (Say E) with no profit for any supplier and with a requirement of the
deficit i.e. 110,
ITERATION TABLEAU 2 :
A B C D E Avl. Verdict:
| 410 |490 Allocation lo (P, B)
P
-21.5 -26 - 19.5 -2! 0
(490^ No, of units 490
Deletion ; row P
Q -20,5 -24 -20 -21 0 600
Adjustment to £680 to 190
R - 18 - 19.5 - 19 - 19.5 0 560
Cost : - 2 6 x 4 9 0 = - 12740
ITERATION TABLEAU 3 :
A B C D E AvL Verdict :
[410 | 490 Allocation lo (Q B)
P - 19.5 ^2! 0 900
-2.1.5 -26 No, of units: 190
| 190 j
Deletion : col, B
Q -20.5 -24
-20 -21 0
410 Adjustment to g a s 600 to 410
R -is" -19.5 - 19 -19.5 0 560 C o s t : - 2 4 x 190 = - 4 5 6 0
Req. 410
J8S6 310 550 110
190 970
206 Operations Research : Theory and Practice
a C 20 310 6200
a D 21 100 2100
(ii) Subtract every cell profit from highest profit among all cells.
Step 3 : Balancing; The T.P is said to be balanced if total supply is equal to total demand,
otherwise, it ts balanced by creating a dummy row/column (whichever is
necessary) with unit costs as 'zeros* to each cell and with the deficit
availability/requirement (or supply/demand).
Step 4 : Calculation of Penalties : Calculate penalty for each row as well as each column
by taking difference between least and next least in the row/column. If in a
row/coJumn, there are two least costs (equal and minimum), then penalty is
zero. This penalty indicates the minimum extra cost or penalty that has to be
paid if the allocation is not made at the cell with least cost.
Step 5 : Allocation: Select a row or column that has highest penalty and allocate as much
as possible to the cell with least cost in the selected row or column. If there is a
tie in selection of highest penalty, selection can be made arbitrary,
Step 6 : Adjustments : Delete the row or column for next iteration whose availability or
demand is exhausted/satisfied. Adjust the supply/demand of row/column after
subtracting the allocated units. If a row and column satisfy their supply and
demand simultaneously both will be removed for the next iteration.
208 Operations Research : Theory and Practice
Step 7 : Repetition ; Repeat the step 4 to 6 , till the entire units of supply for origins and
entire units of demand for destinations are satisfied.
Step 8 : Cost Calculation : Calculate the cost by summing up the products of number of
units with unit cost of transportation for all allocated cells. -If the final table is
equivalent cost matrix convened from profit maLrix in sLep - 3, ii is reverted to
profit matrix before calculating the profits.
Flow Chart for VAM :
Flow chart for Voxel's Approximation Method for finding IBFS,
Siart
T
Formulaic the in forma lion iiHo T.P. tiibtu form
Stop
FiGLIRf. S.i .
Transportation Problem 209
ILLUSTRATION 4
Destin ation
T&tat
1 2 1 4 3O
O2 s S 2 1 SO
4 2 5 9 2O
Total 2O 4O 3O 1O 1OO
Solution ;
Step 3 : Balancing; T h e given T P is already balanced since the total supply (30 + 50 +
20 = 100) is equal total demand (20 + 40 + 30 + 10 = 100). Therefore go to
step - S.
a. Supply Penalty
1 2 1 4 30 0(1-1)
3 2 1 50 1(2-1)
4 2 5 9 20 2(4-5)
Demand 20 40 30 10 100
Penalty
Penalty for 0^ row : least is J,and next least is also 1, therefore difference is zero.
Penalty for 0% row : leasr is 1, next least is 2 therefore penalty is 1.
Similarly for O 3 ; 4 - 2 = 2.
Also for Dx : 3 - 1 = 2, for D2 : 2 - 2 = 0 for Z>3 : 2 - 1 = 1 and £>4 : 4 - I = 3.
210 Operations Research : Theory and Practice
Step 5 : Allocation :
ITERATION TABLEAU 2 : Verdict:
Allocation at C9MA i.e., [Oo, D44)
Z>i Z>a D$ D4 Supply Penalty ^
No. of units 10, deletion D4 col.
30 0
°] 1 2 1 4 Adjustment for O<y from 50 to 40
["JO 1 Cost : 1 x 10= 10
3 3 2 1 40
20 2
4 2 5 9
100
Demand
20 40 30
Penalty 3
t
Step - : Adjustments : Highest penalty among {0, 1,2 and 2, 0 ,1, 3} is 3. Therefore we
choose D 4 column and we allocate in the cell with least cost i.e. (O2, D^) cell i.e.,
C94, The maximum number of units we can allocate for this cell is 10 units,
since its demand is only 10 though supply is 50. Thus, the demand for D 4 is
satisfied, therefore wre delete this column for next iteration. AIKI for row O2, as
10 units are sent to D^ we adjust it to 40 as fiirther capacity to supply as shown
in Iteration tableau - 2,
Step - 7 : Repeat steps 4 through 6f till atl the centres are satisfied.
ITERATION T A B L E A U - 3 : Verdict :
Allocation at C^ i.e., (On, D9)
Supply Penalty
No. of units 20, deletion O 3
0, 0
1 9 1 30 Adjustment for O9 from 40 to 20
0, 1 Cost ; 2 x 20 = 40
3 3 2 40 Here, highest penalties (2) are in
1 20 tie. therefore we select arbitrarily as
4 2 5 O3.
Demand
20 20 30 90
Penalty
Verdict :
rTERATIOfli TABLEAU 4 :
D D
Allocation at C^ i.e., ( 0 j , D\)
Z)| '2 * Supply Penalty
| 20 1 / No. of units 20, deletion D±
0 0 Adjustment for O\ from 30 to 10
1 2 1 ID
°\ 3 3 2 40
1 Cost : 1 x 20 = 20
Demand
•O 20 30 70
Penally
Transportation Problem 211
ITERATION TABLEAU - 5 : Verdict :
Supply Penalty Tie for penalty is resolved by
®'
arbitration and selected O}
Ox 1 +
2 Allocation (C13) i.e., (OL , D3)
1 No. of units: 10, Deletion : O^
3 2 40
Demand 50 Adjustment forZ)3 from 30 to 20
20 20 Cost= 1 x 10= 10
Penalty
ITERATION TABLEAU 6 :
D2 J>3 Supply Penalty
| 20 20 1
0,
3 2 40
Demand
20 20 40
(Check whether sums of the allocated units are same as their respective
demand/supply)
c., o, »i 20 i 20
*>s to 1 10
D2 20 3 fiO
o2 20 2 10
Os
o, O4 10 1 10
20 9 •10
Total 180
212 Operations Research : Theory and Practice
ILLUSTRATION 5
Solution i
Step 1 : Formulation ; The given TP is already formulated.
Gi
20
2 6 4 1
Sales 18 16 11 45
Highest among all unit profits is 9, All other unit cost are calculated by
subtracting from 9.
Step 3 : Check Balancing: As total stock (25 + 20 = 45) is equal to total sales (18+16 +
11 = 45), the TP is balanced.
Step 4 to 6 : Calculation of penalties Verdict ;
M, M.> Highest penalty is 5 among 5,
3,1,1,1
G
\ .'. Gj is chosen to allocated at C j
5 5 0
G, No. of units : 11
6 A l
Deletion : M 3
Sales 18 16 (u) 45
Adjustment to G] as 25 to 14
Penalty 1 1 1 Cost = 0 x 1 1 = 0
Profit = 9 x 11 = 99
Transportation Problem 213
6 4 Deletion : M^
Adjastment to O9 from 20 ro 4
Sales 18 34
Penalty 1 1 Cost = 4 x 16=64
Profit = 5 x 16 = 80
Stock
5
L 14
6
L\ 4
Sales 18
Summary :
Equivalent Cost Matrix Profit Matrix (Original)
M, Stock Stock
G2 20 Li. j 16 20
6 4 I 8
G
] Mi 14 4 !5G
c,3 G, Af3 11 9 99
G, M, 4 12
G2 M, 16 3 80
Note ; 77i/j VAM can also be applied to the maximisation problem directh Le., not converting utto
minimisation by taking penalty as highest and next highest and allocating at high profit cell.
However this method may lead to some confusiony therefore students are advhed to follow the above
method only.
214 Operations Research : Theory and Practice
ILLUSTRATION 6
The penalty costs for not satisfying demand warehouses D, E and F are Rs* 5t
Rs. 3 and Rs. 2 per unit respectively. Determine the optimal distribution for
Priyanshu using transportation technique. [ J N T U (CSE) 2000|
Solution :
Note : Only IBFS is illustrated here and it may not bepptim&l solution. You have to optimise after finding
IBFS by using stepping stone or MODI method.
Requirement 75 20 50 ,140
Step 2 : Standardisation : Since the given TP has tost matrix, it is in the standard form
i.e,, to minimise of total transportation costs.
Step 3 : Check balancing :
In the above TP, total capacity (140) is less than total requirement (145),
Therefore, thisTP is unbalanced. To balance this TP we create another dummy factory
say K, with the deficit capacity, i.e., 145 - 140 = 5.
The transportation costs usually we assume zeros, but here these are taken as
5t 3 and 2 instead of zeros since these are penalty costs for not satisfying the demand.
Transportation Problem 215
K 5 3 2
Requirement 75 20 50
B 6
LiL LiL 80
4 6
50 50
C 3 2 5
K 5 3 2
Requirement 145
c43 K F 5 2 no
Craitd total trailspon cost 620 + 10
= 630
* Total transportation cost is Rs. 620 and penalty for not satisfying the demand of 5 units
to F is 10. Thus total is Rs. 630/-
Transportation Problem 217
This method concentrates on the cells having least cost. Thus the allocation
entry is to be made in the cell with least cost among all the cells. The algorithm is as
follows:
Step 3 : Balancing : Check whether the TP is balanced by total supply = total demand
and add dummy row/column with deficit and zero costs in the case of
unbalanced.
Step 4 : Allocation : Select the cell with least cost* among all the cost celts and allocate
as many units as possible, and delete the row/column whose supply/demand is
exhausted while the demand/supply of column/row is readjusted by subtracting
the allocated units.
If there is tie in selection least cost, choose arbitrarily or select the one where
maximum allocation can be made.
Step 5 : Repeat: Step - 4 is repeated till all the units of supply/demand are exhausted.
Step 6: Cost Calculation: Calculate the total transport cost by summing up the products
of allocated units with unit cost.
* Least cost entry method is further divided into three types, such as row minima method,
column minima method and overall minima or matrix minima method. In row minima
method we choose least row-wise to allocate while in column minima method we prefer
to take least of each column to allocate. However, these met hoc! are not much popularly
used since these are not close to optimal solution. Therefore overall minima or matrix
minima method only is discussed here.
218 Operations Research : Theory and Practice
Yes
Optimise the solution
Calculate associated cost
and print solution by stepping stone method
or MODI method
Stop
FIGURE 5.4 :
Transportation Problem 219
ILLUSTRATION 7
Destination
Source
D, D2 D3 D4 Total
o, 1 2 1 4 30
o2 3 3 2 1 SO
o3 4 2 5 9 20
Total 20 40 30 10 100
Step 1 to 3 are already done i.e., the given TP is formulated, balanced and
standard.
Step 4 : Allocation : The least cost among all the costs is ' V appearing at three places viz,
at 0] to Z)j, 0\ to Z>3 and O9 to D4 though we can choose arbitrarily the
maximum units can be allocated to (0]t D%) cell Le>, 30< Here, the cell has
supply of 30 and. requirement a] so as 30. Hence both row and column are
deleted for further iteration.
ITERATION TABLEAU I : Verdict :
Chosen at {O^ D$)
Z>i
'1 J
:\
| 30 Allocation to C|^ i.e.. to
I 2 1 4 No. of units = 30
50 Deletion Oj 8c Ds
3 3 9 1
Adjustments : Nil
0, 20
4 2 5 9 Cost : 1 x 30 = 30
20 40 10
Note : We can notice degeneracy while optimisation of the above TP if both row and column get deleted
shtiittlaneously. This degeneracy is explained in the next section under opliw-fsofion ofTP jtith
degeneracy.
Step 5: Repeat step - 4, till all the units of supply/demand are exhausted,
ITERATION TABLEAU II: Verdict:
DA Least cost is * V at {O2 , £>4) i.e., C 2
No. of units = 10
3 3 40
Deletion = D4
0, 20
4 9. Adjustment for 0<> from 50 to 40
20 40 10 Cost= L x 10= 10
220 Operations Research : Theory and Practice
ITERATION TABLEU - 4 :
It can be directly allocated as :
: 20
| 20 20
C22 or O2 to D2 : 20
3 3
Costs 3 x 20 + 3 x 20 = 60 + 60 = 120
Summary :
O, 30
1 9 1 4
| 20 | 20
50
3 3 2 1
| 20
20
o. 4 2 5 9
20 40 30 10
o, 03 1 30 30
/>l 3 20 60
o2 D2 3 20 60
D4 10 10
D2 2 20 40
ILLUSTRATION 8
ITERATION TABLEAU 3 :
Verdict:
D F
Least cost: 2
B 80 Allocation cell (C43) or (K, F)
6 6 No. ofuntts ; 5
C 40 Deletion : K
3 5 Adjustment to F : 50 to 45
K C o s t = 2 x 5 = 10
5 2
75 125
45
222 Operations Research : Theory and Practice
Verdict:
Summary :
A 10
5 1 7
B j 35 | Ah
80
6 4 6
C [ -40
1 10 50
3 2 5
K 1 5 5
5 3 2
75 20 50 145
Cost calculation :
Allocated From To Unit cost No. of units Total cost
c
l2 A E 1 10 10
C21 B D 6 35 210
B F 6 45 270
c31 C D 3 40 120
C E 2 10 20
K F 2 5 10*
630 + 10*
Total transportation cost + penalty cost
= 640
Now, let us take up another problem with non-standard i.e., maximisation model.
Consider the problem under in illustration 5, to illustrate in this method
ILLUSTRATION 9
Solution :
Step 1: Formulation : It is already formulated.
Step 2 ; Standard TP: The given matrix is profit matrix, therefore it is to be maximised.
As standard TP is to be minimised, an equivalent cost matrix is to obtained by
one of the following two methods.
OR
5 5 0 -4 -4 -9
20 20
6 4 1 -3 -5 -8
t8 1G 11 18 16 11
Step 3 : Balance: It is already balanced since total stock (25+20) = total sales (18+16+11)
Step 4 : Allocation : The least cost among the cells is *zeroJ in 1 (a) [or -9 in 1 (b)] which
appears in C13 cell i.e., from G\ toM^ A maximum of 11 units can be allocated
here. Subsequently, M$ gets exhausted and deleted for further iteration while
stock G[ is adjusted to 14.
224 Operations Research : Theory and Practice
14 OR 14
5 5 ^4 -4
Ztf
6 4 4 -3 -5
18 34 18
LJL 14 OR LiL 14
5 -4
G2 4 G2 LJL 4
6 -3
IS 18 18 18
Summary :
The allocated units are now entered in the respective cells of original TP (profit
matrix). _
1 I u I ~ 1 1 i i
LJL 4 25
4 9
LL 8 20
5
18 16
Transportation Problem 225
Profit Calculation :
C
13 Gl Af3 11 9 99
C2J G2 4 3 12
C99 G, 16 5 80
AHter ; The maximisation case may also be solved by allocating as many units as possible in the
cell with highest profit. This is a direct method called "highest profit entry method".
Without converting the matrix into equivalent cost matrix. Howeverf this method may
lead to certain confusion and hence not discussed at length.
Note : Answer of IBFS xoith the three methods (NWCM> VAM and LCEM) need not be same.
Where n (C^.) is no* of allocated cells in IBFS, n (?) is no. of rows and n (c) is no.
of columns of TP. If there is degeneracy, resolve it, else move to step-3. (Degeneracy
case is explained later).
Step 3 : Calculate Improvement Index : IBFS may or may not be optimum. To check
whether the IBFSJs optimum or not, we calculate Improvement Index, which
indicates possibility of cost reduction by assigning one unit to unallocated cell.
(i) Connect one un-allocated cell at a time with all other allocated cells as corners
of a loop. The loop need not always be a square. It may be any shape as given
below,
FIGURE 5.5
Further, the loop should always be closed and should contain either horizontal
or vertical lines only, provided all corners are allocated cells except one whose index
is to be found. Also the loop lines may intersect, but the point of intersection is not a
corner and has no importance. The loop line may go over an unallocated or allocated
cell and such cells have no interference in calculation of index.
Thus after drawing the loop, give positive sign to the 1 in -allocated cell cost and
alternatively negative and positive to the coiners of the cells- Sum up these costs of
cells to find the index.
Step 4 : Revision to Find Improved Matrix ; If all the indices are positive, the optimal
solution is reached (IBFS itself is OBFS). But, if any value is negative, select
unallocated cell with most negative then transfer possible number of units to
the selected cell along the loop and readjust the supply/demand of allocated
cells.
Step 5 : Repeat; Repeat step 3 8c 4 1111 till all the indices are positive.
Transportation Problem 227
Start
[S tll
so 1 Li I io n dege nc 181J Resolve: decent: mi:y by a I locating
n(r) - n(c) - E such lhal a ± e ~ a.
La ihe appropriate ccll(s)
Improve me ii I Index
Draw lm>p lo eacti unallocated cull with all
other altocattxJ cells
Add and subtract the costs iiheniativclv to ilnd index
Yes
Revise salution by adjuslinii and
Iransfemtiii tlie allocated units
FIGURE 5 . 6 :
/># Supply
1 2 1 4 30
o2 3 3 2 1 50
4 2 5 9 20
Demand 20 40 30 10
228 Operations Research : Theory and Practice
Step 1: Obtain IBFS : (Refer Illustration - 2) the IB IS by North west corner rule is.
i>i Z)9 D^ DA Supply
| 20
1 2 1 4 30
| 30 | 20
0,
3 3 2 1 50
4 2
LlL Li! 20
5 9
Demand
20 40 30 10 100
[(Olt D$t {Ox, D2), (O2, ^2)' <°2 * &$h (O3, Dz), (O3, Z)4)]
No. of rows = 3
No. of columns = 4
As no. of allocated cells i.e., n (C^) is (6) equal to w (r) + n {c) - 1 Le,,
3 + 4 ~ 1 = 6f there is no degeneracy in the TP.
Step 3 : Optimality Test By Improvement Index ; Loops are drawn for unallocated celts as
given below
| 20
£} T
| 20
LiL
1 4 1 1
I io [ ?o | 20
3 1 3 3+* -"<>•?- I i
0,
Li! LiL 1 f° | 10
4 2 5 4 9 -v*-
3-2 = Index ; + 4 - 9 + 5 - 2 + 3 - 2 = -
Transportation Problem 229
O,
20
_J_IL \ 20
f!
-4^-
1 4 1 4
| 20 ! j 30 | 20
a- 2 1 1
i 3
4 9 5 9
ri ][» LiL
9
°l 1
20 |io
9 I 4
| 20
LiL
1 2 1 4
1 | 20 [ 30 1 20
3 3 yi 3 T2 1
i LiL !
i-LiL LiL
n« 4 2 5
-* 9 ' 4 5 9
Index :
Of all the above the most negative index is for (O2> Z>4) cell i,e.t - 5. Therefore
we transfer max. possible number of units (i.e., 10) to this cell from {O^ D4).
Step 4 : Revision : When 10 units are transferred from (O3, DA) to (Q2* ^4)- w e have to
reduce 10 units from (O2, ^3) and add at (0%t D%). This addition or subtraction
can be easily understood by sign "on the corner of the loop in the cell. Thus the
revised matrix is,
| 20 LiL 30
1 2 1 4
3
|~~30
3
LiL | 10
1
50
2
4 2
LiL 9
20
5
20 40 30 10
Step 5 : Repeating Steps 2 to 4 : No degeneracy is found and the .indices for unallocated
cells are as follows.
230 Operations Research : Theory and Practice
(0,, -2 + 3-2-0
f D4) 2, Z)4)
(0 JP Da)
2-3 + 2-5 = -
. 2 - 3 + 2 - 5 =(-
3. Z)4) -9- 1 + 2 - 5 -
As {O3, D2) shows most negative index we have to transfer 20 units, (this max
possible number of units to be transferred can be found by least allocated units among
the negative cornered cells of the loop). The revised solution is
| 20
30
1 9 1 4
[iL | 30
50
3 3 9 1
| 2Q
20
4 2 5 9
20 40 30 10
Again, the indices in the revised matrix are
for (Ov £3): 0 ; {0}t Z>4) : +4; (O 2 , £>,): + 1 remain same as above tableau,
for (O 3 , D}): Loop is {O3> Drf-* (O5t D2) -^ (O lf D2) -> (Op D}) and index is
+ 4 - 2 + 2 - 1 =+3
for <O3, Ds): Loop is (O3> Z)3) -^ (O 2 , Z>3) -> (O 2 , Z)2) -> (O 3 , Z?2) and index is
+5-2+3-2=+4
for (O 3 P Z) 4 ): Loop is ( 0 3 , Z?4) -^ (O 2 , Z>4) -> (O 2 , D2) -> (O 3 , Z?2) index is
+ 9- 1 + 3 - 2 - + 9
Thus all the indices are positive, therefore optimal solution is obtained.
Solution is
Allocated From To No. of units Unit cost Total cost
CM or(O lT D]) 0. ^1 20 1 20
C{» or {0vD2) £2 10 2 20
C,no\{0^D2) 02 ^2 10 3 30
C a 3 o r ( O 2 , jDg) 0-1 ^3 30 2 60
C e 4 o r (O 2 > Z) 4 ) 0, ^4 10 1 10
C^2 or {Ov D9) O3 20 2 40
G. Total cost 180
Transportation Problem 231
Remark : There is an alternate optimal solution the above problem, which is indicated
by zero index value for unallocated cells. Here (Op Z>3) shows zero. Tims the
solution is
| 20
30
I 9 4
| 20 20
50
3 3 2
| 20
20
4 5 9
5 | 9
20 40 30 10
O p t i m a l ( M m ) cost = 1 x 2 0 + 1 x 10 + 3 x 2 0 + 2 x 2 0 + 1 x 10 + 2 x 2 0
= 180 (Ret Gustation-20)
Consider the TP of maximisation case given in illustration - 5 and 9,
ILLUSTRATION T1
Maximise the TP
M,
4 4 9 25
G2 3 5 8 20
18 16 11 45
Since indices for all unallocated cells is positive (or zero), the optimal solution
is attained. And the solution is
4 4 0
3
LlL 20
5 | S8
18 16 11
Profit = 4 x 1 8 + 9 x 7 + 5 x 1 6 + 8 x 4
= 72 + 6 3 + 8 0 + 3 2 = 2 4 7
Note : Fo}' unbalanced case aho, the stepping done method is applied in the similar ?twy after balancing
and obtaining IBFS.
Step 2 ; Degeneracy Test : Check the presence of degeneracy by n (C^) < n {r) + ?i {c) - 1
where n (C,y) is number of allocated cells, n (f) is number of rows and n {c) is
number of columns. If n {C-) > n (r) + n(c)- } , then there is no degeneracy,
otherwise resolve degeneracy (case of degeneracy is explained in the section to follow).
Step 3 : Shadow Prices Calculation: Find shadow prices of each row and each column with
the formula
Ctj = Ut + Vj
Step 4 : Optiviality Test: Find the cost difference (C^ - ZJJ) for unallocated cells by using
the formula.
where Ct* is cost in unallocated cell and u{ & vj are the corresponding values
(shadow prices) found in step - 3.
Now, if all the values of Cyy - (w( + vp ^ 0 i.e., positive, then the solution is
optimal, othei-wlse improve the solution by step 5.
Step 5 : Identify most negative value of C^ -(&,- + vp calculated in step - 4 among all
unoccupied cells and draw a closed loop with (only vertical/ horizontal lines)
widi this cell as one of its corners while all other corners as occupied (allocated)
cells. [Refer stepping stone method for further details about drawing
loop].Starting at the selected cell as +ve, give alternate +ve and - ve signs to all
comers. Among all the negative sign coiners choose the least allocation and
transfer this amount along the loop. [Add at positive corner and subtract at
negative corner]-
Step 6: Repeat steps 2 to 5 till the C-' - (u7 + vp > 0 for all the unoccupied cells,
Siari
Resolvu degeneracy by
e such tlial a ± e - a.
to l lie appropriiUc eel its)
No
FIGURE 5.7 •
ILLUSTRATION 12
Supply
1 2 1 4 30
O2 3 3 2 1 50
O3 4 2 S 9 20
Demand 20 40 30 10 45
Transportation Problem 235
Refer ing to illustration - 2, the IBFS for the above TP by North West Corner
Method is as follows.
ITERATION TABLEAU 1 :
1 Supply
0, 30
1 2 1 4
| 30 | 20 50
°2 3 3 2 I
|io |1O 20
4 2 5 9
Demand 20 40 30 10 100
Tliere is no degeneracy.
ITERATION TABLEAU 2 :
D4 Supply Shadow price («,)
| so
LiiJ 30
a, = 0 (assumed)
1 2 1 4
| 30 | 20
50 Uy = 1
3 3 2 1
| 10 | TO
20
4 2 5 9
Demand 20 40 30 10
Shadow Price (v:) v^ = 1 v^ - 2 ^^ = 1 ^4 = 5
= 5, W3 + v^ = 9
Then all odier values can be found as mentioned in the above tableau.
ITERATION TABLEAU 3 ;
D} ZXj Z) 3 D4 Supply
| 20 0 - I
30 H.J = 0
1 9 1 4
+1 | 50 | 20
O2 50 ii.2=l
3 3 2 \
- 1 -4 ho
20 u*- 4
4 2 5 9
Demand 20 40 30 10
% = \ v4=5
Sample Calculations :
for (O 2 , ^ 4 ) cell C 2 4 = l , w2 = 1, ^ = 5
F o r ( 0 3 , Z)j) 4 - ( 4 + . l ) = - 1
and similarly for other unoccupied cells
Step - 5 ; Revising the Sohdion: From the above calculations, we find most negative value
of c±j - (w; + Vj) for (t?2 - ^4) c e ^ as - 5, We start constructing closed loop from
this cell with o t h e r o c c u p i e d cells i.e., (O2, D4) -> (O2> ^3) -> (°3> ^3)
—^ (O 3? D4) and on the corners of this loop we give + , - alternatively from
(O2» ^4) onwards. Thus (O 2 , ^4) and (O 3 , Z)3) get addition (+) while (0%, D$)
a n d (O3 , ^4) get subtraction (-). Among these negative marked cells,
{O3, O 4 ) has least allocation as 10 and thus direction is form this cell. (10 units
are transferred upwards). Revising the allocations in this way, we get.
ITERATION TABLEAU 4 :
Dx D2 D3 Z>4 Supply
| 20
Li! 30
1 2 1 4
| 30 \ 10
50
3 3 2 1
| 20
20
4 2 5 9
Demand 20 40 30 10 100
Transportation Problem 237
AU-6:
*>i a. Supply u
20 |_20_ 0 +4 30 0
o, 1 2 1 4
+1 | so 50 1
3 3 2 1
+3 +4 +9 20 0
4 2 5 9
Demand 20 40 30 10
v- 1 ? 1 0
In the above solution, the values of Cf - - (w, + v:) > 0 for all unoccupied cells.
Therefore the optimality is reached.
Step 7: Cost calculations :
The solution is tabulated as follows.
D[ 2 10 20
C^
; *> or {D^, D^) 2 20 40
I L L U S T R A T I O N 13
Factory
Factory Mumbal Bangalore Delhi Chennai
Capacity
Kotkata 6 5 8 8 30
Ranch! 5 11 9 7 40
Ahmedabad 8 9 7 13 SO
Centre Demand 35 28 32 25
The problem has been solved using VogePs approximation method for IBFS.
Step 2 : Balance Checking ; T h e T P is balanced since the total capacity is equal to total
demand.
Step 3 ; T h e next step is to determine penalties for each row and each column. A penally
is the difference beween the least cost and the next least cost in corresponding
row (or column), for e.g. T h e penalty for the first row i.e,, corresponding to
Kolkata is 6 - 5= t.
Step 4 ; Choose the maximum penalty among all the penalties which have been
determined in the previous step.
Factory Mumbai Bangalore Delhi Chennai Capacity Penalty
Kolkata | 28
6 '5 8 8 2 1
Rancht
5 11 9 7 40 2
Ahmedabad
8 9 7 13 50 1
Demand
35 32 25
Penalty 1 4 L 1
T
(Here 4 is the maximum penalty)
Transportation Problem 239
Allocate maximum possible units to the cell whose cost is minimum in the row
or column selected (corresponding to max. penalty). If the capacity or demand is
exhausted, delete the row or column for next iteration. Prepare the next iteration
table with revised capacities and demand.
After the first 4 steps, we can derive that the allocated cell is Kolkata to Banglore.
T h e number of units is 28 units. T h e deleted column is Banglore column and revised
capacity of Kolkata is 2.
Repeat the above 4 steps and prepare the next iteration tables.
ITERATION TABLE 3 :
Factory Mumbai Delhi Chennai Capacity Penalty
Kolkata
6 8 8 2 2
Ranchi j 35 2
5 9 7 5
Ahmedabad
S 7 13 50 1
Demand
35 32 25
Penalty
1- 1 1
Inference: Allocation to "Ahmedabad to Delhi" cell -32 units, Deletion Delhi column and
capacity Revised to Ahmedabad Row as 18.
240 Operations Research : Theory and Practice
ITERATION TABLE 4 :
In this case since there is only one column, penalties need not be calculated.
Chen n ai Capacity
Kolkata
8 2
Ranchi
7 5
Ahmedabad 18
13 18
Demand 25
Ahmcdabad | 32
8 9 7 13 50
Demand
35 28 32 25
Moving Towards Optimality :
=4+3-1=6
Wliere u- and v^ are shadow cost variables of ith row andj column respectively.
And then calculate c^ - ( u, + Uj) where C^ is cost in nonallocated celL
Transportation Problem 241
ITERATION TABLE 5:
Mumbai Bangalore Delhi Chennai Capacity
Kolkata +0 | 23 +6
6 5 8 8 30 0
Ranchi \JL +7 +8
5 p-n v H 40 -1
Ahmedabad 5
• *
^ ,. 50
8 J •-
Demand 5 ;
35 28 32 25
7 ; =7
6 5 2 8 13 ;
: ^ j there are 6 equations, but seven variables, one of them is assumed to be zero (u\ = 0 J
ILLUSTRATION 14
Solve the following transportation problem, u&> Find the optimal solution,
where the entries are cost coefficients.
Destination
From To Availability
1 2 3 4
1 15 0 20 10 SO
Origins 2 12 8 11 20 50
3 0 16 14 18 100
Requirement 30 40 60 70 200
To Avrr! Penalty
From
10
15 0 20 10 50
12 8 I] 20 50
| 30
0, 14
0 16 14 IS 70
Required
40 60 70 200
Penalty 8 3 8
In thisTP the max. penalty is 14, hence 30 units are allocated to the cell having
minimum cost i.e., 0 of row 0% and consequently 30 units are allocated (in this case)
hence the \st column is deleted and Vd row availability is revised to 100-30^70.
Transportation Problem 243
0 20 10 10
8 It 20 50
16 "' 14 18 70
Required '40 r 60 70 170
Penalty 8 3 3
a no
The allocation is from Oj toZ?^ ftd - of units allocated are 40 units. Revised
availability for Oy row is 10.
i ITERATION TABLEAU 3 :
To Avail Penalty
From
10
10
H 20 50 9
14 18 70 4
Required
60 60 130
Penalty
14 18 70 4
Required 0 10 60 120
Penally
3
JTEP4TI0N TABLEAU 5 :
1 10 | 60
14 18
Summary:
15 0 20 10
12 IS n 20
| 30 [ 60
0 16 14 18
T h e total cost incurred is,
10 x 10+ I I x 5 0 + 14 x 10+ 1 8 x 6 0 = 1870
=0
ILLUSTRATION 15
An oil company has got three refineries P> Q and R and it has to send petrol to four
different depots Af B, C and A The cost^ of shipping 1 gallon of petrol at the
refineries are given in the table. The requirement of the depots and the available
petrol are also given. Find the minimum cost of shipping after obtaining an initial
solution by VA&I.s .
Depositf
Refineries Available
B C D
P 10 12 IS 8 130
Q 11 11 9 10 150
R 20 9 7 18 170
Required 90 100 140 120 450
| JNTU (Mech) 99|
Q LI 11 9 10 150 1
R 170 2
20 9 7 IS
Required 90 100 140
9 9
Penal ty
Step 4 : Remove the column D as it is filled to its requirement and start allocating to
other columns & rows.
ITERATION T A B L E A U - 2 :
Availability Penally
P 10 2
10 12 15
Q 150 2
11 11 9
R j 140
20 9 1 170/30
Required 90 100
Penalty 1 9
246 Operations Research : Theory and Practice
150 0
11 11
20 -' 11
Required 90 100/70
Penalty 1 2
Q
I so [ 70
11 11 150
90 70
Penalty 1 1
A B C D
P + 11 +7 | 120
- 10
10 12 15 8
| 80 | 70 0 +1
Q
11 11 9 10
R + 11 | SO | 140 + 11 =9
20 9 •7 18
ILLUSTRATION 16
Solve the Transportation Problem whose unit cost matrix^ supply and demand
are given below:
Supply
7 7 10 5 11 45
o2 4 3 8 6 13 90
Os 9 8 6 7 5 96
o4 12 13 10 6 3 75
Os 5 4 5 6 12 105
Demand 120 80 50 75 85
iJNTU(Mech)98/s|
As the matrix is cost matrix, theTP is to be minimised i.e., hi the standard Form,
hence we procede directly.
D, Supply
45
7 7 10 5 11
90
4 3 8 6 13
9 8 6 7 5
75
12 13 10 6 3
105
5 4 5 6 12
Demand 120 80 50 75 ,411
01 7 7 10 5 11 0
LLJ 45/44 5
90 3
4 5 8 6 13 0
96 5
9 8 6 7 5 0
75 3
O4 12 13 10 6 3 0
105 4
o., 5 4 5 6 12 0
Demand 120 80 50 75 85
Penalty 1 1 1 1 0 410
248 Operations Research : Theory and Practice
0, 44 2
7 7 10 5 11
90 1
o, 4 3 8 6 13
96 1
0,
9 8 6 7 5
|:75
1? 13 10 6 3
105
o. 5 4 5 6 12
120 80 50 75
Demand 10 335
Penalty 1 1 1 2
ITERATION TABLEAU 3 :
Supply Penalty
44 2
7 7 10 5 u
90
4 3 8 6 13
9 8 6 7 5 86
105
0*
5 4 5 6 12
80 50 75
Demand 325
Penally 1 1 1 1
0R 105
5 4 5 6
Demand 120 80 50
31 281
Penalty 1 1 1 1
Allocation (Oj , D 4 ) - 44 units, deletion - O}.
Demand reduction for D4 to 3 L
i ITERATfOEU TABELEAU 5 :
Supply Penalty
": j 80.
4 • • :
. - - 3 - : - S 6 10
86 1
9 •'..•;8'- 6 7
105 1
:
5 • A y.- 5 6
130 50 31
Demand
201
Penalty 1 1 1 0
ITERATION TABLEAU 6 :
*i Supply Penalty
®
: 2
,
"•6.-••"!:
S6 1
9 6 7
105 0
5
5 5 6
50 31
Demand
no 191
Penalty I 1 0
Allocation (O2,D\)-— 10 units , Deletions —>
Demand reduction on/)i to 110
250 Operations Research : Theory and Practice
D
\ A* Supply
86
9 6 7
| 105
.^.
5 5 6
Demand ^ ,_. 50 31
86
Penalty 4 1 1
| 44 LL 45
7 7 10 5 11 0
LiL | 80
3 8 6 13
90
4 0
9 8
| 50
6
liL LiL 0
96
7 5
12 13 10 6
LiL 0
75
3
[ 105 105
5 4 5 6 12 0
120 80 50 75 85 1 411
Optimally Test:
Degeneracy test: No, of allocated cells = 10 ;
No. of rows (r) = 5 ; No. of columns (c) = 6; r + c - 1 = 10
No. of allocated cells (10) > r + c -I {i.e 10); so no degeneracy.
Transportation Problem 251
D, £>, D, D,
0 +1 +6 J 44 +8 45
0,
7 7 10 5 11 O'~
:
80 + 7
IJL +4 + 13 4-3 90 -3
4 3 S 6 13 0
0,
9
0
8
| 50
6
111 5
-2 :
o+
" 7
+5 +7 +6 +1 0 75 0
12 13 10 6 3 0
1Q5 | 0 4-3 +3 + 11 +2 105
5 4 5 6 12 0
120 80 50 75 85
7 6 4 5 3
&9 + V ] = 4
-9; &3 + v5 = 6
U3 + v 4 = 7 ; = 5; =7
D,
0 +1 +6 +3 +2
0, 45
7 7 10 5 11 0
+7 +5
Li! | 80
3 8 6
4-3
3 0
90 -3
4 0
LJL | 30
LJL 96
9 8 6 7 5 0
+5 +7 +6 +1 +2
75
12 13 10 6 3 0
105 0 4-3 +3 +U 4-4
105
5 4 5 6 12 0
120 80 50 75 85
7 6 4 3
From the above tableau C»' - {«,; + vy) > 0 Le*t Non-negative for all
non-allocated cells, the optimal solution is obtained as follows,
Cell Unit cost Allocated units Total cost
(Rs.)
(OlfD4) 5 45
(O 2 ,Z>|) 4 10 40
9 5 45
7 30 210
( O , , Dr>) 5 10 50
0 1 0
0 105 525
The total minimum transporation cost (optimum) is Rs, 1860/- and one unit in
the supply of origin -3 is not transported to any destination (unutilized resource).
Note : The above TP yields multiple optimal solutions which will be explained in late\r sections. Students
may try.
ILLUSTRATION 17
Warehouses
Wt w2 w4 Supply
Ft 14 25 45 5 6
Factory F2 65 25 35 55 8
F, 35 3 65 15 16
Demand 4 7 6 13 30 (total)
Solution i
Ware House
Factory w2 W, Supply
14 25 45 5 6
65 25 35 55 8
35 3 65 15 16
Demand 4 7 6 13 30
wx wA Supply Penalties
9
14 25 • 45 5 6
10
65 25 35 55 8
35 3 65 15 9
Demand 4 (7) 6 13 30
Penalties 21 22 10 10
i ITERATION TABLEAU 2:
W, Supply Penalties
fi 9
.14 45 5 2
65 35 55 8 20
35 65 15 9 20
Demand 6
30
Penalties 21 10 10
T
ITERATION TABLEAU 3 :
Supply Penalties
40
45 5
20
35 55
50 f-
65 15
Demand 6
Penalties 10 10
i ITERATION TABLEAU 4 :
wA Supply Penalties
•U_ 40
45 5
UL LJL 20
35 55
Demand 6
2
Penalties 10 50
254 Operations Research : Theory and Practice
IBFS TABLEAU:
WA Supply
4 6
14 25 45 5
63 25 35
LL 8
55
16
35 3 15
Demand 4 7 6 13
Initial basic feasible solution = 14 x 4 + 3 x 7 . + 6 x 3 5 + 2 x 5 + 2 x 5 5 + 9 x 1 5 = 5 4 2
n {Cjj) = n (r) + n (c) - 1 i.e., 6 - 4 + 3 - 1, H e n c e n o d e g e n e r a c y
Optimisation :
w
VK> \
14
1 4 + 32
95
+GQ
45 5
2 H, = 0
+1
65 25 " 35
1^ , = 50
+ 70 + 70 .= 10
35 3* 65 * 15
=- 7 =+5
j = 35 ; te^ + U4 = 55
9 = 3; w-3 + v^ = 15
"+32 +42
+ 19
14LjL 25 45 6 wt = 0
2;
+ il
65 25 55 8
35
L5- 65
LLL 16
3 iu=10
15
4 7 6 13
: = 14 v2 = -7 ^ =3
it, y + v y = 1 4 ; 2/ j + 1/4 = 5
Optimal solution
= 4 x 1 4 + 2 x 2 5 + 3 x 5 + 6 x 3 5 + 2 x 5 + 11 x 15 = 506
Transportation Problem 255
S o I u+i cm i
Step 1: The given Transportation problem (TP) is in the standard from (i.e,T
minimization case). Hence we can proceed directly.
Step 2 : In the given TP, the sum of availability (8) is equal to the sum of required (8).
Therefore it is balanced.
Step 3 ; Preparation of IBFS by North West Corner Method,
To
A B C_ Available
LL 1
50 30 220
From LL
90 45 170
LJL
250 200 50
Required 4 2 2
Step 4 : Optimization : Tlie number of allocated cells say (n) = 4; No. of rows 4- No. of
columns - 1 say r + c-\ = 3 + 3-1 = 5
As n < r + c - 1, there is a degeneracy. *Hence assuming e as an allocation at
the cell (1, B) such that e ^ 0 and a + E = a-E = a.
Then, the costs ut and v: are computed.
A 0 Q w. Uj + V: = C-j for allocated cells
«l + v^ = 50
LL u\ = 0 (assumed)
50 30 220 Mj +1»2 = 3 0
LJL U2 = 40 t*2 + i»l = 9 0
90 45 170 u^ + v2= 200
LL 12 = 170 -50
250 200 50
= 50 v2 = 30
(As we have five equations and six variables, we have to assume one of these as
equal to zero. Hence w.j = 0 Is assumed)
Now, calculating the value o[c^J- (u^ + V:) for non-allocated cells, to check the
optLmality, we get
A B C ^
LL | e + 340
0
50t-s i6 30 220
+250
90"* i *s 45 170
40
+ 30 2
250 200 50
170
4 2 2
50 30 -120
* The degeneracy can be detected in initial stages while finding IBFS, since the partial
sum of availability of 1st & 2nd row it., (1 + 3) is equal to partial required of A i.e., 4.
Also, when cell (2, A) is allocated with 3 units both row and column get satisfied.
Transportation Problem 257
As c-J - (u{ + v' )<0 for cell (2, B), we revise it by transfering some units given
by least figure among die corners marked by -ve on the loop i.e. e here and then the
above step is repeated.
LiJ 45
+ 275
170
40
90
3
+5
LL LJ_ 195
250 200 50
Required 4 -2
50 -M5
As the values of c-' - (a- + vj)> 0 (non negative) for all non-allocated cells, the
optimal basic feasible solution is obtained.
T h e solution is,
From To Unit Cost No, of Units Total Cost
1 A 50 I 50
2 A 90 3 270
2 B 45 45e
3 & 200 2 400
4 C 50 9 100
Total 320 + 45 £
Solution
With usual steps (as explained) the initial solution for the above TP
(minimisation 8c balanced) by North-west corner method is given below,
258 Operations Research : Theory and Practice
fltERATIOIUTABLEAUl:
/H> Supply
|l20 120
8 5 6
| 30 | 50 80
15 10 12
| 30 | 50 80
3 9 10
150 80 50
Since ihe number of occupied cells n (Cy) is 5 and No. of rows n (r) + No. of
columns i,e,, n {c) - 1 is 3 + 3 - 1 = 5, there is no degeneracy, Thus w^ and V: are
computed with usual set of rules, Also, values C^- (u^vj) for unoccupied cells are
calcaulte'd. The loop is identified for most negative.
ITERATION TABLEAU 2:
Supply
| 120 +2
8 5 6
| 30 +1 80
S2
15"-- 10 12
ITERATION TABLEAU 3 :
Supply
120 120
8 5 6
| 30 80
15 10 12
[so] 9 10
80
3
Demand 150 80 50 280
D2 Supply ?iv
| 120 -9 120 0
5 Ve
+ 11 | 80 +:i
80 -4
1
15 10 ! 12
-H 1 ^® 80 -5
9 10
ITERATION TABLEAU
1U5:5:
D, Supply ?^
-9 +
120 0
8 5 6
+ 11 | 80 + 10 80 -4
15 10
[so +9
SO ^5
9" 10
Demand 150 80 50 230
8 14 6
ITERATION TABLEAU 6 :
Supply
| 50 120 0
8 5 6
+2 | 80 80 +5
15 10 12
| 80 +9 +9 80 -5
3 9 10
Demand 150 80 50 280
V; 8 5 6
Since C^ > (Uj + vp for all the unoccupied cells, the optimal solution is arrived.
The optimal cost calculations are shown below.
Cells From To No. of Units Units Cost Total Cost
c,, ^1 10 8 560
cl2 Si D2 E 5 5e
*1 50 6 300
260 Operations Research : Theory and Practice
80 10 800
h SO 3 240
230 - 1900 + 5e
G. Total
= 1900
Since value of £ is negligible, the total transportation cost = 1900 units.
After arriving the optimal solution by MODI or stepping stone method, we now
identify alternate optimal solution as follows
Dl D,A Z>3 D4 Supply it;
r
| 20 0
I 0
1 4
+1
3
LH-
.A*
\ 30
1
50
| 20 +4 20
V
3 4 2 5 9
Demand 20 40 30 10 100
1 2 1 0
Transportation Problem 261
With usual calculations of U: 8c u: find C{j - {ut: + u) for noil-all oca ted cells. As
all are + ve we obtain optima] solution equal to 180.
Since C- - {n- + vj) value for (OXt D%) cell is zero (or C^ - u} + vj), this eel) is as
good as any allocated cell (whose C^ = uL + vp and thus can enter the basis (allocation).
We take up this cell and construct a loop as shown in the above table. From the loop
(O^Ds) -> (O 2 , ^3) -* (0^0$ -> (0}t D2)t we transfer the units from
(O\r D^) or {O2, ^3) and the maximum possible units to transfer is only 10. Therefore
we choose the direction from (O]t D2) to {O\, Z>3). Thus the revised matrix is given
below.
[Add 10 to (O[t D3), subtract 10 to (O2, D$)f Add 10 to {O2, D2) and subtract 10
to (O^Dg), Thus {O|, D§) becomes occupied i,e,, basic while {O±t D^) becomes
unoccupied i,eM non basic]
Note ? This resembles the some Zj -Cj=Q values in sivipUx table. Comparefor your heller understanding
£>, D2 Dz Z?4 Supply u}
| go 0 Li! +4 30 0
t 2 1 4
+1 | go | 20 50 1
3 3 9 1
+3 | so +4 +9 20 0
4 2 5 9
Demand 20 40 30 10 100
2 3 0
From the above table the values of C-j - {u- + vp > 0 for all unoccupied cells,
thence it ts optimal solution.
Cis
°\ 1 10 10
C, 2 3 20 60
o. 2 20 40
c24 °2 1 10 10
C.Y1 °* 2 20 40
532 Restricted TP
Here, we will consider a problem with a combination of maximisation and
restriction (or prohibition) in transportation.
In solving the problems, the rec trie ted cell is assumed to have an unaffordable
cost M such t h a t M + a-- - M - a.^ - M.
ILLUSTRATION 21
ABC agency transports material from one place to the other on commission
basis. The following are the estimated commissions per unit of materials to be
transported from the plants Pr P2 and P3 to market centres Mp M2 and Mr
Optimise the commissions to be earned by the agency (note that there is not route
available to transport from P2 to MJ. |MBA-OU-97|
Mi M2 M3 Supply
PJ 6 9 8 120
P2 - 4 2 80
P3 11 5 4 80
Demand 150 70 60 280
Solution :
As t h e given tran sport at ion p r o b l e m (TP) is in n o n standard from (since
commission is to b e maximised), t h e T P is first converted t o s t a n d a r d from by
subtracting every element from t h e greatest a m o n g all t h e elements. T h e equivalent
cost matrix is,
M| Af2 M§ Supply
120
5 2 3
80
7 9
7 80
0 6
7
Demand 150 70 GO 280
As there is no route available from P 2 to Ml? let us assign an unaffordable cost
M such that M + ai} = M - a- = M.
And the given TP is balanced as total demand = total supply = 280.
Now finding IBFS by Vogel's Approximations,
Supply Penalty
5 9 3 120 1
80 2
M 7 9
) 80
. ' 6 • 7 0
Demand 15? 70 60 280
Penally
Transportation Problem 263
M, Supply Penalty
Pi 5
L 10
2 3 50
\
80 2
M 7 9
Demand 70 60
0
Penalty M 5 6
50 ]
2
| 70
80 2
P2 7 9
Demand 70 60
Penalty 5 6
T
Now, we place the allocations in the equivalent cost matrix and check for
optimality. [The TP is not degenarate as the number of allocated cells (5) is equal to
no, of rows (3) phis no, of columns (3) minus 1 i.e (5)].
M,
| 70 + 1
0
5 2 3
P<>
6
M 7 9
| 80 + 10 +9
-5
0 6 7
Note : Assumed u\ - 0 and other u\ and VJ are calculated using Qj =w + vj where Cij is allocated cell
cost) and then checked for &f — (ui + VJ) > 0 for non - allocated cells.
Since Ct:' - (^ + v'•) > 0 for all non allocated cells, the solution is optimal.
264 Operations Research : Theory and Practice
| SO 80
11 5 4
Demand 150 70 60 280
5J.3 Conditional TP
We now illustrate a TP with maximisation, unbalanced, multiple optimal
solution and other typical conditions.
JIMISTRATIGN 22
A company has 3 factories and 3 ware houses with the following shipping cost
and other information*
Factories Sales Price Ware House
Ware House
Ff F2 F3 (Rs.) Capacity
3 9 5 34 80
W2 1 7 4 32 120
w3 5 8 3 31 150
R/Mcost 15 1& 14
Labour cost 10 9 12
Factory capacity ISO 100 130
Due to prior commitment Fs must supply 50 units ofW2 and for every unit sent to
W} an octroi ofRs> 2Aper unit is imposed, also only at F3 left out inventory costs
Re. 1/-per unit left out.
Find the optimal solution for the company so as to make maximum profits or
minimum cost/loss.
Transportation Problem 265
Solution ;
Total of warehouse capacity (t,e,t requirement here)
= 80+120+150 = 350
Total of factory capacities
= 150+100+ 130 = 380
Since X requirement * X capacities, the TP is unbalanced. Therefore we
introduce a dummy warehouse (row) whose capacity requirement is 30 (deficit) units.
In the above TP, there is sale price, raw material cost, labour cost apart from
the shipping cost. First we have to calculate the net profit or loss to each cell with the
following formula.
Profit/loss to each cell:
Cy = sales price of corresponding warehouse - shipping cost of the cell - cost
of R/M at corresponding factory - cost of labour at each factory.
An exemplary calculation for cell Cj j i .e., W^ to f\ is shown here below.
Profit /loss for Cn =34-3-15-10
= 34 - 28 = 6 (profit)
for C12 = 34 - 9 - 18 - 9 = -2 (loss) and so on.
The profit cost calculation for each cell in the dummy row will be taken as
follows,
Capacity of Dummy row == 30,
Sales price at Dummy row = 2ero (0)
Cost of R/M with F lf F2 and F 3 = 15, IS and 14 respectively.
Cost of labour with Fh F2 and F 3 = 10, 9 and 12 respectively.
Cost of shipping at each cell in Dummy row — 0
An example for dummy cell C41 i.e., from D to i^ is
C 41 = 0 - 0 - 1 5 - 10 = -25 (loss)
Sales price Requirement
wl 3 9 5 34 SO
1 7 4 32 120
5 8 3 31 150
D 0 0 0 ; 0 30
R/M cost 15 18 14 Total 380
Labour cost 10 9 12
150 100 130 Total 380
266 Operations Research : Theory and Practice
Revised TP Matrix :
F
\ *\
34-3-15-10- 3 4 - 9 - 18- 9 = 34 - 5 - - 1 4 - 80
6 -2 3
32-1-15-10= 3 2 - 7 - 18- 9 = 32 - 4 - - 1 4 - 12 = 120
6 -2 2
31-5-15-10= 31- 8 - 18- 9 = 31 - 3 - 1 4 - 12 = 150
1 -4 2
0 - 0 - 1 5 - 10= 0 - 0 - 18- 9 = 0 - 0 - 1 4 - 12 = 30
D
^25 -27 -26
Cap 150 100 130 380
50 units must b e transported from F{ to W2. Let us first allocate this quantity
irrespective of profitfloss due to the prior conmiitment. Here, we get a profit @ Rs. 6
per unit on transportation of these 50 units from F± to W% i-e., Rs, 300/-. And when
these 50 units are transported, further capacities at F1 a n d W2 will be readjusted as
100 a n d 70 a n d the totals will be 330. T h e profit of the Rs. 300/- we keep aside for a
while a n d a d d at the last.
Condition -2 :
Octroi @ Rs. 2 p e r unit is imposed on the units sent to Wv therefore eveiy cell
in t h e first row, a cost of Rs. 2 p e r unit is to b e deducted.
Condition -3 :
At F^ if inventory is leftout an inventory cost of Re. 1/- p e r unit is levied.
Therefore, to the cell { D, F 3 ) Le,, C 4 3 we deduct Re 1/- since, this is the only cell
representing left out inventory at F 3 .
T h u s with the above conditions, the TT matrix is re-written as follows.
F{ F2 F^ Requirement
If, (6-2) SO
4 -4 1
70 (120-50)
6 -2 2
150
1 -4 2
-27 (-26-1) 30
D -25
Capacities 100(150-50) 100 130 330 (380 - 50)
Transportation Problem 267
Now, the figures in the above TP represent the profits, which is a non-standard
case. These are to be converted to equivalent cost matrix:. This can be done by two
methods (multiply by -1 to all cells or subtract from highest value).
The equivalent matrix is given below by multiplying with (-1) to all cells,
/"l F% F$ Requirement
80
-4 4 - 1
70
-6 2 -2
150
- 1 4 -2
30
D 25 27 27
Capacities 100 100 130 330
For the above TP, we now find IBFS by North West Corner method. T h e initial
solution is given below:
F| F2 F% Requirement
| 80
80
-4 4 -1
| 20 | 50
70
W2
-6 2 -2
| 50 100 150
- 1 4 _9
30 30
D 25 27 27
Capacities 100 100 130 330
F
2 F
$ Requirement
L SO 0
4 - 1
80 0
-4
L 20 [ 50 +2
-2
70 -2
-6 2
+3
_} 4
1 50
*_9
| 100
150 0
0 -6 30 29
D 27
25 ••-i 2 7
h Requirement
L 80 0
4 - 1
80 0
-4
L 20 2
I 50 +2
_ 2
70 - 2
-6 i
+3
[ 20 1
]30 150 0
-1 4 -2
D
+6 [ 30 30
25 27 27
Capacities 100 100 130 330
-4 +4 -2
In the above tabie all the values C{J - (u^ - vj) > 0, therefore optimal solution is
attained.
The solution is to be transfeiTed to profit matrix by changing the sign for each
unit cost.
• As we have C^j - (u— vj) = 0 for (W^ Z7^) cell, we get an alternative optimal
solution, which can be obtained by transferring 50 units from (H^ F%) and
doing necessary adjustments.
Solution -1: Solution - II:
Req. Req.
\ 80 80 | 5Q
80
4 -4 1 4 -4 1
| 20 | 50 70 70
6 -2 2 6 -2 2
| 20 | 130 150 | 20 | 130 150
1 -4 2 +1 -4 2
| 30 30 30 30
D
-25 -27 -27 -25 -27 -27
Cap, 100 100 130 330 Cap. 100 100 130 330
Transportation Problem 269
Solution -1:
Cn w
\ 4 SO 320 Profit
c21 w
'> 6 20 120 Profit
Ft W
?, -4 20 -80 Loss
W
?.
9 130 260 Profit
Solution - / / ;
cM F] w, 4 30 120 Profit
F* -4 50 -200 Loss
Ft G 70 420 Profit
F
<> -4 20 -80 Loss
F
-i w
i 2 130 260 Profit
F
(Dummy) -27* 30* (-810*) Not to produce
*
Total 800^280 = 520
The over all profit Rs. 520 can be obtained provided the production at F2 is
restricted to 70 units only instead of 100, i.e., 30 units excess produced from F9 is to
be reduced (^otherwise it will cost Rs. 810 which turns the profit of Rs. 520 to loss of
Rs, 290).
Further the profit of Rs+ 300 on allocating 50 units at (W2y F}) adds to die answer:
Practice Problems
Obtain IBFS by NWCM for the following transportation problems whose unit costs
of transportation, availabilities and requirements are given in the matrices, and
then optimize
1. [JflTU (CSE) - 2000/S] [Madras B.Sc. S I ]
2 3 8 10 2 4
2 4 9 3 12 5 Supply
3 1 2 6 5 2 11 10 3 7 4
Demand 6 10 15 B 1 4 7 2 1 8
C 3 9 4 8 12
3. [US -89, 0U - MBA - 92] Demand
D$ DA Supply
7.
6 4 1 5 14
Supply
S 9 2 7 16
A 11 13 17 14 250
4 3 6 2 ,,5
B 16 18 14 10 300
Demand 10 15 4
C 21 24 13 10 400
Demand 200 225 275 350 950
[IAS - 89 , AU - B.T«ch -90]
1 11 111 IV Supply
0, 13 n 15 20 200
o2 17 14 12 13 600
18 13 15 12 700
Demand 300 300 400 500
Transportation Problem 271
DA Supply
L9 30 50 10
70 40 60
°3 40 8 70 20
Demand 5 8 7 14 34
Answer: 1 9 x 5 + 3 0 x 2 - 3 0 x 6 +40 x 3 + 7 0 x 4 + 20 x 14= 1015
9. Find the optimum solution to the following transportation problem in which
the cells contain the transportation cost in rupees :
W, Available
h 7 6 4 5 9 40
8 5 6 7 8 30
h 6 8 9 5 20
5 7 7 8 6 10
Required 30 15 20
Answer ; 7 x 30 + 6 x 10 + 5 x 20 + 6 x 10 + 9 x 5 + 6 x 15 + 8 x 5 + 6 x 5 = 635
10. Find IBFS by matrix minimum method to die following TP, each cells value
being the unit profit, arid find the corresponding profit Also compare your
results by any other method. [0U - MBA 90]
#i £>2 &% £*4 ^5 Avail
34 55 47 24 32 250
41 28 32 46 51 150
20 31 35 47 50 175
O± 53
53 35
35 26
26 I 28
28 39
39 125
Req. 130 280 110 60 120 700
Answer: 34 x 130 + 5 5 x 120 + 28 x 150 + 31 x 10 + 35 x 110
+ 47 x 155 + 28 x 5 + 39 x 120 = 26785
11. Find IBFS to the following TP using WWC, VAM and LCEM, each cell value
being cost, and find cost. [00 - MBA - 91]
Di D9 D% D4 D7i Avail,
17 n 12 20 8 300
16 9 10 15 14 180
18 19 9 11 12 145
13 15 14 16 15 130
Req, 200 250 150 SO 120
Answer: 1 7 x 2 0 0 + 1 1 x 1 0 0 + ! x 150+ 10 x 30 + 9x 120+ 11 x 25 + 16x55 = 8385
272 Operations Research : Theory and Practice
12. Find the initial basic feasible solution to the following T.P using VAM given the
COSt matrix [OU - MBA - Sep 2001, May 92]
D D2 Supply
20 25 2S 31 300
32 28 32 41 ISO
FA 18 35 24 32 110
3 5 2 4 4 40
Demand 22 45 18 30 135
14. A company has four factories situated in different locations and five ware houses
in different citites, The matrix of transportation cost (Rs. per unit) is given below
with capacity (unities) as factories and the requirement (units) of the ware
houses. [0U - MBA - Apr. 94]
Ware Req,
House IT III rv (Units)
A 4 8 7 6 J50
B 9 5 8 8 50
C 6 5 8 7 40
D 5 8 6 3 60
E 7 6 5 8 200
Capacity
100 80 120 100
Units
Find initial basic feasible solution by matrix method.
15, Find the initial basic feasible solution to the following transportation problem
given the unit cost matrix, using least cost entry methtjdu - MBA • Feb. 93, Sep. 99]
D, Supply
20 28 32 55 70 50
48 36 40 44 25 100
0, 35 55 22 45 48 150
Demand 100 70 50 40 80
Transportation Problem 273
16, Find the IBFS to the following transportation problem, Fiven the unit profit
Matrix, Using Vogel's approximation method, [OU - MBA - May 95]
Factory A B C Supply
i— 1 i I
10 8 8
r2 10 7 10
1] 9 7
12 14 10
Demand 10 10 8
17. Find an IBFS for the following transportation problem using- Vogel's
approximation method. Compare with the result of NWC,
[OU - MBA Apr, 93, Sep. 99, May 95]
D] D*} D% D4 Avail.
Sales Pnce 37 40 36
[Then proceed with creating a dummy row of (production) capacity 1800 and
2ero as cell cots. Notice that the given problem is non-standard, hence proceed by
assigning negative sign or subtracting from highest.]
274 Operations Research : Theory and Practice
22 200 2
18 125 3
Sales Office
Plant 1 1 1 5 9 4
Plant 2 9 7 8 3 (5
Plant 3 4 5 3 2 7
Find the production and distribution schedule most profitable to the company.
[IGN0U * MCA - June 1997, Dec. 99)
sub-contract 50% of its extra capacity and can supply at Rs. 20 hike in
transportation. Formulate TP and suggest the optimal policy for the case of
raised demand.
Hint: Create two more production centres at Nizaniabad and Hyderaad respectively
with 25% and 50% increased capacity and Rs, 10/- and Rs. 20/- hiked cost. Also
add increased demand to the markets. The following is the formulation,
Secunderabad Vijayawada Tirupathi Warangal Capacity
Hyderabad 20 40 25 30 200
Vishakapatnam 70 40 80 60 300
Nizamabad 50 70 30 40 500
Nizamabad-2 GO 80 40 50 125
(25% extra)
Hyderabad-2 40 60 45 50 100
(50% extra) J225
Demarvl 375 375 375
Determine the extent of deliveries from each of the factories to each of the
stores so that the total production and transportation cost is minimum.
[JNTU (Mech) 98]
22. A manufacturer has distribution at Agra, Allahabad and Kolkata. lliese centres
have available 40, 20 and 40 units of his product. His retail outlets require the
following number of units : A - 25, B - 10, C - 20, D - 30, E - 15,
The shipping cost per unit in rupees between each centre and outlet is given
in the table.
276 Operations Research : Theory and Practice
Retail Outlets
A B C D E
Agra 2 4 6 11 50
Allahabad 10 8 7 5 60
Kolkata 13 3 9 12 30
23, A company has three plants A, B> C which supplies to ware houses 1, 2, 3T 4, 5,
Monthly plant capacities are 800, 800,900 units respectively while the monthly
requirements at the warehouses are 400, 400, 500p 400, 800 units respectively.
The unit transportation costs are shown in table below.
24* A company has three plants A, B and C and four warehouses W+ X , Y and Z.
The number of units available at the plants are 15, 25 and 5 respectively and
the demand at warehouses are 5, 15, 15 and 10 respectively. The unit
transportation costs are as follows.
W X Y Z
10 0 20 11
Plants 12 7 9 20
0 14 16 13
26. Find optimal solution to the following TP given unit cost of transportation
matrix.
D, D2 D3 Supply
16 20 12 200
24 8 18 160
26 24 16 90
Demand 180 120 150
27. Find optimal solution to the following TP using VAM - MODI method each cell
value being the unit cost [0U - MBA - July 2000, Dec, 2000]
D4 Supply
C 35 41 28 16 20 285
14 21 28 SO 15 145
45 18 17 29 26 165
Supply
12 18 13 20 50
Oc 17 11 16 15 60
11 10 14 13 40
Demand 20 25 10 35
29- Find optimal cost of the following TP [0U - MBA Nov. 94]
1 2 3 Supply
42 27 24 35 50
46 37 32 32 60
40 40 30 35 40
Demand 40 20 60 30
278 Operations Research : Theory and Practice
30. Find OBFS of following TP. Using VAM for IBFS [ 0 U - M B A - S e p . 98]
31. Consider a TP with three ware houses and four markets warehouses capacities
are : Wi = 30, W2 = 70 and Wz = 50 market demands are : Mx = 40, M2 = 30,
M 3 - 40, Af4 = 40. The unit cost movement "in Rs. is given below.
M, M2 M4 Supply
20 20 20 10 50
W2 100 80 50 40 60
70 60 60 SO 40
Demand 40 20 60 30
32, A potato chip manufarturer has three plants and four ware houses. The
shipping costs are given below. Find optimal solution after using northwest
corner rule. [0U - MBA - Apr. 99]
Plants
Warehouses 1 Avail.
5 8 6 6 235
4 7 7 6 280
8 4 6 6 110
Req. 125 160 110 230 625
Thus in trans-shipment problem, sources will play the role of destinations also,
and destinations may be sources too. Thus a transportation problem of *mr sources
and V destinations will become a trans-shipment problem with (m + n) sources and
(m + n) destinations. i,e,, mxn matrix becomes (m + n) x (m + n) matrix.
And if total number of units transported is AT, then add this N at supply and
demand at each source as well as destination. Then the problem is solved as usually
with the rules of TT.
280 Operations Research : Theory and Practice
IUUSTRAT10N 23
A firm having two sources, S, and S2 wishes to ship its products to two
destinations Z>, andDr The number of units of units available atSs and S2 are 19
and 30 respectively while the demands at Dt and D2 are 25 and 15 units
respectively. The firm instead of shipping from source to destinations, decides to
investigate the possibility of trans-shipment The unit cost of transportation (in
Rs.) is given as follows:
From St to S& Dt andD2 : 3,4,5 respectively.
From S2 to / ) , andD2 : 3, S respectively
From DttoD2 :2
and the cost of upward shipment os same as that of downward shipment this
means cost ofSf andS2 is same as S2 to S} andso-on. (Symmetric)
* The total number of units available at Sj and S2 are (10 + $0 = 40) is e upl to
total demands at Dx and D2 (25 + 15 — 40), Thus maximum number of units
that can be shipped is 40 units. Since all the supply points (sources as well as
destinations) and demand points are able to supply this total number units,
these quantities are regarded as buffer stock and is added to all sources as well
as destinations at both availability and demand. Thus the TP is revised and
IBFS is then found by least cost entry method and then for OBFS, MODI
method is applied as follows :
Transportation Problem 281
D, Supply
40 +3 +1
50 0
0 3 4 5
+3 | 40
LL 70 0
3 0 3 5
+7 +6 | 40 0
40 _ i
4 3 0 2
+ 10 + 10 +4 40
5 5 9 0
Demand 40 40 65 55 200
vj 0 0 3 5
All the values of C y ' - (u- +v) > 0, the above T P has reached optimal solution.
T h e solution is SltoD2:l0 units x 5 Rs, = Rs. 50
S2 to D} : 25 units x 3 Rs, = Rs. 75
S2 to D2 : 5 units x 5 Rs. = Rs. 25
Totai = Rs. 150
However, 5 units of {D{ , Dx) cell can be transferred to cell (Du A>)- T h u s an
alternate solution that is in accordance with trans-shipment is as follows.
5, S2 Z), D2 Supply
| 40
50
0 3 4 5
30
70
3 0 3 5
[^ LL 40
4 3 0 2
| 40
D>
\ 5 | 5 2 0
Demand 40 40 65 55 200
Review Questions
1. Give the applications of transportation problem in the industries.
[JNTU - C5E 98, OU - MBA M 9 1 , F 93]
3. Bring out the relation between LPP and TP. [JNTU - Mech, 97/PJ
7. What is IBFS. Give step by step approach to find TBFS in a TP using Vogel's
approximation method. [JNTU EEE - 93 / OT]
8. Write the algorithm for finding IBFS in a T P using least cost entry method.
Give suitable example.
9. What is non-standard TP, How do you optimise in this case.
10. What is mearu by unbalanced TP. How do you find optimal solution in this case.
[FU - MBA 92, JNTU - Mech./Frod./Chem - 2001/Sl
12. Give step by step rules for stepping stone method for finding OBFS in a TP.
[OU - MBA - J 2000P S 2001]
13. Write the algorithm for MODI method. [JNTU - CSE 95/S]
14. Give flow chart to Find IBFS of T P using the following methods,
(a) NWCM (b) VAM (c) LCEM
15. Draw a flow chart to find OBFS of T P using
(a) Stepping stone method,
(b) MODI-method, [CSE - 92/s]
16. What is meant by a prohibited (restricted) TP, How do you proceed to find
OBFS in this case?
17. What is meant by a conditional TP. Explain with an example.
18. Write a short note on trans-shipment problem with an example.
[JNTU - Mech. 96, 97/P, 9S/C, CSE, 96, 97/S]
19. When d o you get multiple optimal solution in TP. Explain with an example,
how you identify this situation.
[Mech, 97/C 99/P,0U - MBA Dec 90, F 93, H 92, Sep. 2001]
Transportation Problem 283
20. Draw a flow chart for optimisation of TF including its initial solution.
21. When does degeneracy occur in TP?[0tl - MBA - 91 M, 94 D, 95 D, 95 M, J 2000, S 99]
22. What are the differences between general LPP and TP?
[0U * MBA - 95 Dec, $5 M, D 2000, Hay 99]
P Q R Supply
A 5 3 2 60
B 4 2 1 40
Dem. 20 30 50 100
(a) 200 (b)250 (c) 300 (d) 100
19. In the above T.P. matrix, the IBFS by LCEM gives a cost of
(a) 200 (b) 250 (c) 300 (d) none of the above
20. In which of the following method of finding IBFS, the top-left corner cell is
compulsory allocated
(a)VAM (b) ROW Minima (c) NWCM (d) LCEM
21. Which of the following is false in the case of loop drawn while optimising a T, P.
(a) every loop must have even number of corners
(b) a loop must have at least four corners
(c) closed loop may or may not be a square/rectangle
(d) the loop lines need not be horizontal and vertical lines
22. With reference to the loop draw while T.P. optimization, the minimum number
of corners is
(b)2 (c)3 (d)4
286 Operations Research : Theory and Practice
24. In the case of loop drawn while optimising TP, which condition is false
(a) each row must have only one minus and one plus sign
(b) loop must be closed
(c) loop must have odd number of occupied cells at its corner
(d) shape of loop must be square
25. In IBFS of the following transportation problem, the some figures were found
missing. Identify the missed cell C- Le., cell of itht row &ndjth column
30
5 6 30
40
3 2 A 50
60
7 5 70
40 50 60
27. For the T.P. given in Q. No. 25, the transportation cost by NWCM is
transportation,
3. The total supply must be equal to total demand, ill is condition is called
appear
7, In MODI method we use ut and v- such that cost of cell (C-j) = u{ + v> for
9. A TP is said to be balanced if
12. If some unoccupied cells have the costs such that Cj- - {u- + t/-) = 0, then theTP
may yidd
13. In restricted TP, we use the cost 71/f to the restricted cell with the condition that
14. The epsilon (€) used to resolve degeneracy is based on the conceptual
conduions given by mathematical expression as
20. AtransportatEonprobleminwhichavailablecommodityfrequentlymovesfrom
one source to another source or destination before reaching its actual
destination is called
Answers
Objective Type Questions:
Mb) 2.(c) 3. to 4,(c) 5. (b)
fi-(a) 7.(c) 8. to 9-(c> 10, (c)
11.(b) 12. id) 13. (d) 14. (d) 15. (b)
16. (b) 17-(d) 18, (b) 19, (b) 20. (c)
2L (d) 22. (d) 23. (d) 24> (d) 25.(d)
26. (c) 2r (d) 28. (d) 29. (c) 30. (b)
Fill in the Blanks :
1. cost/profit 2. northwest corner
3. rim condition 4. degeneracy
5, Vogel's approximation 6. lowest cost
7, all occupied cells 8, C'ij - im + vj) > 0 or C;j > w/ + yy
9. total supply = total demand 10. n(Ci>) = n ( r ) + - n ( 0 - 1
11. Penally 12. AJiernate or multiple optimal solution
13, M±tf.y=M 14. % ± e = a.ij ; e ?£ 0
15. m + v - 1 16. four
17. zero IS. 110, 20, 30, 50, 50
290 Operations Research : Theory and Practice
CHAPTER AT A GLANCE
Start
I
Express the problem in matrix form
Yes
Optimal solution
Stop
Assignment Problem 291
6.0 Introduction
In most cases the departments will have the specialists for operating certain
critical or sophisticated machinery/equipment while in some other cases any body can
operate any machine. Whatever the type of set up may it be, it is essential for a manager
to see that maximum work is to be derived from his man power resources, which are
precious and scarce. This can be done when and only when right job is given to right
man.
Generally, though any body can do any job, all the men will not have same
efficiency and knowledge on all the jobs. The same job, one may do fast while the
other may do it slowly or a person may do one job fast and other slow. Depending on
the variations of their efficiency on individual jobs, if the jobs are assigned according
to their efficiencies, the maximum output can be derived in minimum time. Often,
the assignment of these jobs will be done based on the experience and commonsense
of the plant engineer, which may result in success in some cases but not always. The
engineer will face the hardship if it leads to any loss and becomes so difficult to escape
from the situations because there will be neither any authentic record nor a
scientific/proven methodology to safeguard him in such situations. Moreover, the
organisation may experience the irreparable loss.
The scientific and proven method to assignment is Hungarian method. This
most suitable method for job shop production (Intermittent production), is developed
by Hungarian Mathematician D. Konig. It is also known as 'Floods' technique or 'Fast
food technique' It works on the principle of reducing the cost matrix to opportunity
costs which shows the relative penalties.associated with assigning resources to an
activity as opposed to making the best or least cost assignment. If we can reduce the
cost matrix to the extent of having at least one zero in each row and column, then it
will be possible to make optimal assignment. The algorithm is as follows.
(b) In the reduced matrix obtained from 3(a), locate the smallest element in
each column and then subtract from each element of that column. Each
row and column now must have at least one zero value (This may be used as
a check).
Step 4 : Assignment : Make assignments in the opportunity cost matrix using the
following procedure.
(a) Examine rows successively until a row with exactly one unmarked zero is
obtained. Make an assignment to the single zero by making a square (D)
around it.
(b) For each zero value that becomes assigned, cross out (x) all other zeros in
the same row and/or column.
(c) Repeat steps 4(a) and 4(b) for each column also with exactly single zero
value cell that has not been eliminated.
(d) If a row/or column has two or more unmarked zeros, then choose the zero
arbitrarily.
(e) Continue this process until all zeros in rows/columns are either enclosed
by square (assigned) or crossed out by x.
Step 5 : Optimally Criterion : If the number of assigned cells is equal to the number of
rows/columns, then it is an optimal solution. The total cost (or profit in the case
of maximisation) associated with this solution is obtained by adding original
cost (or profit) figures in the occupied cells. If no optimal solution is found then
go to step - 6.
Step 6 : Marking /Draw a set of horizontal and/or vertical lines to cover all the zeros in
the revised cost table obtained from.step -5 using the following procedure.
(a) Mark (* or S ) the row(s) in which no assignment was made.
(b) Examine the marked rows. If any zeros occur in those rows, mark a tick
or star to the respective columns that contain those zeros.
(c) Examine marked columns. If any assigned zero occurs in those columns,
then tick the respective rows that contain those assigned zeros.
(d) Repeat this process until no more rows/column can be marked.
(e) Draw a straight line through each marked column and each unmarked row.
Remember :
Draw lines on 'URMC i.e., Unmarked Rows and Marked Columns. If the number of
lines drawn is equal to the number of rows or columns, then the current solution is
the optimal solution, otherwise go to step-7. (This checking of number of lines can be used
as a check point here).
Step 7 : Revising : Develop the new revised opportunity cost table.
(a) Among the cells not covered by any line, choose the smallest element say,
k, the key element.
(b) Subtract k from every element in the cell not covered by a line.
(c) Add k to every element in the cell covered by the two lines, i.e., intersection
of two lines.
(d) Elements in cells covered by one line remain unchanged.
Assignment Problem 293
Start
Yes
FIGURE 6.1 : FLOW CHART OF STEPS IN THE ASSIGNMENT METHOD (HUNGARIAN METHOD OR FLOODS TECHNIQUES)
294 Operations Research : Theory and Practice
Machine
Lathe Milling Grinding Drilling
Operator
Venkat 8 24 17 11
Shyam 13 28 4 26
Sundar 38 19 18 15
Raju 19 26 24 10
How should the repair tasks be allocated to the operators to minimise the total
man-hours.
Solution i
Step 1 : Standard Form ; As the given matrix is to minimise (man-hours) the assignment
is in the standard form. Therefore we can proceed directly.
Step 2 ; Balance Checking : The given Assignment Problem (AP) is balanced as number
of rows (4) = number of columns (4).
Step 3 : (a) Row Iteration : Select the least of each row and subtract from the
corresponding row elements.
Machine Lathe Milling Grinding Drilling
Operator
Venkat 0 16 9 3
Shyam 9 24 0 22
Sundar 23 4 3 0
Raju 9 16 14 0
(b) Column Iteration : Now, in the reduced matrix given above, select least
number of each column and subtract from its column members of row
iterated matrix.
Machine Lathe Milling Grinding Drilling
Operator
Venkat .0 12 9 3
Shyam 9 20 0 22
Sundar 23 0 3 0
Raju 9 12 14 0
Assignment Problem 295
Step 4 : Allocation : Assign the repair jobs to the men by putting the box or rectangle
( L_l) over the zeros. While allocating in this way, see that each row/column get
one and only one assignment. When a zero is enrectangled, the other zeros of
its row and column are to be crossed out. (Normally, we give preference to
allocate those zeros which are only one available in a row/column).
Venkat 0 12 9 3
Shyam 9 20 0 22
Sundar 23 0 3 X
Raju 9 12 14
Find the optimum assignment and associated cost using the assignment
technique.
Step 1 : Standard Form : As the given matrix is to minimise (cost), the assignment is in
the standard form. Therefore we can proceed directly.
Step 2 : Balance Checking : The given assignment problem (AP) is balanced as number
of row (5) = number of columns (5).
Step 3 : (a) Row Iteration : Select the least of each row and subtract from the
corresponding row elements.
296 Operations Research : Theory and Practice
Machines
3 4
A 3 9 0 8 12
B 3 1 6 0 9
Jobs c
1 4 3 0 4
D 4 7 0 11 9
E 4 0 2 1 5
(b) Column Iteration : Select least number of each column and subtract from
its column members.
Machines
1 2 3 4 5
A 2 9 0 8 8
B 2 1 6 0 5
Jobs
C 0 4 3 0 0
D 3 7 0 11 5
E 3 0 2 1 1
Step 4 : Allocation : Assign the jobs to the machines by putting the box or rectangle
(Gil) over the zeros. While allocating in this way, see that each row/column get
one and only one assignment. When a zero is enrectangled, the other zeros of
its row and column are to be crossed out (X) (Normally, give preference to
allocate those zeros which are only one available in a row/column).
Step 5 : Optimality Criterion : As the number of assigned cells is not equal to the number
of rows/columns, the optimal solution is not obtained. Qob D is not assigned to
any machine and machine 5 is left unassigned). Hence we move to the next step.
Machines
Jobs A
D n
E
Assignment Problem 297
Step 6 : Marking: Draw a set of horizontal and vertical lines to cover all the zeros in the
revised cost table obtained from step-5 using the following procedure.
(a) Mark ( S ) the row in which there is no assignment i.e., Row 'D'
(b) If any zeros occur in Marked row, mark the respective columns that contain
those zeros, i.e., row 7)' has zero in col. 3: Therefore mark col. 3.
(c) If any assigned zero occurs in marked column, then tick the respective
rows that contain those assigned zeros. Here marked column i.e., col. 3.
has assigned zero in first row i.e., Row A. So mark it.
(d) Repeat this process until no more rows/columns can be marked (no more).
(e) Draw a straight line through each Marked Column i.e., col. 3 and each
Unmarked Rows. i.e., col. B, C and E
(If the number of lines drawn is equal to the number of rows or columns then
the current solution is the optimal solution, otherwise go to step-7).
As the number of minimum lines connecting all the zeros (4) is less than the
number of rows/columns (5) we move to step - 7 to revise the matrix.
(c) Add 2 to every element in the cell covered by the two lines, i.e., intersection
of two lines.
Machines
1 2 3 4 5
i—i
Jobs A
B 1
E
298 Operations Research : Theory and Practice
Since all the jobs are assigned and all the machines are assigned, the optimal
solution is arrived. The optimal solution is shown in the tabular form.
ILLUSTRATION 3
Find the minimum cost assignmentfor the following problem, explaining each
step.
Workers 1 11 111 IV V
A 6 5 8 11 16
B 1 13 16 1 10
C 16 11 8 8 8
D 9 14 12 10 16
E 10 13 11 8 16
Steps 1 &2: As the given A.P has cost matrix i.e to minimise, it is the standard form. Also
as no. of row=no. of columns, given A.P is balanced.
Jobs
Workers I II III IV V
A 6 5 8 11 16
B 1 13 16 1 10
C 16 11 8 8
00.
D 9 14 12 10 16
E 10 13 11 8 16
Assignment Problem 299
Step 3 : (a) Row Iteration : Select least member of each row and subtract in its
corresponding row members.
I II III IV V
A 1 0 3 6 11
B 0 12 15 0 9
C 8 3 0 0 0
D 0 5 3 i 7
E 2 5 3 0 8
(b) Column Iteration : Select least no. of each column and subtract from
members of corresponding column.
—> Since every column is having a zero, this step results in the same matrix as
that Step 3 (a).
I II III IV V
A 1 0 3 6 1
B x 12 15 .0 9
C 8 3 0 X 0
D 0 5 3 1 7
E 2 5 3 0 '8
Step 5: Marking : As worker B is not assigned & Job V is unassigned, we move towards
optimization by marking by following rules.
(c) Mark the row in which marked columns have the assignment i.e., rows D
8c E and strike off unmarked rows and marked column by a line.
300 Operations Research : Theory and Practice
n III IV V
A •y - A--- $ - H
B 12 15 9
C -Pol-
D
All die zeros are connected with zeros and the number of lines (4) is less than the
no. of rows/columns. (5) Hence move towards step 6.
Step 6 : Optimisation: For finding optimal solution we iterate the above table as follows.
(a) Identity least digit of unlined numbers, i.e., 3.
(b) Subtract this number in all unlined numbers,
(c) Add this member at the intersected numbers (junctions of two lines).
(d) Keep all others (lined) unaltered.
Step 7: Repeat step 4 i.e., allocation
I II III IV V
There are fivejobs to be assigned on each to 5 machines and the associated cost
matrix asfollows. II III IV
A 11 17 8 16 20
B 9 7 12 6 IS
Jobs
C 13 16 15 12 16
D 21 24 17 28 26
E 14 10 2 11 15
Find the optimum assignment and the associated cost using the Assignment
Technique.
Solution :
Step 1 &Step 2 : Already standard and balanced, hence proceed to step 3:
Step 3 (a): Performing row Iteration we get.
II III IV
3 9 0 8 12
3 1 6 0 9
Jobs 1 4 3 0 4
4 7 0 11 9
4 0 2 1 5
D 3 7 )^' 11 5
3 ©^ ^ 1— -1
r
Step 5 : Revising and improvin
I II III IV
A [o] 7 X 6 6
B 2 1 8 [o] 5
C X 4 5 X QD
D 1 5 9 3
E 3 foi 4 1 1
Solution : A -> 1 ; Total min cost = 60
A company has 4 territories and four salesmen for assignment The territories
are not equally rich in their sales potential It is estimated that a typical salesman
operating in each territory would bring thefollowing annual sales.
Territory I II III IV
Annual Sales (rs) 60000 50000 40000 30000
The four salesmen are also considered to differ in ability, it is estimated that
working under same condition their yearly sales could be proportionately as
follows.
Sales man A B C D
Proportion OJ 0.5 0.5 0.4
If criteria is to maximise expected sales, the intuitive answer is to assign the best
salesman to the richest territory and next best to second richest and so on. Verify
this answer by assignment technique.
[Dr. BRAOU - MBA 98, JNTU (Mech) - FDH-94]
Formulation :
The sales performance of each sales man in various territories can be calculated
as sample calculation shown below.
In order to provide ease in calculation let us calculate for 2.1 years instead of
1 year and consider the figures in thousands. Thus we remove three zeros in numerator
and 2.1 in the denominator. Thus the formulation of the assignment is as follows.
\Salesman A B C {)
Territory
I 42 30 30 24
II 35 25 25 20
III 28 20 20 16
IV 21 15 15 12
Standardization :
As the given figures represent the sales (per thousands of Rs. in 2.1 years) and
sales are to be maximised, it is in non-standard form. To standardise this, (i) we change
the signs of all the cell values or (ii) Subtract all values from highest. We use (ii) here
to find equivalent cost matrix.
A B C D
I 0 12 12 18
II 7 17 17 22
III 14 22 22 26
IV 21 27 27 30
Balance Checking :
In the above AP, we have four territories (rows) and four salesman (columns),
therefore it is balanced. We proceed to the next step.
II . 0 10 10 15 II 0 4 4 6
III 0 8 8 12 III 0 2 2 3
IV 0 6 6 •9 IV 0 0 0 0
Assignment Problem 305
I 6 (3 9 </
11 4 4 6 s
in (.) 2 9
v> s
IV - x-
Revised mairix anclrealk)catk)ii (repeating above step)
A B C D
I 4 4 7
II 2 2 4
III « ^ _ m
i ^i 1
IV
S-- ~ 0—
II 0 GO X 9 II X X IJD 2
III 2 X 1 III 9
[o] X 1
rv 4 X X IV 4 X X 1 °l
There are two solutions possible in the above AP. The solutions are I-A, II-B,
III-C and IV-D or I-A, II-C, III-B and IV-D. The. profits will be as follows :
Territory Solution -) Solution - U[
Sales man Profit Sales man Profit
I A 42000 A 42000
=20000 = 20000
2.1 2.1
II B 25000 B 20000
11904.76 = 9523.81
2.1 2.1
Til C 20000 C 25000
= 9523.81 = 11904.76
2.1 2.1
rv D 12000
= 5714.28
D 12000
= 5714.28
2.1 2.1
Total sales in (Rs. ) 47142.82 47142.82
306 Operations Research : Theory and Practice
62.2 Unbalanced Assignment Problem
An assignment problem is said to be unbalanced if the number of rows is not
equal to the number of columns. Number of row n (r) = Number of columns n (c)
balanced AP. Number of rows n (r) ^ number of column n (c) unbalanced AP.
In unbalanced AP, we notice that either number of jobs are greater or lesser
than number of men or machine. In such case, a dummy row/column will be created
with zero costs to each cell. Observe the following example to convert unbalanced AP
to balanced AP.
/l xn X
12 *13 xn x
\t *13 0
h xn x22 X
23 h X
2\ xn ^23 0
h X
31 *32 #33 h X
31 X
33 0
Similarly, if jobs are less, we create a dummy row with zero costs.
After converting into balanced AP, the solution can be obtained by usual steps
given in the algorithm 6.1.
It is explained through following illustrative example.
ILLUSTRATIOfti 8 — — — — -
Raju and Co has four lathe machines on which four workers operate. Any
worker can operate any machine but due to the difference in skill and machine
complexity the time of operation varies. The average times in hours when same
job done on each machine by each worker is given below:
Li L2 L4
7 6 4 9
w2 5 5 8 8
w3 4 5 4 6
w4 7 8 5 8
Assignment Problem 307
Here, we have two sub-problems. One is to find optimal solution for existing
machines and workers and second is to verify if any machine is to be replaced. The
first one is balanced while the second is unbalanced AP.
(a) The given problem is standard since we have to minimise the time of operation.
Also, it is balanced since it is a square matrix. The number of lathes (4) =
number of workers (4). Therefore we find the opportunity cost matrix by re y
and column iterations as shown below.
Row Iteration : Column Iteration .
L2 L4
3 2 0 5
0 0 3 3
0 1 0 9
w.
wA 2 3 0 3 w4
Now, we assign as follows. Also marking is done since H74 and L 4 are not
assigned.
J-t[ -L/2 ^$ •*-J4
1±r
wA 2
L_L
Total cost j 21
wx 6 4 9
w9 5 .*) I? 8
4 5 4 «> o
7 8 j 8 0
D 0 0 0 0 0
No. of rows (4) * No. of col. (5)
.. we i-idci a dummy worker (D) with zero times.
NY AW we fuid the opportunity cost matrix by row iteration. [Column iteration
is no iv.rcssary siine we have zero in every column].
N
W, 3 9 0 5 0
0 0 3 3 0
0 1 0 9 9
9 3 0 1
D 0 0 0 0
Allocation
h N .
3 9
X 5
X 0 3 3 X
0 1 X 9 9
9 3 0 3 1
D X X X 0 X
Assignment Problem 309
As there is a unique zero in fourth column (5th row), Ave assign this. Obviously:
other zeros in fifth row will be crossed out which makes zero at (W2, L2) unique in the
column. Then on assigning this, zeros at (W2> Lx) and (W2, N) will be crossed oi 11. Now
zeros at (W$, Lj) and (W^t N) are unique in their columns. Assignmg them, we cross
out zeros at (W$, L3) and (Wx, L3). Obviously zero at (W±tL$) is the remaining option
to allocate. Thus we get the optimal solution as follows. [You can also procede starting
with (Wfy L3), which is unique in its row].
Optimal Solution :
wx New lathe 4
w2 5
w. 4
w4 5
Total 18
If we can connect all the zeros as the corners of a rectangle or a closed loop
provided the alternate corners occupy assigned, or allocated zeros, then we get
alternative optimal solution by shufling assignment from one coiner to the next.
In illustration - 3, we can connect zeros of cells (B, I), (B, IV), (E, IV), (E, III),
(D, III). By shifting the assignment rectangle by one unit along the loop we get
alternative solution. Thus the other possible solution is A - II, B - IV, C - V, D -1, E - III
get another solution shifting assignment by one cell i.e., (B, I) to (B, IV); (E, IV) to
(E, III) and (D, III) to (D, I). Similarly you can find in illustration - 5 as shown.
1. Given Matrix is unbalanced. Hence we introduce two dummy rows with zero
profit.
2. Given assignment is to maximise the profit. Hence it is to be converted to
equivalent cost matrix by multiplying with (- 1) to all the cells and rewrite.
A B C D E
1 -6 -8 - 5 -10 -7.5 Multiplied by (-1) in all
2 -7 -7 the cells to convert into
-8.5 -6 -6.5
equivalent cost matrix.
3 -5 -6.5 -9 -8 8.5
*>i 0 0 0 0 0
D2 0 0 0 0 0
Row Iteration:
4 2 5 0 2.5 - 10 is subtracted
1.5 0 2.5 1.5 9 - 8.5 is subtracted
4 2.5 0 1 0.5 - 9 is subtracted
0 0 0 0 0
0 0 0 0 0
Note : Column iterations not necessaiy as every column has zero.
Allocation ;
4 2 5
0 2.5
1.5 |~o] 2.5 1.5 2
4 2.5
0 1 0.5
0 X X X X
X X X X
1 _ D — 10
2 — B — $.5
3 —C — 9
Total Profit Units 27.5
Assignment Problem 311
Solution ;
In the above assignment matrix, it is to minimise the time i.e., in standard form.
Further it is balanced since the number of lecturers (5) is equal to the number of
branches.
But as Mrs. Aparna refuses to deal CSE and CSIT's do not accept Mr. Prasad,
these two cells will be assigned an unaffordable penalty, say M such that
=M-a = M.
Now we have the matrix as
ECE EEE CSE CSIT MECH
Mrs. Aparna 50 50 M 20 60
Dr. Raju 70 40 20 30 40
Mr. Prasad 90 30 50 M 30
Mr. Rajesh 70 20 60 70 20
Mr. Laxman 60 50 70 90 10
We now calculate opportunity cost (in terms of time) matrix by row iteration
and subsequent column iteration.
312 Operations Research : Theory and Practice
Row Iteration :
ECE EEE CSE CSIT MECH
Mrs. Aparna 30 30 M 0 40
•Dr. Raju 50 20 0 10 20
Mr. Prasad 60 0 20 M 0
Mr. Rajesh 50 0 40 50 0
Mr. Laxman' 50 40 60 so 0
Column Iteration :
ECE EEE CSE CSIT MECH
Mrs. Aparna 0 30 M 0 to
Dr. Raju 20 20 0 10 20
Mr.-Prasad. 30 0 20 M 0
Mr. Rajesh 20 0 40 50 0
Mr. Laxuian 20 . 40 60 80 0
Mrs. Aparna 0 - 30 M A 40
Mr. Prasad 30 0 20 M M
Mr. Laxman 20 40 00 80
Note that in the unassigned row (Rajesh), Ave have two zeros, therefore we mark
two columns. EEE and Mech and thence mark the row Prasad and Laxman which
have assignments in the marked columns.
On revising and reallocating the above matrix, we get.
ECE EEE CSE CSIT MECH
Note: Observe the rectangular loops that can be constructed with zeros loop-1 :
C
35
: C
41 C
5b 5V Tllus we
S one
alternate solution to each loop. (Loop 2 is otherwise
Solution ":
Here, along with the regular assignment problem, we have a condition to be
checked. Let us consider the condition as fifth alternative for SNIST with the
discounted prices and create a dummy route. Now, if the discounted row is allocated
any route, we consider the offer otherwise we reject. Here, we have to remember that
the condition is implied for additional route. Thus Pradeep travels must be allocated
to at least one route and can not occupy the dummy route in first route. Thus we take
M for Pradeep at dummy.
K M Dummy
4 5 7 6 M
R 10 5 4 4 0
H 3 6 2 5 0
L 6 4 4 5 0
F (Discounted) 3 4 6 5 0
Row Iteration : Column Iteration :
K S M C D K S M C D
p 0 1 3 2 M P 0 0 1 0 M
R 10 5 4 4 0 R 10 4 2 2 0
H 3 6 2 5 0 H 3 5 0 3 0
L 6 4 4 5 0 L 6 3 2 3 0
F 3 4 6 5 0 F 3 3 4 3 0
Allocation and Marking Revised Matrix, its Allocation and Marking :
K S M K S M C D
Note: In above matrix (right side) observe the marking. First, we marked F for not having
assignment, and then marked the fifth column as the marked row has zero in this
column. This marked column (5th column) contains assigned zero at 4th row (• of L) and
hence 4th row (L) is marked. But here, this row L has one more zero at third column
(i.e., col. M) and we have to consider this also. Therefore we mark third column (M) and
subsequently the third row (H) as the assigned zero of marked column, appears at
(//, M) i.e., in row H. Thus marking is finished and then draw the lines on unmarked
rows and marked columns. As we have four lines only, we revise the matrix again. The
allocation in revised matrix is shown below.
Assignment Problem 315
K S M C D
p 0 X 2. X M
R 8 2 1 0 1
H 2 4 2 2
L 3 X X X
;
0
F X 0 2 x X
The institution has two options now, as understood from the above table.
Option -1 : Allocate routes Koti and Secunderabad to Pradeep Travels and delete Lavanya
Transport.
Option - 2 ; Allocate Pradeep Travels to Koti route and Lavanya transport to Secunderabad
route denying second route to Pradeep Travels.
Cost Calculation :
Si s2 S3 s4 s5
302 302 303 302 301
303 304 301 305 302
304 305 304 304 304
301 305 303
302
Most of the students did not list all the five rooms since they were not satisfied
with some of these rooms and they have left off thesefrom the list Assuming that
their preferences can be quantified, find out the best possible arrangement so
that their totalpreference ranking is minimum.
!So\uYiov\ :
The formulation for the above problem in the assignment fonn is as follows.
The figures m the matrix are the ranks given by each student leader to each
lecture hall.
s2 S4
301 - 4 2 - 1
302 1 1 5 1 9
303 9 - 1 4 -
304 3 9 3 3 3
305 - 3 4 9 -
Row Iteration
s
\ h h h h
301 M 3 1 M 0
302 0 0 4 0 1
303 1 M 0 3 M
304 1 0 1 1 1
305 M 1 2 0 M
Assignment Problem 317
The column iteration is not required since every column has at least one zero.
Therefore we proceed to allocate.
5, h s4 h
301 M 3 1 M 0
302 0 X 4 X 1
303 1 M 0 3 M
304 1 0 1 1 1
305 M 1 9
0 M
From the above table, we have arrived the optimal solution as follows.
301 to % -302 to S,; 303 to % 304 to S2 and 305 to S4
* A typical problem, with maximisation, unbalanced and.restricted /'conditional assignment
problem is explained in the following illustrative example.
ILLO STRATSOm 11
The Indian Cricket captain Rahul Dravid has to decide firstfive batting positions
from the following five batsman whose average runs in various positions,
estimated from the past records is given below. Help him in assigning batting
order.
Position
Batsmen
II III IV
Mahendra S. Dhoni 40 40 35 25 50
Sachin Tendulkar 42 30 16 25 27
Rahul Dravid 50 48 50 60 50
V. Sehwag 20 19 20 18 25
WS. Laxman 58 60 59 55 53
If another batsman Yuvraj Singh with the following batting order positions and
corresponding record of average runs, is also considered, find the optimum
assignment (He neverplayed in the Vposition and treat that it is risky). If Yuvraj is
to be retained in the team then which of the current five batsmen will be out? What
is the change in number ofruns now?
Batting Position I II III IV V
Average runs 45 52 38 50 -
318 Operations Research : Theory and Practice
Solution :
Step 1 : Standard Form : As the given matrix is to maximise (runs) the assignment is not
in the standard form. Therefore we make it as standard form (equivalent cost
matrix) by subtracting every element from highest amongst all.
I II III IV V
M.S. Dhoni 20 20 25 35 10
Sachin Tendulkar 18 30 44 35 33
Rahul Dravid 10 12 10 0 10
V. Sehwag 40 41 40 42 35
WS Laxman 2 0 1 5 7
Step 2 : Balance Checking : The given assignment problem (AP) is balanced as number
of rows (5) = number of columns (5).
Step 3 : Preparing Opportunity Cost Matrix :
(a) Row Iteration : Select the least of each row and subtract from the
corresponding row elements.
I II III IV V
M.S. Dhoni 10 10 15 25 0
Sachin Tendulkar 0 12 26 17 15
Rahul Dravid 10 12 10 0 10
V. Sehwag 5 6 5 .7 . 0
WS Laxman 2 0 1 5 7
(b) Column Iteration : Select least number of each column and subtract from
its column members.
I II III rv V
M.S. Dhoni 10 10 14 25 0
Sachin Tendulkar 0 12 25 17 15
Rahul Dravid 10 12 9 0 10
V. Sehwag 5 6 4 7 0
WS Laxman 2 0 0 5 7
Step 4 ; Allocation : Assign the batting positions to the batsmen by putting the box or
rectangle ( EH ) over the zeros. While allocating in this way see that each
row/column get one and only one assignment. When a zero is enrectangled, the
other zeros of its row and column are to be crossed out. (Normally we give
preference to allocate those zeros which are only one available in a row/column).
Assignment Problem 319
I II III rv V
M.S. Dhoni 10 10 14 14 0
Sachin Tendulkar 0 12 25 17 15
Rahul Dravid 10 12 9 0 10
V. Sehwag 5 6 4 7 X
W S Laxman 2 0 X 5 7
Step 5 ; Optimality Criterion : As the number of assigned cells not equal to the number
of rows/columns, the optimal solutions not obtained. (V. Sehwag is not assigned
to any position and position III is left unassigned). Hence we move to marking.
Step 6 : Marking : Draw a set of horizontal and vertical lines to cover all the zeros in
the revised cost table obtained from step - 5 using the following procedure.
Mark {/) V.Sehwag's row since there is no assignment. In this row, there is a
zero in col. V and so mark col. V. Again in col. V there is assignment with first row (S.
Ganguly), Therefore mark first row.
Draw a straight line through each marked column and each unmarked row, i.e.,
on 2nd, 3rd and 5 th rows and column V.
I II III
M.S. Dhoni
Sachin Tendulkar
Rahul Dravid
V. Sehwag
W S Laxman
As the number of minimum lines connecting all the zeros (4) is less than the
number of rows/columns (5) we move to step - 7 to revise the matrix.
Step 7 : Revising : Develop the new revised opportunity cost table.
Among the cells not covered by any line, choose the smallest element, this value
is 4. Subtract 4 from every element in the cell not covered by a line. Add.4 to every
element in the cell covered by the two lines, i.e., intersection of two lines. Elements in
cells covered by one line remain unchanged.
320 Operations Research : Theory and Practice
The number of runs is now to be read from the original matrix and the total
runs are calculated as follows :
Position Name of the Batsman No. of Runs
I Sachin Tendulkar 42
II W S Laxman 60
III V. Sehwag 20
IV Rahul Dravid 60
V M.S. Dhoni 50
TOTAL 5 Batsmen 232
Now, if Yuvraj Singh (with the averages 45, 52, 38 and 50 runs in first four
positions and never went in fifth position) is considered, the given assignment
becomes unbalanced. T o balance we create a dummy position VI in which no batsman
will make any runs (i.e., assigned zeros to all the batsmen), {step - 1}
II III IV V VI
M.S. Dhoni 40 40 35 25 50 0
Sachin Tendulkar 42 30 16 25 27 0
Rahul Dravid 50 48 50 60 50 0
V. Sehwag 20 19 20 18 25 0
WS Laxman 58 60 59 55 53 0
Yuvraj Singh 45 52 38 50 - 0
Now, the problem is converted into the standard form i.e., equivalent cost
matrix.
I n III IV V VI
M.S. Dhoni 20 20 25 35 10 60
Sachin Tendulkar 18 30 44 35 33 60
Rahul Dravid 10 12 10 0 10 60
V.~ Sehwag 40 41 40 42 35 60
WS Laxman 2 0 1 5 7 60
Ywvraj Singh 15 8 22 10 M 60
Assignment Problem 321
As it is risky to allocate the batsman Yuvraj Singh to fifth position and to avoid
this, we put an unaffordable penalty cost M to this cell in the standard form i.e., in
equivalent cost matrix.
Column iteration
I II III IV V VI
M.S. Dhoni 10 10 14 25 0 25
Sachin Tendulkar 0 12 .25 17 15 17
Rahul Dravid 10 12 9 0 10 35
V. Sehwag 5 6 4 7 0 0
W S Laxman 2 0 0 5 7 35
Yuvraj Singh 7 0 13 2 M 27
Allocation :
I II III IV V VI
M.S. Dhoni 10 10 14 25 25
Sachin Tendulkar
0 12 25 17 15 17
Rahul Dravid 10 12 9 0 10 35
V. Sehwag 5 6 4 7 X 0
W S Laxman 2 X 0 5 7 35
Yuvraj Singh 7 13 2 M 27
As every row and every column are assigned (the total number of assignments
i.e., 6 = the number of rows or columns i.e., 6) the optimal solution is obtained. The
allocation is as follows.
322 Operations Research : Theory and Practice
With the entry of Yuvraj Singh in second position, the other positions are
readjusted and V. Sehwag (allocated to dummy) is deleted. The increase in total runs
is 31. (i.e., 232 to 263).
Remarks :
1. In the above problem, if it so comes that Yuvraj Singh is allocated to the dummy
position then he should not be taken into the team.
2. If it is insisted that Yuvraj Singh must be included in the team in the problem
(compulsory conditional assignment) the problem can be solved by assigning
unaffordable highest penalty cost M to dummy cell against Yuvraj Singh.
Delhi-Jaipur Jaipur-Delhi
Flight No. Departure Arrival Flight No. Departure Arrival
1 ZOO AM 8.00 AM 101 8.00 AM 9.15 AM
2 8.00 AM 9.00 AM 102 830 AM 9.45 AM
3 130 P.M 2.30 P.M 103 12.00 Noon 1.15 P.M
4 6JO RM 730 P.M 104 530 P.M 6.45 P.M
For each pair, mention the town where the crews should be based ?
[JNTU-(Mech) 99/CCC, (ECE) 99/CCC]
Assignment Problem 323
.Solution :
As the service time is constant, it does not affect the stationing the crew. If all
crew members are asked to reside at Delhi (so that they start from Delhi and come
back to Delhi with minimum halt at Jaipur), then the waiting times at Jaipur for
different service time connections is shown in the following table (the figures shown
are hours). If the difference is less then 5, then it is calculated for the next day.
ITERATION TABLEAU 1 (a):
101 102 103 104
1 24 24.5 28 9.5
2 23 23.5 27 8.5
3 17.5 18 21.5 27
4 12.5 13 16.5 22
Similarly if the crew is assumed to reside at Jaipur (so that they start from Jaipur
and come back with minimum waiting time at Delhi), the table showing the waiting
times of service line connections is :
ITERATION TABLEAU Kb}:
1 2 3 4
101 21.75 22.75 28.25 9.25
102 21.25 22.25 27.75 8.75
103 17.75 18.75 24.25 5.25
104 12.25 13.25" 18.75 23.75
As the crew may be asked to either reside at Delhi or Jaipur, the minimum
waiting time from Table l(a) and l(b) can be obtained for different flight connections
by choosing the minimum value of the two corresponding waiting times, provided the
value is more than 5 hours (the desired lay over time or rest). Tliese are illustrated by
encircling in the following tableaus
Note : Thefiguresof matrix l(b) are to be transposed to compare the matrices before selecting the minimal
values.
Delhi Matrix Jaipur Matrix
101 102 103 104 101 102 103- 104
24 24.5 28 ' • " ' — ^ \
ITERATION TABLEAU 2 :
101 102 103 104
1 21.75 21.25 17.75 9.5*
2 22.75 22.25 18.75 8.5*
3 17.5* 18* 21.5* 18.75
4 9.25 8.75 5.25 22*
Star (*) marked are residing at Delhi a n d others at Jaipur.
Now, applying Hungarian Method.
ROW ITERATION
101 102 103 104
12.25 11.75 8.25 0
14.25 13.75 10:25 0
0* 0.75 4 1.25.
4 1.25 4.75 16.75
Star (*) marked are residing at Delhi.
ASSIGNING & MARKING REVISION AND RE-AlLOCATiON
101 102 103 1,04 101 102 103 104
Important Note : Observe typical marking in the above table (right side).
Marking: We start with marking 4th row as it has no assignment. In the marked
(4th) row, there is a zero in 3rd (i.e., F. No. 103) column. So we mark this. We have
assignment at (1, 103) in the marked column (103) and so 1st row is marked.
Now, sine 1st row (marked) contains one more zero at (1, 104) we have to mark
co. 104. Subsequently we mark 2nd row as the marked column (104) has assigned zero
in 2nd row. With this marking is complete and then put line over unmarked row (3rd)
and marked columns (103 & 104)
RE-REVISING AND ALLOCATING
101 102 103 104 There are two solutions
%
1 0 " X Solution -1: 1 - 102, 2* - 104, 3* - 101 & 4 - 103
3 2 2
0 Solution -2: 1 - 103, 2* - 104, 3* - 101, 4 - 102
The pattern of optimal assignment among the routes with respect to the waiting
time (in hours) is given in the following table.
Crew Residing at Solution - 1 Solution - 2
Route No. Layover Route No. Layover
1 Jaipur 1 to 102 21.25 1 to 103 17.75
2 Delhi 2 to 104 8.5 2 to 104 8.5
3 Delhi 3 to 101 17.5 3 to 101 17.5
4 Jaipur 4 to 103 5.25 4 to 102 8.75
Total Layover 52.5 52.5
To Item
C D
A a 4 7 3 4
B 4 a 6 3 4
From Item
C 7 6 a 7 5
D 3 3 7 a 7
E 4 4 5 7 a
If he produces each type of item once and only once each week, how should he
sequence the item on his machine in order to minimise the total set up cost
[JNTU (Mech) 99/CCC, (ECE) 99/CCC]
Solution
With usual algorithm of assignment (Hungarian method), Find the solution.
Here, the elements along principal diagonals (a's) are ignored for calculations.
326 Operations Research : Theory and Practice
Modify the above table by subtracting the lowest unlined element i.e. 1fromall
the elements not covered by lines and adding the same at the intersection of two lines.
D
Solution :
T h e above TP is first converted into assignment model. For this we consider
each bus in each row and each column. This is done as follows.
Univ College BKP MP KP KG Required
Dr. BRAOU 10 10 12 15 15 11 1
8 8 9 7 7 12 1
OU
8 8 9 7 7 12 1
6 6 9 8 8 10 1
JNTU
6 6 9 8 8 10 . 1
KU 6 6 7 6 6 6 1
Available 1 1 1 1 1 1
Now the above assignment problem is solved by usual procedure as follows :
Since the given AP is standard (minimising distance) and balanced (row = 6 =
columns), we proceed to row/column iteration to find opportunity matrix.
ROW ITERATION
Univ. College BKP1 BKP2 MP KP1 KP2 KG
BRAOU 0 0 2 5 5 1
OUj 1 1 2 0 0 5
ou2 1 1 2 0 0 5
JNTU t 0 0 3 2 2 4
JNTU 2 0 0 3 2 2 4
KU 0 0 1 0 0 0
328 Operations Research : Theory and Practice
COLUMN ITERATION
Univ. College BKP1 BKP2 MP KP1 KP2 KG
BRAOU 0 0 1 5 5 1
ouL • • 1 • ~ 1 1 0 0 5
ou2 1 1 1 0 0 5
JNTUj 0 0 2 2 2 4
JNTU2 0 0 2 2 2 4
KU 0 0 0 0 0 0
JNTU2
KU
From the above table, we can derive two solutions with a total 44 km distance
and detailed calculations are shown in the following table.
Practice Problems
1. Find the assignment that minimises total machining time. The data is
Tasks A B CD
M/Cl
M/C2
M/C3
M/C4 ; i
Philip & Co 10 24 30 15
Sai Consultants 9 26 34 16
3. A company has six maintenance groups to repair six machines. The following
table gives the return in rupees when the ith job is assigned to the/' 2 mechanic
(i,j = 1, 2, 3, 4, 5, 6). How should the jobs be assigned to the mechanics so as
to maximise the overall return?
Machine I II III IV v . • VI
Mechanic
1 9 22 58 11 19 27
2 43 78 72 50 63 48
3 41 28 91 37 45 33
4 74 42 27 49 39 32
5 36 11 57 22 25 18
6 13 56 53 31 17 28
[JNTU - (CSE) 93]
Answer: 1— VI, 2—V, 3 — III, 4—1
5 —. IV and 6— II; Maximum return = Rs. 333).
4. A department has four subordinates and four tasks to be performed. The
sub-ordinates differ in efficiency and the tasks differ in their intrinsic
difficulties. The estimate of man-hours, each man would take to perform the
task is given below :
Assignment Problem 331
I II III IV
ordinate"\
1 18 26 17 11
2 13 28 14 26
3 38 19 18 15
4 19 26 24 10
How should the tasks be allotted to men to optimise the total man-hours?
[JNTU Mech/Prodn/Chem & Mechatronics 2000,
CSE/ECE-2001]
Answer : 1 - III, 2 - 1 , 3 - I I , 4 - IV, Man hrs = 59
5. Solve the following assignment model. The assignment costs in rupees are given
below :
A
P
3
a9 R
2
S
3
T
7
B 6 1 5 6 6
C 9 4 7 10 3
D 2 5 4 2 1
E 9 6 2 4. 6
[JNTU - (Mech.) 96P/S]
Answer : A- P, B - Q C-T, D - S, E - R or
A-S,B-Q/C-T,D--P,E-R Min cost = Rs 11
45 30 65 40 55
50 30 25 60 30
25 20 15 20 40
35 25 30 30 20
80 60 60 70 50
9. A company has six jobs to be done on six machines; any job can be done on
any machine. The time in hours taken by the machines for the different jobs
are as given below. Assign the machines to jobs so as to minimise the total
machine hours.
Jobs
1 2 3 4 5 6
1 2 6 7 3 8 7
2 6 1 3 9 7 3
3 3 6 5 7 3 5
4 2 2 7 8 4 8
5 4 9 6 8 7 6
6 7 5 5 7 7 5
Assignment Problem 333
1 -> 4, 2 -» 2, 3-> 5, 3, 6 -» 6 or
l->4, 2^2, 3-> 5, 6, 6 -> 3 or
1 -> 4, 2 -» 2, 3 - * 5, 4->3, 1, 6 —> 6 or
Min time = 20 hours.
10. Solve the following minimal assignment problem :
Job / machine I II III IV
1 2 3 4 5
2 4 5 6 7
3 7 8 9 8
4 3 5 8 4
[JNTU - (Mech.) -92/S]
13. Four salesmen are to be assigned to four districts. Estimates of the sales revenue
is hundred of Rs. for each salesmen are as under :
Districts
Salesmen A B C D
1 320 350 400 280
2 400 250 300 220
3 420 270 340 300
4 250 390 410 350
Give the assignment pattern that maximises the sales revenue. [IGNOU -1991]
A B C D E
Ml
M2
M3
Answer : My - E, M 2 - D, M$ -A, Min time = 8
15. The owner of a small machine shop has four machinists available to assign jobs
for the day. Five jobs are offered with expected profit for each machinist on
each job are as follows.
Jobs
A B C D E
I 60 76 48 99 80
II 69 82 59 71 57
Machinists
III 85 90 109 69 79
IV 46 62 85 75 78
Which jobs is to be declined with determining the optimum schedule ?
[JNTU - (Mech.) 95]
16. The owner of a small machine shop has four machinists available to assign to
jobs for the day. Five jobs are offered with expected profit for each machinist
on each job as follows :
A B C D E
1 62 78 50 101 82
2 71 84 61 73 59
3 87 92 111 71 81
4 48 64 87 77 80
Assignment Problem 335
Find by using the assignment method, the assignment of machinists to jobs that
will result in a maximum profit. Which job should be declined.
[JNTU - (ECE/Mech) - 93/CCC]
Machine
A B C D ' E F
Job 1 13 13 16 23 19 9
2 11 19 26 16 17 18
3 12 11 4 9 6 10
4 7 15 9 14 14 13
5 9 13 12 8 14 11
The assignment of jobs to machines be on a one-to-one basis. Assign the jobs
to machines so that the total cost is minimum. Find the minimum total cost.
[JNTU - (Mech.) 95]
18. A department head has six jobs and five subordinates. The subordinates differ
in their efficiency and the tasks differ in their intrinsic difficulty. The
department head estimates the time each man would take to perform each task
as given in the effectiveness matrix below :
Task
A B C D E F
Man 1 20 15 26 40 32 12
2 15 32 46 26 28 20
3 11 15 2 12 6 14
4 8 24 12 22 22 20
5 12 20 18 •10 22 15
Only one task can be assigned to one man. Determine how should the jobs are
allocated so as to minimise the total man hours. Find the minimum total man
hours. [JNTU - {Mech.) 88]
19. A truck company on a particular day has 4 trucks for sending material to 6
terminals. The cost of sending material from some destination to different
trucks will be different as given by the cost matrix below. Find the assignment
of 4 trucks to 4 terminals out of six at the minimum cost.
Trucks
A B C D E
Terminals 1 3 6 2 6 5
2 7 1 4 4 7
3 3 8 5 8 3
4 6 4 3 7 4
5 5 2 4 3 2
6 5 7 6 2 5
[JNTU - 95/S]
Answer : 1 -> C, 2 , 3 -»/l, 6 -> Z), Min cost = 8.
20. Solve the following unbalanced assignment problem of minimising total time
for doing all the jobs.
Jobs
1 2 3 4 5
Operator 1
22- Five operators have to be assigned to five machines. The assignment costs are
given in the table below.
Machine
I II III IV V
Operator A 5 5 - 2 6
B 7 4 9 3 4
C 9 3 5 - 3
D 7 2 6 7 2
E 6 5 7 9 1
Operator ^4 cannot operate machine III and operator C cannot operate machine
IV. Find the optimal assignment schedule. (JNTU - (Mech.) 88]
A B C D E
My 9 11 15 10 11
M2 12 9 - 10 9
M3 - 11 14 11 7
M4 14 8 12 7 8
Obtain the optimal solution using best starting solution. [JNTU - (Hech.) 88/S]
Answer: Ml-A9M2-BtMs-E9M4-D; cost = 32
24. The secretary of a school is taking bids on the four school bus routes. Four
companies have made the bids as detailed in the following table.
Bids
Company Route 1 Route 2 Route 3 Route 4
1 4000 5000 - -
2 - 4000 4000
3 3000 - 2000 -
4 - - 4000 5000
Suppose each bidder can be assigned only one route. Use the assignment model
to minimise the school's cost at running the four bus routes.
338 Operations Research : Theory and Practice
Hint: Since some of the companies have not made job for certain routes, assign
a very high bids M for all such routes. Then apply assignment algorithm.
Answer : Company 1 -^ route 1, Company 2 -> route 2,
Company 3 —> route 3, Company 4 —> route 4
Minimum cost = Rs. (4000 + 4000 + 2000 + 5000 = Rs. 15000.
25. Five workmen have to be assigned to repair five machines. The assignment
costs are given in the following table below :
Machines Lathe Milling Jig Boring Shearing SPM
Workmen
Ramu 5 5 2 6
Kishore 7 4 2 3 4
Prasad 9 3 5 - 3
Sandeep 7 2 6 7 2
Pradeep 6 5 7 9 1
Ramu cannot repair Jig boring machine and Prasad cannot repair Shearing
machine. Find the optimal assignment schedule. If Pradeep, the specialist in
SPM repairs is exclusively used for SPM and will not be sent to repair any other
machine what will be the effect on the above assignment? In case Pradeep
refuses to repair SPM, do you find any effect on the minimum repair cost?
Answer : Solution set - 1: Ramu - Shearing, Kishore - Jig boring,
Prasad - Milling, Sandeep - Lathe, Pradeep - SPM or
Solution set - 2 : Ramu - Shearing, Kishore - Jig boring,
Prasad - SPM, Sandeep - Milling and Pradeep - Lathe.
Minimum cost = 1 5 .
If Pradeep is exclusively kept for repair of SPM then the solution will be unique
i.e., the solution set 1. There will be no effect on the minimum cost if Pradeep
refuses to repair SPM since we can use the second solution" set.
26. Four operators Oh O2, O3 and O4 available to a manager has to get four jobs
Ji*J2>J$ a n c U4 done by assigning one job to each operator, given the times
needed by different operators for different jobs in the matrix below.
h h h H
Ox 12 10 10 8
o2 14 12 15 11
6 10 16 4
8 10 9 7
Assignment Problem 339
(i) How should the manager assign the jobs so that the total time needed for
all four jobs is minimum?
(ii) If]ob/ 2 is not to be assigned to operator 0 2 , what should be the assignment
and how much additional total time will be required?
[JNTU - (CSE) 95/S]
m m
Answer: (i) Oj —>j§, 0 2 ~>J2> ^ 3 ~*J4> ®4 ~~*Ji> time =
34
m m m e =
(ii) Oj ->J2> O2 ~^J4> ^ 3 ~*Jl> ®4 ~~*fa ^ ^6
.-. Additional time required = 36 - 34 = 2 units of time.
27. Five swimmers are eligible to complete in a relay team which is to consist of
four swimmers, swimming four different swimming styles; back stroke, breast
stroke, free style and butterfly. The time taken for the five swimmers — Anitha,
Bhavana, Chandi, Dolly and Easwari — to cover a distance of 100 meters in
various swimming styles are given below in minutes, seconds.
Anitha swims the back stroke in 1 : 09, the breast stroke in 1:15 and has never
competed in the free style or butterfly.
Bhavana is a free style specialist averaging 1:01 for the 100 meters but can also
swim the breast stroke in 1:16 and butterfly in 1:20.
Chandi swims all styles — back 1:10 butterfly 1:12 free style 1:05 and breast
stroke 1:20.
Dolly swims only the butterfly 1:11 while Easwari swims the back stroke 1:20
the breast stroke in 1:16 and the free style 1:06 and the butterfly 1:10. Which
swimmer should be assigned to which swimming style? Who will not be in the
relay.
Hint: The assignment matrix with time expressed in seconds and adding a
dummy style to balance it is given by
Back Stroke Breast Free Style Butterfly Dummy
Stroke
Anitha 69 75 - - 0
Bhavana - 76 61 80 0
Chandi 70 80 65 72 0
Dolly - - - 71 0
Easwari 80 76 66 70 0
Answer; Anitha will be in breast stroke (times 75 sees).
Bhavana will be in free stroke (time 61 sees).
Chandi will be in back stroke (time 70 sees)
Dolly will not participate (dummy).
Easwari will be in butterfly (time 70 sees).
Dolly will be out of the relay.
Total minimum time in the relay = 276 sees or 4 min 36 sees.
340 Operations Research : Theory and Practice
28 Alpha corporation has four plants each of which can manufacture any one of
four products: Production costs differ from one plant to another as do sales
revenue. Given the revenue and cost data below, obtain which product each
plant should produce to maximise profit.
Sales revenue (Rs. '000) product Production costs (Rs. '000)
Plant 1 2 3 4 Plant 1 9 3 4
A 50 68 49 62 A 49 60 45 61
B 60 70 51 74 B 55 63 45 69
C 55 67 53 70 C 52 62 49 68
D 58 65 54 69 D 55 64 48 66
Hint: Construct the profit matrix by using the fact : Profit matrix = revenue
matrix - cost matrix.
To make use of minimisation technique subtract each element of profit
matrix from the maximum element which will be 8. Then apply
assignment rule in usual manner.
Answer : A - 2 > B - 4, C - 1, D - 3; Max. Profit = Rs. 22000/-
29. A small aeroplane company, operating seven days a week serves three cities
A, B and C according to the schedule shown in the following table. The lay over
cost per stop is roughly proportional to the square of the layover time. How
should planes be assigned the flights so as to minimise the total lay over cost?
A,2B A 10AM B 01 PM
A$B A 03 PM B 06 PM
A4C A 08 PM C Mid Night
AbC A 10 PM C 02 AM
BVA B 04 PM A 07 AM
B2A B 11AM A 02 PM
B%A B 03 AM A 06 PM
CXA C 07 AM A 11AM
C2A C 03 AM A 07 PM
30. A trip from Hyderabad to Vijayawada takes 6 hours by bus. A typical time table
of bus services in both directions is given below.
The cost of providing this service by the transport company depends upon the
time spent by the bus crew (driver and conductor) away from their places in
addition to service times. There are five crews. There is a constraint that every
crew should be provided with 4 hours of rest before return trip again and should
not wait for more than 24 hours for the return trip. The company has residential
facilities for the crew at Hyderabad as well as at Vijayawada. Obtain the pairing
of routes so as to minimise the cost.
Answer:
Crew 1 2 3 4 5
Service No. d\ 2e 3a 64 5c
31. An Airline that operates seven days a week, has the time table shown below
crews must have a minimum layover of 1 hour between flights. Obtain the
pairing of flights that minimises lay over time away from home. For any given
pairing, the crew will be based at the city that returns in the smaller layover for
each pair. Also mention the town where crew should be based.
342 Operations Research : Theory and Practice
32. An airline that operates seven days a week, has the time table shown below.
Crews must have a minimum lay over of 6 hours between flights. Obtain the
pairing of flights that minimises lay over time away from home. For any given
pairing the crew will be based at the city that results in the smaller layover. For
each pair also mention the town where crew should be based.
34. A medical representative has to visit five stations^, Bf C, D and E. He does not
want to visit any station twice before completing his tour of all the stations and
wishes to return to the starting station. Costs of going from one station to
another are given below. Determine the optimal route.
Assignment Problem 343
A B C D E
A OO 2 4 7 1
B 5 OO 2 8 2
C 7 6 OO 4 6
D 1C 3 5 OO 4
E 1 2 2 4 CO
35. Solve the travelling salesman problem in the matrix shown below :
To
1 2 3 4 5
From 1 oo 6 12 6 4
2 6 OO 10 5 4
3 8 7 oo 11 3
4 5 4 11 DO 5
5 5 2 7 8 oo
36. A sales man has to visit five cities A, B, C, D and E. The distance (in hundred
miles) between the five cities are as follows :
From • A B C D E
A - 7 6 8 4
B •7 - 8 5 6
C 6 8 - 9 7
D 8 5 9 - 8
E 4 6 7 8 -
If the salesman starts from city A and has to come back to city A, which route
should he select so that the total distance travelled is minimum.
[IGNOU - (MBA) Assignment 96, JNTU - 2003/S (Set - 4)]
37, A machine operator processes five types of items on his machine each week,
and must choose a sequence for them. The main costs involved are setup costs
and priority. The setup costs per change depends on tlie item presently on the
machine and the setup to be made, according to the following table :
To item
A D
From item A a 4 7 3 4
B 4 a 6 3 4
C 7 6 a 7 5
D 3 3 7 a 7
E 4 4 5 7 a
In addition, there is a priority rating among the items, A and B having a higher
priority than C, Z), E. This may be interpreted as adding an additional cost of
5 when any high-priority item immediately follows a low-priority item. If he
processes each type of item once and only once each week, how should be
sequence the items on his machine? [JNTU - (Mech.) 96/P, OU - MBA 2001/S]
Additional Problems
1. Find the optimal solution to the following assignment problem, each cell value
being the processing time in minutes.
h
20 15 14 19 30
24 18 31 28 19
32 21 25 20 27
D 34 20 12 16 19
31 26 25 21 22
32 211 - 20 27
MA - 20 12 16 19
31 26 25 21 -
[0U - MBA Dec. 2000]
8. The following cost matrix related to an assignment problem
Machines
1 2 3 4 5
7 3 4 6 2
5 2 8 7 5
Problem
6 9 6 5 2
10 8 3 9 4
(i) Find the optimum assignment
(ii) If man 2 should not be assigned to machine 2, what is the best assignment
[0U - MBA Sep. 1998]
9. Fire workers are available to work with the machines and the repsective costs
(in Rs.) associated with each worker's machine assignment is given below. A
sixth machine is available to replace one of the existing and the associated costs
and also given below.
(i) Determine whether the new machine can be accepted.
(ii) Determine also optimal assignment and the associated saving cost.
Machines
Mx M2 M3 M4 M5 MQ
wx 12 3 6 - 5 9
w2 4 11 - 5 - 8
Workers w 8 2 10 9 7 5
s
w4 - 7 8 6 12 10
5 8 9 4 6 -
Assignment Problem 347
10. Solve trje following assignment problem given the cost matrix.
D D2 Z>4
\
6 9 5 2 6
°t 2 5 8 7 7
o* 7 8 6 9 8
o4 6 2 3 3 5
o. 9 3 8 9 7
o* 4 7 4 6 8
11. A project work consists of four major jobs for which four contraction have
submitted tenders. The tender amounts quoted in thousands of rupees are
given in the matrix below.
Jobs
Jx h h 74
15 29 35 20
c2 21 27 33 17
Contractors
c3 17 25 37 15
c4 14 •31 39 21
Find the assignment which minimises total cost of the projects each.contractor
has to be assigned one job only. [OU - MBA March -1999] .
12. Suggest optimum assignment of four workers^ B, C and D to four jobs I, II,
III, IV the time taken by different workers in completing the different jobs is
given below.
Jobs
II III IV.
8 10 12 16
11 11 15 8
Workers
9 6 5 14
15 14 9 7
13. A company is facing with the problem of assigning four different salesmen to
four territories for promoting its sales. Territories are not equally rich in their
sales potential and the salesman also differ in their ability to promote sales, the
following tables gives the expected annual sales (in thousands of Rs.) for each
salesman if assigned to various territories. Find the assignment of salesmen so
as to maximize the annual sales.
1 9 3 4
1 60 50 40 30
2 40 30 20 15
3 40 20 35 10
4 30 30 25 20
[JNTU C.S.E 2003/S (Set - 2)]
14. There as five jobs to be assigned, one each to 5 machines and the associated
cost matrix is as follows :
I II III IV V
J°b ^ \
A 11 17 8 16 20
B 9 7 12 6 15
C 13 16 15 12 16
D 21 24 17 28 26
E 14 10 12 11 15
[AGRA M.Sc. MATHS. 1990, M.S. BAR0DA. B.Sc, 78, MADRAS IIT (M.TECH) 78,
DELHI B.Sc. (MATHS) 77, MBA 74, M.Sc. MATHS 71, INDIAN STATISTICAL INSTITUTE 71]
Answer : (A /, C •
19. Solve the assignment problem represented by the following matrix which gives
the distances from the customers A, B, C, D, E to the depots, a, b, c, d and e
each depot has one car. How should the cars be assigned to the customers as
to minimize the distance travelled?
20. The assignment cost of assigning any one operator to any one machine is given
in the following table.
Operators I II III IV
Machine
A 10 5 13 15
B 3 9 18 3
C 10 7 3 2
D 5 11 9 7
Find the optimal assignment by Hungarian method [JNTU Mech. 2003/S (Set - 4)1
Answer: A -> // (5), B -> IV (3), C -> /// (3) and D -> / (5), Total cost = 16 units
Jobs 1 2 3 4
Operators
A 10 12 9 11
B 5 10 7 8
C 12 14 13 11
D 8 15 11 9
[MADRAS B.Sc. MATHS 84, MADURAI B.Sc. (MATHS) 83, MADURAI M.E. 1984]
Answer: (A -> / / / , B -> /, C -~> II', D ^ IV) min cost = 37
Jobs I II III IV V
Machines
A 11 .10 18 5 9
B 14 13 12 19 6
C 5 3 4 2 4
D 15 18 17 9 12
E 10 11 19 6 14
23. A team of 5 horses and 5 riders has entered a jumping show contest. The
number of penalty points to be expected when each rider rides any horse in
shown below.
Riders R2 Rs R4
Horses
Hi 5 3 4 7 1
H2 2 3 7 6 5
H3 4 1 5 2 4
H4 6 8 1 2 3
Hn 4 2 5 7 1
How should the horses be alloted to the riders so as to minimize the expected
loss of the team [MEERUT M.Sc. (MATHS) 84]
Answer: (Hl -> R5, R //4 //5
* oss = m m
24. Solve the following assignment problem. The elements given in the matrix are
the profits in Rs. derived for such assignment.
Machines P Q R S
Jobs
A 51 53 54 50
B 47 50 48 50
C 49 50 60 61
D 63 64 60 60
Answer : A -> R (54), B -> £ ( 5 0 ) , C -^ S (61), D -> Q (63) Max. Profit = Rs. 228
[JNTU C.S.E 2003/S (Set - 2)]
25. Find the optimal solution for the assignment problem with the following cost
matrix.
I II III IV
A 5 3 1 8
B 7 9 2 6
C 6 4 5 7
D 5 7 7 6
Answer : (A -> ///, B -» IV, C -> //, D -» /) min cost = 16 [DELHI 71]
A 12 8 7 15 4
B 7 9 17 14 10
C 9 6 12 6 7
D 7 6 14 6 10
E 9 6 12 10 6
[MADURA! B.Sc. (MATHS) 89, OSMANIA M.Sc. (STAT.) 84, IAS (MATHS) 89, BOMBAY B.Sc.
(STAT) 85, KERALA B.Sc. (ENGG) 85, CALCUTTA B.Sc. (MATHS) 84]
Answer : (1) (A -» ///, £ -> /, C -» //, D -> IV, E -» V)
(2) {A -> ///, £ -> /, C->IV, / ) - > / / , £ -> F)
29. Solve the following assignment problems
\^Tobs I II III IV V
Machines^^-^
A 8 4 2 6 1
B 0 9 5 5 4
C 3 8 9 2 6
D 4 3 1 0 3
E 9 •5 8 9 5
[MADURAI B.Sc. (MATHS) 89, CALCUTTA B.Sc. MATHS 84]
31. A project work consists of four major jobs for which four contractors have
submitted tenders. The tender amounts quoted in lakhs of rupees are given in
the matrix below.
a b c d
Contractor^^^
1 10 24 30 15
2 16 22 28 12
3 12 20 32 10
4 9 26 34 16
Find the assignment which minimizes the total cost of project [each contract
has to be assigned at least one job] [MEERUT 1980, ISI (Dip) 76]
E 11 6 14 19 10
33. Find the minimum cost solution for the 5 x 5 assignment problem whose cost
coefficients are as given below.
1 2 3 4 5
-2 -4 -8 -6 -1
0 -9 -5 -5 -4
-3 -8 0 -2 -6
-4 -3 - 1 0 -3
-9 -5 -9 -9 -5
[ROORKEE M.E. (Mech.) 77/IIT KARAGPUR (DIP) 78]
Answer: (1 -> 3,. 2 -> 2, 3 -> 5, 4 -> 4, 5 -> 1) or
(1 -» 4, 2 -> 2, 3 -» 3, 4 -» 5, 5 -> 1 optimal cost = 36)
34. Six wagons are available at six stations A, B, C, D, E and F. these are required
at stations, I, II, III, IV, V and VI. T h e mileage between various stations is given
by the following table.
I II III IV V VI
A 20 23 18 10 16 20
B 50 20 17 16 15 11
C 60 30 40 55 8 7
D 6 7 10 20 100 9
E 18 19 28 17 60 70
F 9 10 20 30 40 55
How should the wagons be transported in order to minimize the total mileage
covered [ALIGRAH (C0MP. Sc) 77]
Review Questions
1. Write a short note on assignment problem.
2. Give the step by step procedure for solving assignment problem by Hungarian
method.
7. Write a short note on travelling salesman problem. [OU -MBA Sep. 98, Dec. 2000
12. What is meant by restricted (or prohibited) assignment? Explain how you can
solve the AP in such case.
13. How do you apply assignment in the case of allocating crew in transport
agencies/railways/airways etc.
15. Give the solution method by Flood's technique to assignment problem in the
form of flow chart.
16. What are the difference between transportation prolem and an assignmen
problem? [OU - MBA Feb. 1993, Dec. 1990, March/April 1999]
(c) highest time of middle jobs > least time of first or last series
(d) no. of minimum lines connecting all the zeros of opportunity matrix is at
least equal to its order
356 Operations Research : Theory and Practice
10. While revising the opportunity cost table of AP, least among unlined number
i& taken to
(a) add at unlined numbers
(b) subtract at double lined numbers
(c) add at single lined numbers
(d) subtract at unlined numbers
11. If the number of minimum lines is less the order of matrix then it means
(a) optimisation is already reached
(b) one more line is to be drawn
(c) allocation is wrong
(d) there is a scope for further optimisation
18. The main criterion used in Hungarian method to solve an assignment problem
is to calculate
(a) operating cost (b) maintenance cost
(c) opportunity cost (d) over heads costs
23. Men are allocated to various routes so as to result in minimum idle time or cost
and decisions is made regarding where these men have to be asked to reside.
This is performed by method
(a) transportation problem (b) travelling salesman problem
(c) crew assignment (d) routing or network problem
25. The column iteration is not necessary while preparing opportunity matrix in
an assignment if
(a) every column contains at least one zero after row iteration
(b) an unbalanced assignment of order m x n, where m > n
(c) every column has at least one zero initially
(d) any of the above.
7. If an AP has condition that the solution must be cyclic, then the AP is said to
be
360 Operations Research : Theory and Practice
10. While revising the opportunity cost matrix of AP, we identify least among
unlined numbers and to unlined numbers and " to double
lined (intersecting) numbers.
Answers
Objective Type Questions :
l.(d) 2-(a) 3. (c) 4. (b) 5. (d)
6.(b) 7.(c) 8.(c) 9.(b) 10. (d)
11-(d) 12. (a) 13. (d) 14. (d) 15. (c)
16. (a) 17. (c) 18. (c) 19. (b) 20. (a)
21-(b) 22. (c) 23. (c) 24. (c) 25. (d)
Fill in the Blanks :
1. balanced AP 2.-1
3. zeros 4. unmarked, marked
5. no. of rows or columns or order of matrix 6. alternate or multiple optimal solution
7. travelling salesman problem 8.M
CHAPTER AT A GLANCE
7.0 Introduction
It was assumed in the past that accumulation of adequate stocks was necessary
and beneficial for the manufacturing concerns but, today large stocks are viewed with
alarm and referred to as "graveyard" of a business and the need for control is felt. In
any manufacturing concern the cost of material constitute 40% to 60% of total cost of
finished product and 26% to 30% of material cost are supposed as inventory carrying
cost. Therefore, large inventory can eat the profits. Thus there is more pressure for
maintaining liquidity in trading and industry. But on the other hand, holding of
inventories is needed in order to avoid keeping men and machines idle for the want
of materials. Also, the marketing demands a wide variety and availability at any time.
In this complex situation, the inventory management is really a challenging job.
Moreover, inventory structure varies very widely from industry to industry, depending
on nature and type of product, production technology, collaborating country, nature
and extent of the imported materials, production cycle etc.
Sub
store
F I G U R E . 7 . 1 : DECOUPLING INVENTORY
368 Operations Research : Theory and Practice
4. Balance Between Supply and Demand : Every one is aware of the stocking of
inventory whose supply is seasonal while demand is continuous through out the
year, (e.g., rice, wheat etc)., or demand is seasonal but supply is continuous
(e.g., crackers, rain coats etc). In all such cases, the inventory only can function
as to bring a balance between supply and demand.
Total
min. cost
EOQ
Costs of simple EOQjtnodel
FIGURE 7 J :
Limitations of EOQ :
1. Ordering to the nearest quantities or packing. Say, instead of ordering 11
dozens, the order may be one gross. This may not be economic.
2. Modifying an order to get a better freight rate. The saving in freight may be
more than compensation the extra holding cost.
3. Simplification of routine becomes difficult: Instead of 13 times a year, one may
order once a month (once in every four weeks gives 13, monthly once gives 12
order)
4. In case of perishable, or bulky items with diminishing consumption or for items
whose market, prices are likely to decline, it may be better to order less than
theoritical order quantity.
5. Seasonal supply factors, market conditions, availability of transport etc., may
indicate larger or smaller purchase quantities. In these situations, judgement
should be given more weight.
6. Liberal discounts or concessional freight rates may suggest larger quantities.
The pros and cons of such purchase should be weighted carefully before taking
the decision.
370 Operations Research : Theory and Practice
r
Elementary inventory Quantity discount (price break) Models with restrictions
models models and others
r
classified and discussed in chapter 3 :
I inventory/production management - II]
Static demand models Dynamic demand models
Estimated maximum lead time and (i) Fixed order quantity system with
normal lead time rate is not uniform variable lead time
(ii) Periodic review system
I I
(No shortage) (Multi - item)
(a) Demand rate D uniform, (With shortages)
(a) Limitation on investment
production rate infinite (a) Scheduling period constant,
(b) Limitation on inventory
(b) Demand rate no uniform but production rate infinite
(stock)
total demand D is prescribed over (b) Scheduling period variable,
(c) Limitation on warehouse
period T, production rate infinite production rate infinite
floor space
(c) Demand rate D uniform, (c) Demand rate D uniform
production rate R is finite production rate R is finite
FIGURE 7 3 :
Total
min. cost
EOQ
i FIGURE 7.4 : ORDER COSTS AND CARRING COSTS AT EOQ
„ dATC „
For, Q to be optimum, ( Q^ ), ——— = 0
cc
Also TVC = V2C 0 QZ)
Aliter 1: If students do not know differentiation, they may follow the following method
instead of differentiation.
After getting the expressions for/IOC &:^4CC.
As we know that A OC = ACC at EOQ,
We have Co . -^- = C c . — at g ^ ^
ACC = sum of areas of all triangles (i.e., inventory cycles) x carrying cost
of each cycle
£ . £ + - g . 2 + . . . + n times I x Cc
= -Q[t + t+ . . . . + ncycles] . C
'c t
2
year]. CC = ±Q.CC
Andat£OQ i.e.,
AOC =ACC
Cc
note: Carrying cost will be usually given in terms ofpercentage ofn interest on unit
price of the item. In such case Cc = i = interest on average inventory andp = price
ofthe item. Similarly, ifthe holding cost (or rent or maintenance cost etc) sayH, is
given along with interest (i) andprice (p) then Cc =H+ip is considered.
Inventory Management 373
iLLUST8ATi0f\i
A Company uses 10000 units per year of an item. The purchase price is Rs. lper
item. Ordering cost is Rs. 25 per order. Carrying cost per year is 12% of the
inventory value. Find
(i) TheEOQ
(ii) The number of orders peryear.
(Hi) If the lead-time is 4 weeks and assuming 50 working weeks per year,
find the reorderpoint
[JNTU(Mech.)98/5]
Solution
Annual Demand (£>) = 10,000 units
Order cost per order (Co) = Rs. 25
Interest on Carrying cost per year (i) = 12 %
Cost of item (p) = Re. 1/-
5 Cycles
Avg. qty.
2040
Costs of simple EOQ model
FIGURE 7.5 :
10000
(i)
1 Q 0 Q Q
/ v K A R A
(or) 2QQ0 = 5 orders = 5 orders
No, of working weeks/yr 50
(in) Re order rperiod = — ?—; — = —— = 10 weeks
No. of orders/yr 5
Given Lead time = 4 weeks
ILLUSTRATION 2
A certain item costs Rs. 235per ton. The monthly requirement is 5 tons and each
time the stock is replenished, there is a set-up cost of Rs. 1,000. The costs of
carrying inventory has been estimated at 25% of the value of the stock per yean
What is the optimum order quantity. [JNTU (Mech.) 99]
Solution :
Price (p) = Rs. 235 per ton
13000
Annual Demand (D) = 5 x 12 = 60 tonnes
Order Cost/order (Co) = 1,000 per order
6500
Carrying cost ( Cc) = — • x 60 x 235 (approx.)
1UU
= 1410 9.2
2 x 1000 x 60
= 9.2253 tonnes.
1410
ILLUSTRATION 3
A company uses 24000 units of a raw material which costs Rs. 12.50 per unit.
Placing each order costs Rs. 22.50 and the carrying cost is 5.4% per year of the
average inventory. Find the economic order quantity and the total inventory cost
(Including the cost of the material). [JNTU (Mech.) 99/cc (ECE) 99/CCC]
Given data :
Annual demand (D) = 24,000 units 853
cost per unit (p) = Rs. 12.5 per unit
order cost ( Co) = Rs. 22.5 per order
Inventory carrying interest
(i) = 5.4 %. per year of avg. inv.
5.4
= 0.054
100
Inventory carrying cost (Cc)=i.p = 12.5 x 0.054
Economic Order Quantity
2 x 2.25 x 24000
*XC°XD
0.054 x 12.50
= V1600000 = 1264.911 = 1265 units
T o t a l v a r i a b l e c o s t = V2 .CO.CC.D
Inventory Management 375
5 Cycles
322
•-$¥:-
2 x 3600 x 36
(i) The optimal lot size \ - 322 kg/order
2.5
322
(ii) The optimal order cycle time f = y- = ^ =0.89 yr
Q
'2
Time ^
I FIGURE 7 . 9 ; CONTINUOUS AND NON-UNIFORM CONSUMPTION MODEL
And at £ 0 ^ i.e., if Q =
Then AOC =ACC
C0D Cc.Q,
c.
[ Thus model-1 and mode-2 are one and same].
Practice Problems
1. An aircraft company uses rivets at an approximate consumption rate of 2,500
kg per year. The rivets cost Rs. 30 per kg and the company personnel estimates
that it costs Rs. 130 to place an order and the inventory carrying cost is 10%
per year. How frequently should orders for rivets be placed and what quantities
should be ordered? [Maduri B.E. (Mech) 1980, JNTU (MeCh.) 94/CCC]
Answer: Q* = 4^ ^ r i v e t s ;T* = 0.18 years
2. A manufacturer has to supply his customer with 600 units of his product per
year. Shortages are not allowed and the storage cost amounts to Rs. 0.60 per
unit per year. The set-up cost per run is Rs. 80. Find the optimum run size and
the minimum average yearly cost. [Marathwada, M.Sc. (Math), 1982, JNTU (CSE) 95/S
Answer: Q* = 400 un[ts -t* = 8 months TVC = Rs. 240
Inventory Management 377
3. A company works 50 weeks in a year. For a certain part, included in the assembly
of several parts, there is an annual demand of 10,000 units.
This part may be obtained from either an outside supplier or a subsidiary
company. The following data relating to the part are given :
Description From Outside Supplier From Subsidiary Company
Rs. Rs.
Purchase price/unit 12 13
Cost of placing an order 10 10
Cost of receiving an order 20 15
Storage and all carrying cost,
including capital cost per unit 2 2
per annum
(i) What purchase quantity and from which source would you recommend?
(ii) What would be the minimum total cost [ICWA, June 1989]
Answer : (i) Q* = 547,72 units TVC* = Rs. 1,21,095.45
(ii) <2* = 500 units ; TVC* = Rs. 1,31,000 Purchase must be made from an
outside supplier.
4. A manufacturing company uses certain part at a constant rate of 4,000 units
per year. Each unit costs Rs. 21- and the company personnel estimates that it
costs Rs. 50 to place an order, the carrying costs of inventory is estimated to be
20% per year, find the optimum size of each order and minimum yearly costs.
[Bharathidasan M.Sc. (Math) 1981, 0U (Mech.) 88]
Answer: Q* = 1000 units, TVC = Rs. 400
5. Robert has to supply his customers 100 units of the product 'X' only every Friday
and only then he obtains 'X' from Garry, his local supplier, at Rs. 60 per unit.
The cost of ordering and transportation from Garry is Rs. 150 per order. The
cost of carrying inventory is estimated at 15% per year of the cost of the product
carried.
(i) Describe graphically the inventory system
(ii) Find the lot size which will minimize the cost of the system,
(iii) Determine the optimal cost. [JNTU (Mech.) 93/MS]
7. Find the economic lot size, the associated total cost and the length of time
between two orders, given that the set-up cost is Rs. 100, daily holding cost per
unit of inventory is 5 paise and daily demand is approximately 30 units.
[JNTU (CSE) 92]
Answer : Q* = 3 4 6 units> jyC* = 173; / = 11.5 days
8. Shivnath company buys in lots of 2000 units which is only 3 months supply.
T h e cost per unit is Rs. 125 and the order cost is Rs. 250. T h e inventory carrying
cost is Rs. 20% of unit value. How much money can be saved by using economic
order quantity? [JNTU (Mech. & ECE) 95/CCC]
Answer: Rs. 16000/-
9. A ship-building firm uses rivets at a constant rate of 20,000 numbers per year.
Ordering costs are Rs. 30 per year. Each rivet costs Rs. 1.50 and the holding
cost is estimated to be 12.5% of unit cost p e r unit per year. Determine EOQ.
[JNTU (Mech.) 93/MS]
Answer; Q* = 1005 rivets
10. A computer manufacturing company wishes to know what E O Q should be
ordered for its chips. T h e average daily requirement is 120 units and the
company has 250 working days a year- T h e manufacturing cost is 50 paise per
part. T h e sum of annual rate of interest, insurance, taxes and so forth is 20%
of the unit cost and the cost of preparation is Rs. 50 per lo£JNTU (CSE) 94/S/MS]
Answer: g* = 5477 units
11. Consider the inventory system with the following data in usual notations:
D = 1000 units/year ; i = 0.30; p = Rs. 0.50/unit; C o = Rs. 10.00; L = 2 years
(lead time).
(i) Optimal order quantity
(ii) Reorder point;
(iii) Minimum average cost. [JNTU - CSE/ECE 2001]
Amount produced
During the production time, the inventory increases at the rate of r, but due to
consumption simultaneouly this inventory decreases at the rate old.
and we have / m i n = 0.
[Since we consume till all the inventory is exhausted before starting new
production cycle].
Thus average inventory = - (7 max + / m i n j = & i-d-
r
Now, annual carrying cost (ACC) - Cc . average quantity
2
6oPt ° 7"
(r-d
or
2. Optimal length of production run
D D y Cc \r~d
4. Optimal number of production runs
^cD(r-d
Remarks :
In all the above formulae, there may be a confusion between D and d. D is
annual demand or annual consumption while d is consumption rate. If there is only
Note : It is more appropriate to use the term EBQ(Economic Batch Quantity) instead ofEOQ (Economic
Order Quantity) for Qppi and 'set-up cost' is more appropriate term in the place of 'order cost3
(Co). Therefore these words are often found in the problems of this model.
Inventory Management 381
ILLUSTRATION 5
A contractor has to supply 10,000 bearings per day to an automobile
manufacturer. He finds that when he starts production run, he can produce
25,000 bearings per day. The cost of holding a bearing in stock for a year is Rs. 2
and the setup cost of a production run is Rs. 180. How frequently should
production run be made? Also find production run time and total variable cost
(Assume 300 days in the year). [JNTU (Mech.) 97/p]
Solution :
According to the problem, with usual notations,
Set-up cost (Co) = Rs. 180 per production run.
Carrying cost (Cc) = Rs. 2 per bearing per year.
Rate of production (r) — 25, 000 bearings per day.
Rate of consumption (d) = 10,000 bearings per day.
Annual demand = 10,000 x 300 = 30,00,000 / year
(Assume 300 days in a year)
90 K -
Q0 = 30K K=1000
Costs of simple EOQ model
(b)
(a)
FIGURE 7.-II :
Now, knowing all the terms, we can find EBQ (Economic Batch Quantity)
-d
-V 2 x 30,00,000 x 180
2
25000
(25000 - 10000)
or V 2CODCC
•-d
25000-10000
TVC
•V 2x 180 x 3000000 x-2 x 10000
•^-««""S
= \ / 4 x 5 4 x 108x 11
10
= Rs. 1, 80,000
ILLUSTRATION 6
The manager of a company manufacturing car parts has entered into a contract
of supplying 1000 numbers per day of a particularpart to a car manufacturer. He
finds that his plant has a capacity of producing 2000 numbers per day of the part.
The cost of the part is Rs.50. Cost of holding stock is 12% per annum and set up
cost per production run is Rs. 100. What should be run size for each production
run and total optimum cost/month? How frequently should production runs be
made? Shortage is notpermissible. [JNTU (CSE) 97/S]
Solution
Demand rate = Quantity to be supplied per day (d)= 1000
Production rate = Quantity produced per day (r) = 2000
cost of the part(p) = Rs. 50
Interest on Holding cost (i) =12% of annual cost.
Holding cost (Cc=ip) = 0.12 x 50
Set up cost (Co) = Rs. 100 per production run.
No. of working days is assumed as 365 days.
.-. Demand (D) = 365x1000
5000
5000
5 days Costs of simple EOQ model
(a) (b)
FIGURE 7 . 1 2 :
Inventory Management 383
!x 100x0.12x50x356000 1-
365Q( x 5Q
Total fixed cost/month = g = 15,20,833.33
Practice Problems
1. (a) A product 'X* is purchased by a company from outside suppliers. T h e
consumption is 10,000 units per year. T h e cost of the item is Rs. 5 per unit
and the ordering cost is estimated to be Rs. 100 per order. T h e cost of
carrying inventory is 25%. If the consumption rate is uniform, determine
the economic purchasing quantity.
(b) In the above problem assume that company is going to manufacture the
item with the equipment that is estimated to produce 100 units per day.
The cost of the unit thus produced is Rs. 3.50 per unit. T h e set-up cost is
Rs. 150 per set-up and the inventory carrying charge is 25%. How has the
answer changed ? [JNTU (Mech. & ECE) 92/S/CCC]
3. An item is produced at the rate of 128 units per day. T h e annual demand is
6,400 units. The set-up cost for each production run is Rs. 24 and inventory
carrying costs is Rs. 3 per unit per year. There are 250 working days for production
each year. Develop an inventory policy for this item. [IGNOU (MBA) 94]
Answer: Q* = 353 units, t* = 14 working days, 7^ = 2.8days TC = Rs. 858.65 per yer
6. Assuming you are reviewing the production lot size decision associated with a
production operating where production is 8000 units a year, annual demand
is 2000 units, set-up costs is Rs. 300 per production r u n and holding cost is Rs.
1.60 per unit per year. T h e current production run is 500 units every 3 months.
Would you recommend a change in the production lot size ? If so, why? How
much could be saved by adopting the new production run lot size?
[JNTU (Mech.) 90/S/P]
Answer: 750
7. A contractor has to supply 20,000 units per day. He can produce 30,000 units
per day, the cost of holding a unit stock is Rs. 3 per year and the set-up cost
per run is Rs. 50. How frequently, and of what size, the production runs be
made?
[JNTU (Mech.) 92/S/P]
Answer : Q* = 1414 u n i t s ; f = L 6 8 hrs
8. Find the most economic batch quantity of a product on a machine if the
production rate of the item on the machine is 200 piece/day and the demand
is uniform at the rate of 100 pieces/day. The set-up cost is Rs. 200 per batch
and the cost of holding one item in inventory is Rs. 0.81 per day. How will be
batch quantity vary if the machine production rate was infinite?
[JNTU (CSE) 94/S]
Answer: 157
Inventory Management 385
[As ^ AB x CE > ^ ED x CE
AB > ED]
^"-shortage D
In the above graph, if shortage is allowed, the graph takes the form ABCDE
and if not allowed it takes the form ABE. Now, we can observe that area of BCE (l/2
AB x CE) i.e., difference in carrying cost is greater than the area covered by
A CDE (V2 ED x CE), i.e., shortage cost.
Thus to encash the above advantages, managers often choose to have shortages;
However, the shortage should not be permitted if it is expected to cause heavy loss of
production or damage.
Now, let us derive the expression for EOQ for this model.
Expression for EOQ :
This model is based on all the assumptions of Model - 1 except that inventory
can be allowed to run out of stock for a certain period of time. Usually in business
situations the following two types of such running out of stock can occur.
1. Sales may be lost due to customers are not likely to buy the inventory items.
2. Customers may leave orders with the supplier and this back order is filled on
stock availability.
386 Operations Research : Theory and Practice
Thus all the costs such as cost of keeping backlog reorders, loss of good will,
cost of shipping to customers etc., depend on how long a customer can wait to receive
the order.
In deriving the expression for EOQ of this model, the following terms are used.
^ = time between receipt of the order and when the inventory level
reaches zero.
ts = Shortage time or stock - out time or back order time.
t = total cycle time = t- + ts
Q = Number of units that are back ordered or shortage quantity.
Q = Max. inventory quantity (when received)
Q = Total quantity = Q. + Q
Cs ~ Shortage costs, and other terms are as usual.
Co = Order cost per order
Cc = Carrying cost
i = Interest on average carrying inventory
p = Price of the item
D = Annual demand
In this model, except for the fixed costs i.e., procurement cost (D.p), all the
costs will be affected. Therefore, we need to determine the optimal values of order
quantity Q ^ . (or £>*), optimal stock level (Q$) and optimal number of shortage units
that can be allowed (Q^). And hence the objective function for this model would be,
to minimise the total variable cost (TVC), where
TVC = Annual oder cost + Annual carrying cost + Annual shortage cost
= AOC + ACC + ASC
Now, we know that,
Quantity of units consumed
Demand (D) =
Consumption period
t D
Inventory Management 387
c- -, , & Qs Z-Qi , Q,
Similarly, h = ~f) > ^ = TT = —r>— anc
* ^ = "n
Also, from the above graph
A ABC and A CDE are similar
AC__AB_ ^ h_ _ _ ^
C£ " DE "' Qi ~ ! i
also —=—
l Qi-t <8
Average carrying inventory = - ft • - — = — -t
Similarly, for the period ts, the average inventory is given by the area of A CDE
D
• • ' t
2Q.
388 Operations Research : Theory and Practice
Thus the above relation states that TVC is the function of two variables
Q and Q^. According to the principles of partial derivative, the minimum values of
Q and Q may be calculated with the conditions that
* / 9 z"1 n / z"1 A
and optimal stock level
f C i / 2CQZ) C
and optimal shortage level QT =• Q* ~ Ql = Q* I ^ I = A/ ^
Cs
also TVC* = - \ / o ^ n n (
2 C
and total cycle time (t) = ^- = <\ / Q (Cc + i
D
V D C C ' [ CS
Total cost TVC + TFC = TVC + pD
ILLUSTRATION 7
A manufacturer has to supply his customer 30,000 units ofproduct/year. Demand
is known andfixed. There is no storage space and shipping is daily. The penalty
for failure to supply is Rs. 0.20 per unit per month. Inventory holding cost is
Rs. 0.1 per month and set up cost is RsJSOAper production run. Find optimum lot
sizefor the manufacturer. [JNTU (CSE) 98]
Solution :
D = 30000 units/yr ('D' is fixed hence deterministic).
There is a penalty for failure to supply.
Therefore shortage cost (Cs) = Rs. 0.20 per unit per month.
= 0.2 xl2 = Rs. 2.40 per unit per year.
Holding cost = Rs. 0.1 per unit per month
Holding or carrying cost (Cc)= 0.1 xl2 = 1.2 per unit per year. Order cost or
set-up cost (Co) = Rs. 350 per prodn. run.
Inventory Management 389
36000
/2x350>
350x30000 3.6
X 18000
2 2.4
/3500x
5000 or 5500 (or 5250)
Costs of simple EOQ model
= 500 x 10 - 5000 or 500 x 11 = 5500 FIGURE 7 . 1 5 :
ILLUSTRATION 8 „___________ _____ —-
A commodity is to be supplied at a constant rate of 200 units per day. Supplies of
any amount can be had at any required time, but each ordering costs Rs. 50; costs
of holding the commodity in inventory is Rs.2.00per unit per day while the delay
in the supply of the items induces a penalty ofRsAOper unit per day. Find the
optimal policy (Q, t), where ftf is the reorder cycle period and Q is the inventory
level after re-order. Also find the optimal inventory level and shortage units. What
would be the bestpolicy, if the penalty cost becomes infinity? [JNTU (CSE) 95/S]
Solution :
From the data of problem, with usual notations, we have
D = 200 units/day Co = Rs. 50 per order
Cc — Rs. 2 per unit per day Cs = Rs. 10 per unit per day
/RE-order
o
109.5
Q s = 18.2
0.547
Shortages
(a) (b)
FIGURE 7 . 1 6 :
Now,
jy
(i) Optimal order quantity
2 x 50 x 200 f 2 + 10
- 109.5 units
10
390 Operations Research : Theory and Practice
10
=\ = Rs.l82.57
2 x 50 x 2 x 200
2+10
(vi) If penalty cost Cs = «», the shortage cost is unaffordable i.e., shortage should not
be allowed, thus the expression for Q* becomes
Im
If shortages are not allowed
00
0 0.5 days
k
(a)
FIGURE 7 . 1 7 :
2 x 50 x 200
= 100 units
100 1
and
Total variable cost - V2 • Co • Cc • D = V2 x 50 x 2 x 200 = Rs. 200/-
Practice Problems
1. The demand of an item is uniform at a rate of 25 units per month. The Fixed
cost is Rs. 15 each time of production run made. The production cost is Rs. 1
per item, and the inventory carrying cost is Rs. 0.30 per item per month. If the
shortage cost is Rs. 1.50 per item per month determine how often to make a
production run and of what size is should be? [Osmania M.Sc. (Stat), 1984]
Answer : Q* = 54 items ; t* = 2.16 months
Inventory Management 391
2. Rajiv automobiles has to supply its customers 24,000 units of its product per
year. This demand is fixed and known. The customer has no storage space and
so the manufacturer has to transport a day's supply each day. If the
manufacturer fails to supply, the penalty is Rs. 0.20 per unit per month. The
inventory holding cost amounts to Rs. 0.10 per month and the set-up cost is
Rs. 350 per production run. Find the optimum lot size of the manufacturer.
[0U (M.Sc.) 1985]
4. The demand for an item is deterministic and constant over a time and it is equal
to 600 units per year. The per unit cost of the item is Rs. 50 while the cost of
placing an order is Rs. 5. The inventory carrying cost is 20% of the cost of
inventory per annum and the cost of shortage is Re. 1 per unit per month. Find
the optimal ordering quantity when stockouts are permitted. If the stockouts
are not permitted, what would be the loss to the company. [ICWA, Dec. 1985]
5. The demand for a purchased item is 1000 units per month, and shortages are
allowed. If the unit cost is Rs. 1.50 per unit, the cost of making one purchase is
Rs. 600, the holding cost for one unit is Rs. 2 per year, and the cost one shortage
is Rs. 10 per year.
Determine :
(i) The optimum purchase quantity
(ii) The number of orders per year
(iii) The optimal total yearly cost.
(iv) Represent the model graphically. [Bangalore ME 1980]
Answer: (}) Q* = 3 6 00 units, (ii) 50 order/yer (iii) TVC* = Rs. 6000
392 Operations Research : Theory and Practice
Inventory
t
a
o
t
6
Shortage
- Production »\« Shortage
g
cycle cycle
(£ - Q* •
,r_(
-V 2C 0J D
r-rfA
Inventory Management 393
0* 2246
(c) Manufacturing time t\ = — = = 0.06 year
= 0.06x365 = 21.90 days
~ 22 days
0* 2246
(d) Time between set-ups t* =y-= 9 4 n n f l = 0.38 year
= 0.36x365= 138.7 days
2x2000,8,6000,1-1^00
1^
9 2 x - x - x 108 +24000
6 7
= 10690.45 + 240000
= 250690.45
Practice Problems
1. The demand for an item in a company is 18,000 units per year, and the
company can produce the item at the rate of 3,000 per month, the cost of one
set-up is Rs. 500 and the holding cost of one unit per month is. 15 rupees. The
shortage cost of one unit is Rs. 240/- per year. Determine the optimum
manufacturing quantity and the number of shortages. Also determine the
manufacturing time and the time between set-ups.
Answer : 4,489 units, 17 units, 1.5 months, 3 months
2. The demand for a product is 25 units per month and the items are withdrawn
uniformly. The set-up cost each time a production run is Rs. 15. The inventory
holding cost is Rs. 0.30 per item per month.
(i) Determine how often to make production rim, if shortages are not
allowed?
(ii) Determine how often to make production rim, if shortages cost Rs. 1.50
per item per month [Madras B.E. 1990]
Answer: (i) Q* = 50 (ii) 54.7 units
Inventory Management 395
b, b2
Q—
FfGURE/,19: MODEL WITH PRICE BREAKS
Now, for the above problem, with usual notations, the algorithm is as follows.
The Algorithm :
Step 1: Consider the lowest price i.e., c3 and determine Q3 with usual EOQ formula
i.e., Qs
Now, if Q| > b2, then Qs is the EOQ for the given problem i.e., Q* = Q^ and
hence optimal TVC%, (for Q3) can be computed. If Q3 < b2, then go to step - 2.
/ 1 Co D
Step 2 : Consider c2 a n d compute Q% with the EOQ formula i.e., Q% = A/
Step 3 : Calculate Qj based on c1 and compare TVC (for fej), TFC (for b2) and
TFC ( for Qj) to find EOQ. Obviously the quantity with the lowest cost will be
the required EOQ.
Note : Thus model can be extended to any number ofprice - breaks in the same pattern as above steps.
The above problem can also be computed by calculating EOQs for various conditions separately
and comparing the corresponding costs.
Inventory Management 397
ILLUSTRATION 10
Monthly demand for an item is 200 units. Ordering cost is Rs. 350, inventory
carrying charge is 24% of the purchase price peryean The purchase prices arePt
=Rs. 10for purchasing Qt < 500; Pt =Rs. 9.2 5for purchasing 500 < Q2 750 andP3
Rs. 8.75for purchasing 750 < Qs.
Determine optimum purchase quantity. If the order cost is reduced to Rs. 100 per
order, compute the optimum purchase quantity. [JNTU (Mech.) 95, IGNOU (MBA) 96]
S o I uf ion :
Case (i)
Co = 350
D = 200 x 12 = 2400
Cc = 0.24 Pi
Ql = V 77 where i = 1 , 2 , 3 . . . .
12 = 2400
and C c = 0.24/;-where i= 1,2, 3.
x 100x2400
0.24 x 8.75
since 478 < 750 = b%, we next compute
2 x 100 x 2400
0.24x9.25 =
since 465 < 500 = &2, we next compute
V 9 v 1 DO v 9400
0.24x10 ^447unitS>Q-
We, now compare the total costs for purchasing.
SI = 447
b2 = 500 and
Z>3 = 750 units respectively.
398 Operations Research : Theory and Practice
10QX
TC2 (for ^ = 5 0 0 ) = 9.25 x 2400 + ^ 4 Q Q + ^ (0.24) x 9.25 x 500
= Rs. 23,247
1QQx
TC$ (for Q3 = 750) = 8.75 x 2400+ 2 4 Q Q + I (0 .24) x 8.75 x 750
750 I
= Rs. 22,119.50*
Practice Problems
1. Find the optimum order quantity for a product for which the price breaks are
as follows ;
Quantity Unit Cost (Rs.)
0< ( 2 ^ 8 0 0 Re 1.00
800 < Q2 Re 0.98
The yearly demand for the product is 1,600 units per year, cost of placing an
order is Rs 5. The cost of shortage is 10% per year. [0U (MBA) 88]
Answer: Q* == g00 units
2. The annual demand of a product is 10,000 units. Each unit costs Rs. 100 if
orders are placed in quantities below 200 units but for orders of 200 and above
the price is Rs. 95. The annual inventory holding costs is 10% of the value of
the item and the ordering cost is Rs. 5 per order. Find the economic lot size.
[JNTU Mech/Chem/Prod - 2001/S, 0U - (MBA) 89]
Answer: Q* = 100 units
7. Annual demand for an item is 500 units odering costs is Rs. 18 per order.
Inventory carrying cost is Rs. 15 per unit per year relationship between price
and quantity ordered is as follows :
Quantity Ordered : 1 to 15 16 to 149 150 to 549 550 & above
Price Per Unit (Rs) : 10 9 8.75 8.5
Specify optimal order quantity and the corresponding price of this item.
[I.I.I.E. Grad. 1982]
The retail marketers, news paper sellers, seasonal products sellers often have
such problem of decision regarding how much stock is to be maintained. This decision
is purely probabilistic and may depend on the past record (forecasting otherwise) and
thus expected (probable) demand during the period.
A newspaper boy buys papers for 3paise and sells them for 7paise each. He can
not return unsold newspapers. Daily demand has the following distribution.
No. of
23 24 25 26 27 28 29 30 31 32
customers
Probability 0.01 0.03 0.06 0.10 0.20 0.25 0.15 0.1 0.05 0.05
If each dayfs demand is independent of the previous day's, how many papers
should the order each day? [JNTU (CSE) 97/S]
Solution ;
Let Q, be the number of newspapers ordered per day and let d be the demand
for it, i.e., the number of newspapers actually sold per day.
Let Cj = cost price of newspaper and
C2 = Gain i.e., C1 - sales price
Given C} = Rs. 0.03 and C2 = Rs. 0.07 - Rs. 0.03 = 0.04
C2 0.04 0.04
= 0.57
0.03+0.04 0.07
The optimum solution is obtained by developing the cummutative probability
distribution of daily demand as follows.
d 23 24 25 26 27 28 29 30 31 32
P(d) 0.01 0.03 0.06 0.10 0.20 0.25 0.15 0.10 0.05 0.05
a 0.01 0.04 0.10 0.20 0.40 0.65 0.80 0.90 0.95 1.00
1
r=23
Since = 0.57 is between 0.4 and 0.65, the condition for optimality
Practice Problems
1. A newspaper boy buys paper for 60 paise each and sell them for Rs. 1.40 paise
He cannot return unsold papers. Daily demand has the following distribution.
No. of Customers 23 24 25 26 27 28 29 30 31 32
Probability 0.01 0.03 0.06 0.1 0.2 0.25 0.15 0.1 0.05 0.05
If each day's demand is independent of the previous day's how many papers
should be ordered each day ? [JNTU (Mech.) 97]
Answer: 28
Inventory Management 403
2. A newspaper boy buys papers from Rs. 1.40 and sells them for Rs. 2.45 each.
He cannot return unsold newspapers. Daily demand has the following
distribution:
No. of Customers 25 26 27 28 29 30 31 32 33 34 35 36
Probability 0.03 0.05 0.05 L_0.1 0.15 0.15 0.12 0.1 0.1 0.7 ^0.6 0.02
If each day's demand is independent of the previous day's, how many papers
he should order each day? [Meerut M.Sc. (Math), 1993,1992, JNTU (CSIT) 98]
Answer; 30
3. A contractor of second hand motor trucks uses to maintain a stock of trucks
every month. Demand of the trucks occurs at a relatively constant rate but not
in a constant size. The demand follows the following probability distribution
Demand 0 1 2 3 4 5 6 or above
Probability 0.4 0.24 0.2 0.1 0.05 0.01 0.00
The holding cost of an old truck in stock for one month is Rs. 100 and the
penalty for truck if not supplied on demand is Rs. 1,000. Determine the optimal
size of the stock for the contractor. [Marathwada M.Sc. (App. Math), 1982]
Answer: 3
4. A T.V dealer finds that costs of holding a television in stock for a week is Rs.
20, customers who cannot obtain new television immediately tend to go to another
dealer; and he estimates that for every customer who does not get immediate
delivery he loses on an average Rs. 200. For one particular model of TV, the
probabilities for a demand 0, 1, 2, 3, 4, and 5 in a week are 0.05, 0.1, 0.2, 0.3, 0.2
and 0.15 respectively. How many television per week should the dealer order?
Answer: 4
Hint: CY = 20 C2 = 200, 0.85 < 0.921 < 1.00 [JNTU (CSE) 98/S]
The cost of carrying inventory is Rs. 30 per unit per month and the cost of unit
shortage is Rs. 70 per month. Determine the optimum stock level which
minimise the total expected cost.
Answer : 4
6. Some of the spare parts of a ship costs Rs. 1,00,000 each. These spare parts can
only be ordered together with the ship. If not odered at the time when the ship
is constructed, these parts cannot be available on need. Suppose of loss of Rs.
10,000,000 is suffered from each spare part that is needed when none is available
in stock. Further, suppose that probabilities that the spare part will be needed as
replacement during the life-time of the class of the ship discussed are
Spare part Require 0 1 2 3 4 5 or more
Probability 0.9488 0.04 0.01 0.001 0.0002 0
How many spares should be procured?
Answer: 2
404 Operations Research : Theory and Practice
7. A newspaper boy buys papers for Rs, 2.60 each and sells them for Rs. 3.60 each.
He cannot return unsold newspapers. Daily demand has the following
distribution.
Customers 23 24 25 26 27 28 29 30 31 32
Probability 0.01 0.03 0.06 0.1 0.2 0.25 0.15 0.1 0.05 0.05
If each day's demand is independent of the previous day's how many papers
should he order each day? [JNJU (Mech. 97/S]
Answer: 27
Reorder
Reorder
level
level \ Reorder period \
Reserve bin
(a) P - System
(b) Q - System
FIGURE 7,20 P&Q-SYSTEMS
An example with a over head water tank, we can understand the above systems
easily. Suppose, you depend on the municipal water supply, which gives you water
only in the morning at 6 am everyday. Then you will fill your tank at 6 am everyday
irrespective of the stock in the tank. This is P - system.
If you have a borewell in your campus, you will fill the tank whenever a minimum
level is reached irrespective of period of consumption. This is £)- system. Now, apply
the above systems for inventory, assuming tank a« your inventory store and water is
items procured.
Some More Examples :
P -System : A government employee who receives salary during the first week
dumps all the grocery (inventory) on every first week of the month.
Q- System: A businessman may not bring his household grocery at every certain
period, but brings whenever a minimum level is reached.
The petrol/diesel in the fuel tank of your scooter /bike or any vehicle has two
bins (though not separate), called main bin and a reserve bin. Whenever, the stock
level reaches reserve, you start your procurement action which is in support of Q -
system, while you may check-up air in the tyres periodically (say weekly) which is in
P - system.
Distinction Between P-system and iJ, - system :
S.No. P - system Q - system
1. This system is based on fixed period or time This system is based on fixed minimum quantity
level.
2. Cycle period and re-order period are Cycle period and reorder period change
constant
3. Cycle period is equal to reorder period. Cycle period is not equal to reorder period
4. Only one bin is used 2-bins (main & reserve) are used.
5. Advantageous for joint production/ Advantageous in situations where stock-out costs are
transportation buying high
6. Useful where financial resources are Useful where financial aresources are abundant
avialable at fixed intervals or/and available at any time.
ABC Analysis :
ABC analysis is a basic tool, which helps materials mangers to take a decision
regarding "how much care is to be put on each item". This selective approach is based an
"annual consumption value" of various items.
For example, the items like nuts, bolts, valves etc., are though equally important
as compared to engines, pistons, cylinders, gears etc., the costs differ. Also the
consumption varies from item to item. The items like engines are stocked in less
quantities due to their high cost and low consumption while high stocks of nuts, bolts
etc., will be maintained as they are cheap and more consumed. Thus more emphasis
should be given to control the stocks of engines while it is expensive and uneconomical
to maintaining and recording the bolts, nuts etc.,
Thus depending the consumption and costs of the items, the items are classified
into three categories A, B and C in the disc ending order of their annual consumption
cost. Thus usually, A - class items are costly but less consumed while C - class items are
many cheap and more consumed. The average pattern of percentage of items and
percentage of annual consumption costs are as follows.
Category Percentage of Items Percentage of Annual
Consumption Cost
A 10%-20% 70% - 85%
B 20% - 30% 10%-25%
C 50% - 70% 5%-15%
ABC (Always Better Control) Technique is in accordance with Pareto's principle
"VITAL FEW- TRIVIAL MANY1 and thus low value items are usually consumed more
and high value items are less consumed.
ILLUSTRATION 12
A company is considering a selective inventory using the following data. Classify
them using ABC analysis.
Item 1 2 3 4 5 6 7 8 9 10 11 12
Consumption 6000 61,200 16800 3000 55800 22630 26640 14760 20520 9000 29940 24660
Unit Cost 4.00 0.05 2.10 6.00 0.20 0.50 0.65 0.4 0.4 0.1 0.3 0.5
10 20 30 40 50 60 70 80 90 100
Percentage item
FIGURE 7 . 2 2 : GRAPHICAL REPRESENTATION OF A-B-C ANALYSIS
production chain considerably. The desirably items are usually required to make the
product good looking or aesthetic and their absence hardly has any impact on
production chain. For a scooter, engine is a vital part, breaks are essential and seat
cover is desirable. Note that a small value at the tyre is also vital though cheaply
available.
The other selective inventory control techniques are summarised and
presented in a tabular form as follows.
S.No. Classification Meaning Basic Principle Typical Area of
Application
1. ABC A - High consumption value Percentage of total Common and widely
B - Medium consumption value consumption value employed to any area
C - Low consumption value
2. HML High cost, Medium cost Cost of the items Precious/costly items
and Low cost items
3. VED Vital, Essential and Desirable Item significance in Spare parts/ MRO
the operation or
machine
4. VEIN Vital, Essential, Important and -do- -do-
Normal
5. GOLF Government, Open market, Availability & Items under restrictions or
Local market, Foreign market Restrictions constraints
6. SOs Seasonal, Off seasonal Season of availability Anticipatory inventory
7. FSN/FSND Fast moving, Slow moving, Non Market trend Marketing sales inventory,
moving, Dead finished goods inventory,
store issue patterns.
8. XYZ X - High consumption Consumption General items and
Y - Medium consumption Regularly used items
Z - Least consumption
9. CIN Critical, Important Be Normal Criticality Machinery, Equipment,
Components etc.,
10. SDE Scarece, Difficult, Easy available Availability of the Market demand items.
item in the market
Review Questions
1. Derive EOQ formula, stating the assumption. [JNTU. B.Tech Mech 99]
2. Derive a formula for optimum batch quantity if the demand is continuous at a
constant rate. Assume appropriate data. [JNTU B.Tech CSE 1997]
3. What is ABC analysis in inventory control?
Describe it in detail with the help of graph. [JNTU B.Tech Mech 1998/S]
4. Write a short note on purchasing inventory with one price break.
[JNTU B.Tech Mech. 99]
5. Discuss the significance of stochastic models in inventory control of production
system [JNTU B.Tech CSE 1997]
410 Operations Research : Theory and Practice
6. What are the assumptions used in deriving EOQ formula in Wilson - Haris
model.
7. What assumption do you take for obtaining E O Q for deterministic inventory
models
(a) With shortage
(b) With a production rate
8. Derive the expression for EOQ in deterministic model with back orders.
9. Derive the formula to find EOQ with the production rate (r) and demand {d)
without shortages. How does the formula be interpreted if the same model is
assumed to have shortages. Interprete these with graphically.
10. What are the functions of inventory. [JNTU Mech. 2000/S, CSE - 2000]
11. What are the advantages of having inventory. [JNTU Mech, Mechatronics,
prodn. & Civil 2001]
13. Discuss the role of inventory in a large scale industry. [JNTU Mech 96/S/MS
14. What are the consequences of over- inventory and under - inventory situations.
15. Discuss the advantages and disadvantages of allowing shortages in the
inventories. [JNTU CSE 95/S]
16. What is selective inventory control. Why do you optimise this in large industries.
[JNTU Mech. 96/PPC]
17. What are P - system 8c Q - system of inventories ? Explain.
[JNTU Mech. 95/S, 98, 99/PPC]
18. Distinguish between P - system 8c Q, - system of inventories.
[JNTU Mech. 95, 96, 96/S, 97/PPC]
19. Discuss the working rule of probabilistic model without set-up cost and
instantaneous demand.
20. Give the algorithm for price break models
21. Write the algorithm for ABC analysis. [JNTU - Mech. 98/S/PPC]
22. Discuss the factors affecting inventory in the industries. [JNTU Mech. 93/MS]
23. Write short notes on
(a) Decoupling inventory
(b) Transit inventory
(c) Buffer inventory [JNTU Mech. 93/0R
24. Give the classification of inventories.
25. Classify and discuss various inventory models briefly. [JNTU - ECE/EEE - 93/MS]
26. Discuss various selective inventory control techniques and compare them.
Inventory Management 411
27. Derive the EOQ formula for continuous & non uniform demand with
instantaneous procurement.
28. Write short notes on
(a) Lead time (b) Inventory cycle
(c) Re-order cycle (d) Re-order period. [JNTU Met & CSE - 93/S/MS]
29. What do you understand by the term operating doctrine in the inventory
modeling.
30. What are the limitations of EOQ.
8. With usual notations the formula for EOQ when shortage is allowed and finite
and uniform supply rate
(b)
-d
2C 0 Z)
9. Expression for total variable cost in the case of instant replenishment without
shortage, with usual notations.
(a) VC0 Cc D (b) VC0 Cc D/2 (c) V2 Co Cc D (d) none of these
10. If EOQ = demand (D), then the number of orders placed in the inventory
horizon (i.e., 1 year ) is
(a) zero (b) one (c) two (d) infinite
11. If average carrying cost per unit per year are twice to that of ordering cost/order
then EOQ varies with
(a)Z)2 (d)D (c)VD (d)V2D
12. Being ordering cost/order and average unit carrying costs constant, if demand
suddenly falls by 75% then EOQ
(a) increases by 50% (b) decreases by 50%
(c) decreases by 37.5% (d) none of these
13. Which of the following increases with quantity ordered per order
(a) order cost (b) carrying cost
(c) demand (d) purchase cost
14. The time difference between ordering point and replenishment point is called
(b)
2C0D Cc-Cs
y ——
L.
• —— (d) y
c
413
Inventory Management
18. In the case of shortages, the optimal amount of back order units = _ ^
C C
(c) EOQ . — - V (d) EOQ . — c —
Cs
I L' ) cc + cs
20. A continuous and finite supply rate model becomes simple EOQ [i.e., instant
supply] model for the condition that production rate =
(d)
r-
414 Operations Research : Theory and Practice
23. In the model with continuous production with shortages, the production time
is
(a) EOQ/rate of produce (b) EOQ/rate of consumption
(c) EOQ'annual demand (d) none of the above
24. No. of orders in year =
(a) annual demand/total cost (b) annual demand/EOQ
(c) EOQ/demand (d) EOQ/rate of production
25. The optimal stock level of a shortage model (with instantaneous procurement)
is
I2QD
c $
•V^^
. /2C.Z)
c
C-
c
26. The annual demand of an item is 1200 units and placing the order costs Rs. 12
per order and costs 20% of price to carry. The price of the item is Rs. 10/- The
EOQ =
(a) 12 (b) 120
(c) 1200 (d)20
27. The number of orders to be placed in the year in the above problem is
(a) 12 (b) 10
(c) 6 (d) 100
28. The re-order period for the above problem (Q. No. 26 ) is
(a) monthly (b) quarterly
(c) half yearly (d) yearly
29. Which of the following is the inventory purchased to get the advantage of price
discounts or to reduce transportation costs
(a) fluctuatory inventory (b) lot wise inventory
(c) anticipatory inventory (d) transit inventory
30. The material stored to safeguard the production chain in the event of machine
breakdown is termed as __
(a) transit inventory (b) lot wise inventory
(c) buffer stock (d) decoupling inventory
Inventory Management 415
32. The purchase cost is assumed to be varying with quantity ordered in the
inventory model with
33. In which case of the following, probabilities inventory models are not
employed
34. The optimum stock is determined in probabilities model with instant demand,
no set-up cost, where the cumulative probability just exceeds the ratio
of
(a) shortage cost to sum of shortage and holding costs
(b) holding cost to sum of shortage and holding cost
(c) sum of shortage and holding cost to shortage cost
(d) shortage cost to difference of holding and shortage cost.
36. Which inventory costs are assumed to be zero in JIT inventory system
(a) ordering cost (b) transportation cost
(c) carrying cost (d) purchase cost
38. Which of the following is false in the concept of EOQ and its assumptions
(a) lead time is zero
(b) annual order cost = annual carrying cost
(c) ordering cost remains same through out the year
(d) none of the above
41. The inventory controlling technique that uses significance of the item as the
basis is
(3)A-B-C (b)F-S-N
(c)V~E~D (d)H~M-L
42. Items sold under the restrictions such as government policies, FERA, MRTP
act etc, are classified by
(a) ABC (b) FSND
(c) VEIN (d) GOLF
45. If average unit carrying cost is equal to order cost per order and demand is 200
units/year then EOQ is
(a) 20 (b) 40
(c) 10 V§^ (d) insufficient information
46. When Cc is twice Co to make EOQ = 20, demand must be
51. Which of the following product is an example for seasonal consumption but
continuous production
52. Which of the following product is not an example of seasonal production but
continuous consumption
53. The pair of inventory models with same EOQ formula, when total inventory
period is one year is
14. Inventory cycle time in the case of finite and uniform supply rate is .
18. The inventory controlling technique used on the basis of cost of annual
consumption is
19. Formula for total costs in simple EOQ model is
20. The time gap between the ordering point and its immediate actual stock
completion point is called
22. The average quantity consumed when quantity '£)' is replenished in a cycle of
time '£' is,
23. When an inventory model is shown graphically as time on X - axis, and quantity
on Y - axis, the area under the graph represents .
24. Given commulative probability is 0.25, 0.5, 0.75 for sale of 2, 3 and 4 units of
stock respectively with storage cost Rs. 2.50 ps and shortage cost Re. 1/-, the
optimum number of units to keep in stock is
25. Given order cost Rs. 20 per order, annual demand = 1000 units, carrying cost
10% of unit price Rs. 10/- of an item, the EOQ = ,
Answers
Objective Type Questions :
Mb) 2. (b) 3. (c) 4. (a) 5.(b)
•6: (a) 7.(d) 8. (d) 9.(c) 10. (b)
11. (c) 12. (b) 13. (a) 14. (b) 15. (a)
16. (c) 17. (d) 18. (d) 19. (d) 20. (c)
21. (c) 22. (b) 23. (a) 24. (b) 25. (b)
26. (b) 27. (b) 28. (a) 29. (b) 30. (d)
31.(c) 32. (c) 33. (c) 34. (a) 35. (b)
36. (c) 37. (d) 38. (d) 39. (d) 40. (d)
41. (c) 42. (d) 43. (b) 44. (c) 45. (a)
46. (b) 47. (d) 48. (d) 49. (d) 50. (c)
51. (c) 52. (c) 53. (c) 54. (b) 55. (a)
56. (a)
Fill in the Blanks :
1. infinity 2. Wilson & Harris
3. decoupling inventory 4. consumption cost
5. demand 6. inventory horizon
7. operating doctrine 8. infinity
9. decreases 10. re-order period or ROP
11. inventory cycle period 12. increases by V2~ times
is ^
14. EOQ/consumption rate
CHAPTER AT A GLANCE
patjsflBsstfl
JU3ISUBJ1 - pagspes
pagspssuQ
(a) wn
Hi
CO
1
Queue Models (Waiting Lines) 423
8.0 Introduction
One of the common situations in our daily life occurs with waiting or queue
system. Rather, there will not be any person on this earth who did not experience the
troubles due to waiting such as at bus stops, ticket booths, doctor's clinic, petrol bunks,
bank counters, traffic lights and so on. Queues are very common in industries also, in
shops where the machines wait for repair/maintenance, operators wait at tool cribs,
material waiting for operations etc. These queues ruin the time of customers and it
may even cost hugely in some occasions. The minimisation of waiting time and thus
costs are the primary concerns of these queue models in Operation Research.
8.1 Terminology
The following terms are commonly used in queue models.
1. Customers : The persons or objects that require certain service are called
customers.
2. Server : The person or an object or a machine that provides certain defined
service is known as server.
3. Service : The activity between server and customer is called service that
consumes some time.
4. Queue or Waiting Line : A systematic or a disciplined arrangement of a group
of persons or objects that wait for a service is called queue or waiting line.
5. Arrival: The process of customers coming towards service facility or server to
receive certain service is Arrival.
6. Mean Rate of Arrival : The average number of customers arriving per unit
time is called mean rate of arrival and is denoted by T ( read as LAMBDA).
X = Total no. of customers arriving/total time taken.
7. Mean Inter-arrival Time : It is the average time gap between two consecutive
arrivals of customers. It is the inverse of mean arrival rate i.e.,
Total arrival time
Number of arrivals
8. Rate of Service : It is the average number of customers served per unit time
and is denoted by (X ( read as MUE).
Total number of customers served
Total service time
9. Mean Service Time: It is the average time taken by the server to serve a customers
,. , . Total service time
and is equal to inverse ofn service rate i.e., 1/u = — 7.
Number or customers served
424 Operations Research : Theory and Practice
Waiting Costs : In contrast to the above, the reduction in existing service level
will hike the customers waiting time or may result in long queues. Thus the
increase in service level will decrease the waiting costs and decrease in service
level will increase the waiting costs.
Thus the optimum level of service can be obtained by achieving a balance
between the above two costs or at the level where the total cost shows minimum.
This is interpreted through a graph shown below.
Service cost
(to service)
Level of service
FIGURE $ 2 : COST ANALYSIS OF QUEUE SYSTEM
(e) Pre-emptive Priority Rule : Under this rule, highest priority is given to
certain customer(s) irrespective of their arrival and costs. The customer
is allowed to enter into service immediately after entering into queue
system, even if another (lower priority) customer is already in service,
i.e., the lower priority customer who is in service will be interrupted
(pre-empted) to facilitate the special customer.
e.g. An emergency case arriving at a doctor's clinic who is attending to a regular
out-patient. (The doctor will stop his service to the regular patient and
immediately rushes to emergency case,)
A minister or VIP coming to receive a service at counter is given highest
priority,
An expediting in production shop.
(f) Non Pre-emptive Priority Rule: This is also a rule by priority to the special
customer but the priority will not emptivate the current service. The
service to the special customer starts immediately after the completion
of current service.
e.g. A medical representative will be given appointment immediately after the
current service to an out-patient at a doctor's clinic.
In a production shop, backlog planning, chase planning is in accordance with
non pre-emptive in many occasions.
Note : In the above disciplines (a) and (b) are called static queue disciplines while the
rest are dynamic queue disciplines.
(a) Balking: A customer who gets discouraged by seeing the length of the
queue before him and thinks that he may not get service, may walk out
or may not join the queue. He is said to be 'Balking'.
(b) Reneging: A customer who joins the queue and waits for some time but
leaves the queue due to intolerable delay or impatient to wait any longer
is said to be 'Reneging*.
(c) Jockeying; A customer who moves from one queue to another hoping to
receive a more quick service is said to be Jockeying'.
Thus, the customers who come out of their original queue showing a
negative behaviour that he may not get service. However, a customer who
receives service also may have negative bahaviour as given below :
428 Operations Research : Theory and Practice
(d) Unsatisfied Customer ; A customer who is not satisfied by the service by
the quantity is said to be unsatisfied. For example, a customer of an hotel
may not be satisfied with the quantity of food supplied to him though it
is tasty.
(e) Dissatisfied Customer: A customer who is not satisfied by the quality of
service is said to be dissatisfied. For instance, a customer getting tasteless
food at an hotel though supplied in huge quantities is dissatisfied.
The customers unsatisfied or dissatisfied usually expect certain level of
service and when they do not have the actual, equivalent to their
expectation they will not have satisfaction. However, if a customer has
the match between his expectation and the actual receipt, he will be
satisfied and if the actual is more than his expectation, he will be 'delighted'.
6. Type of Service : The service system may be in two ways as given below :
(a) Customer stationary and server moving.
e.g. (i) Arranged meal at which server brings what customer desires,
(ii) A machine waiting for repair.
7. Service Patterns : Similar to that of inter arrival times, the service time taken
by the server to serve each customers varies. These variations depend on the
rate of arrival and server's behaviour. However, these times can be fit into one
of the following probability distribution patterns.
(a) Poisson distribution (denoted by M)
(b) Exponential distribution (denoted by M)
(c) Erlang distribution (denoted by Er)
(d) General fashion (denoted by G)
8. Number of Servers : We have already learnt that a queue system and its
associated costs depend on the level of service which includes both the rate of
service and number of service facilities. On one hand the rate of service is
dependent on the service time distribution patterns while on the other hand
the level of service can be manipulated by arranging number of servers. There
are two ways, of assumption to the queue problem with regard to number of
service facilities.
(a) Single server system represented by 1.
(b) Multiserver system represented by S.
Fuel Cash]
Customers V2 service V2 service Served
customers
FIGURE 8 . 3 : SERIES CONFIGURATION
Here service is divided into certain parts served sequentially
(b) Parallel Configuration :
Service facilities
Arrival Departure
Cash
©]_
Fuel I
Fuel and Cash
Full service
Served
Cash
customers
Fuel I
Fuel and Cash
Full service
Input
10. State of Service : We have learnt that the service system is influenced by service
time distribution and on server's behaviour. These are inter dependent on
arrival patterns and customer behaviour. On close observation of the changes
that occur in service system, we can find three states of service viz.,
dy state. (b) Transient state. (c) Steady state.
Unsteady Transient Steady
state state state
When the service system is just started, the server will not be able estimate how
much time he has to take per customer. Also, he may be in a bit of confusion and
non-uniformity due to initial conditions and hence takes more time for service. This
state in which the server does non-uniform service is unsteady state.
From this state he slowly moves towards attaining uniformity. This consumes
some time and the server during this time is said to be in transient state.
After getting enough hands on experience, the server picks up and acquires
complete knowledge on the service system and takes almost same times at uniform
rate to serve each customer. This state is called steady state. Further, this steady state
can exist when the ratio of arrival rate to service rate is less than unity.
Steady state condition : — < 1
M-
11. Departure and Output: A served customer goes out of the service zone and
emerges as output. This activity is often known as departure in queuing
terminology. A customer departed from the service zone may have been
satisfied or unsatisfied or dissatisfied. This has already been explained in fifth
point of this section. In the above eleven features, first five are included in
customer zone while the rest in server zone.
A queue model is blend of the above five points, which is diagramatically shown
below.
At-*0 At
2. Between Wq and Ws
Ws = Waiting time in system.
= Waiting time in queue + waiting time in service.
3. Between L and W
Lq No. of customers in queue
W Waiting time in queue
No. of arrivals into queue ^
= X i.e.,• :
— :———
Total time of arrivals into queue I
0
P(n>s) p.-X
s - b. rc_ -^_^
q
X
| fa- X) 1-p
6. Expected waiting time in queue
P(W>t) =j-([i-X)e~^
t
ILLUSTRATION 1 —
A, cheques are cashed at a single 'Tellerr counter. Customers arrive, at the
counter in a Poisson manner at an average rate of 30 customers per hour. The
Teller takes, on an average a minute and a half to cash cheque. The service time
has been shown to be exponentially distributed.
Queue Models (Waiting Lines) 435
30 3
(or) factor of busy period = — = j = 0.75
Solution :
In the above problem let us first identify the queue system.
Arrival pattern is Poisson distribution i.e., M
Service pattern is exponentially distributed i.e., M
Number of service centres is 1.
436 Operations Research : Theory and Practice
Solution :
Arrival process is Poisson i.e., Markovian represented by *M\
Service distribution is Exponential which can be represetned as 'AT (Markovian)
Number of servers = 1
No. of people (customers) allowed to enter queue = °° and queue descipline is
understood as FCFS (First Come First Serve).
Hence, the given queue model is represented as
(M/M/l) : (°°/FCFS)
Queue Models (Waiting Lines) 437
Solution :
This is an (M/M/l) : (oo/FCFS) queue model.
Average inter arrival time = — = 5 min = — hr
A. iA
or X=l2/hr
X' ±
30 ( 3 0 - A / ) 15
If = 20/hr and inter arrival time=3 min.
ILLUSTRATION 5
A television repairman finds that the time spent on his jobs has a exponential
distribution with mean 30 minutes. If he repairs sets in the order in which they
came in, and if the arrival ofsetsfollow a Poisson distribution approximately with
an average rate of 10 per 8 hour day, what is the repairman's expected idle time
each day? How manyjobs are aheadof the average set just brought in ?
[JNTU (Mech.) 94/P]
ISolulion :
Arrival fashion is Poisson distribution (M); service pattern is exponential
distribution ((i), number of servers is 1, no limit is imposed, repair discipline is FIFO.
Therefore, according to Kendall-Lee, the queue system (M/M/l) : (°°/FIFO)
10 5
and mean arrival rate (X) = — = — sets per hour.
H~4 ~8
— < 1, hence steady state can exist.
M-
(i) Expected idle time of repairman each day
number of hours for which the repairer is busy in 8 hour day is
o k o 5 r 1
8 x — = 8 x — = 5 hours
LL o
Idle t i m e for r e p a i r m a n in a n 8 h o u r d a y = 8 - 5 = 3 h o u r s
Queue Models (Waiting Lines) 439
8
ILLUSTRATION 6
In a railway marshalling yard, goods trains arrive at a rate of 30 trains per day.
Assuming that the inter-arrival time follows an exponential distribution and the
service time (the time taken to dump a train) distribution is also exponential with
an average of 36 minutes, calculate (i) expected queue size (line length ) ,
(improbability that the queue size exceeds 10. if the input of trains increase to an
average of33 per day, what will be the change in (i) ana(ii).
[JNTU (Mech.) 97, OU 83]
Sol ul ion :
From the data, the given queue system has exponential arrival (M), exponential
service pattern (M,) single track (service facility), unlimited queue size and FGFS
discipline.
.*. According to Kendall-Lee, the system is (Af/M/1) : (oo/FCFS)
We have the parameters as
30 1
A. = = — trains per mmute
60 x 24 48 ^
and |i = — trains per minute.
Then traffic intensity (p) = — = — = 0.75 as p < 1 , steady state can exist.
We can proceed with the problem as follows:
(i) Expected queue size (line length)
ILLUSTRATION 7
Arrivals at a telephone booth are considered to be Poisson with an average time of
10 minutes between one, arrival to the next. The length of phone call is assumed to
be distributed exponentially, with mean 3 minutes.
(i) What is the probability that a person arriving at the booth will have to
(h) Whklelephone department will install a second booth when convinced that
arnv would expect waiting for at least 3 minutes for a phone call. By
%n arrival
an
how much
how mi the flow of arrivals should increase in order to justify a second
booth.
(in) What is the average length of queue that forms time to time.
(iv) What is theprobability that it will take him more than 10 minutes altogether to
wait for the phone can and complete his call?
[JNTU (Mech.) 94/CCC, (ECE) 94/CCC]
Solution :
Given problem has Poisson arrival, exponential service time distribution, single
booth (service facility), unlimited queue with FCFS discipline.
T h e r e f o r e in Kendall - Lee notations, it is r e p r e s e n t e d as
(M/M/l) :(~/FCFS)
Also given X = —— persons per minute
, 1
and ^t = — persons per minute
(ii) The installation of second booth can be justified if the arrival rate is more than
the waiting time. Let V be increased arrival rate. Then expected waiting time
in queue will be
J
-0.23(1
10
This suggests that 3% of the arrivals on an average will have to wait for 10
minutes or more before they can use the phone.
Practice Problems
1. In a large computer industry, the average rate of system break down is 10
systems per hour. The idle time cost of a system is estimated to be Rs. 20 per
hour. The working hours per day are 8. The manager of industry considers two
mechanics for repairing. The first mechanic A takes about 5 minutes on an
average to repair a system and demands wages Rs. 10 a hour. The second
mechanic B takes 4 minutes in repairing and charges at rate of Rs. 15 a hour.
Assuming rate of system breakdown is Poisson distributed and repair rate
exponentially distributed which of the two mechanics should be appointed.
Solution :
For mechanic A :
X = 10 Ihr and \L= 12 fhr.
Total cost = total wages + cost of non productive time
= (Hourly rate x number of hours) + (Average number of systems)
x (Cost of idle system / hour) x number of hours.
- 1 0 x 8 + - ^ - x 20 x 8 = 80 + — ^ — x 160 = 880 Rs..
JI-A, 12-10
For mechanic B :
(i) (ii) ni ]
1 2
(iii) Ws = — hour or 10 minutes
O
(iv) ws 3"
4. The average rate of arrival of trains at a railway station during the busy period
is 20 per hour and actual number of arrivals in any hour follows a Poisson
distribution. The maximum capacity of the railway station is 60 trains per hour
on an average in good weather and 30 trains per hour in bad weather but actual
number of arrivals in any hour follows a Poisson distribution with these
averages. When there is congestion the trains are made to wait for clearance
outside the station.
(i) How many trains would be waiting outside on an average in good weather
and bad weather.
(ii) How long would a train be waiting outside before getting into station in
good and bad weather.
Queue Models (Waiting Lines) 443
Solution:
X = 20; X
| = 60 in good weather and 30 in bad weather.
1 4
(i) L - — in good weather ; — in bad weather
5. Find the (i) average queue length, (ii) average time spent, (iii) probability that
there would be two customers in the queue in a sales counter manned by one
sales person where the service time is about 6 minute and arrival rate is one
person eveiy 10 minutes.
Solution :
A, = — = 6 / hour, \L = —T= 10 /hour
10 b
s
11 6 3
9 1
7. Customers for paying electricity bill arrive following Poisson distribution with
an average time of 5 minutes between one arrival and the next. The time of
service is 3 minute and it is at exponential pattern.
(i) What is the probability that service counter is busy.
(ii) How many service points should be established to reduce the waiting
time to less than or equal to half of present waiting time.
Solution :
X = 12/hour; ji = 20/hour
3
(i) Busy period; 1 - Po = X/\i = 0.60 and Wq = — hour
(ii) | ^ ^ ^
Thus number of booths required to achieve new service rate ='^r = 1-4 booths.
8. Customers arrive at a counter in Poisson fashion at an average rate of 15
customers per hour in a single teller counter where bank cheques all cashed.
The service time is exponentially distributed where the cashier takes 3 minutes
to cash the cheque.
(i) Calculate percentage of time the teller is busy.
(ii) Calculate average time customer is expected to wait.
Solution :
X = 15/hour ; p = 60/3 = 20/hr
X 3 e
(i) Busy period = 1 -P0~~~~A i* -> teller *s ^ u s y f° r 7b% of time.
4
(1) Lq = - patients;
4 1
When L is changed from -r to —
00
.„, , 1 }? 96 2
Then p changes to —• = —-—-——- = ——;——-
2 (i (p, - X) \i (fi - 96)
p,' = 192 patients a day.
Queue Models (Waiting Lines) 445
11. Oil tankers arrive at a refinery to transport oil for distant markets. They are
served on first come first serve fashion. Tankers arrive at a rate of 10 per hour
whereas loading rate is 15 per hour. Arrivals are in Poisson fashion filling in
exponential fashion. Transporters are complaining that their trucks have to
wait for nearly 12 min at plant. Examine whether complaint is justified. Also
Jetermine probability that loaders are idle in above problem.
Solution :
%= 10/hours; \i = 15/hour
(i) W = — hour or 8min, hence complaint is not jsutified.
12. Consider a self service store with one cashier. Assume Poisson arrivals and
exponential service times suppose that nine customers arrive at an average
every 5 minutes and cashier can serve 10 in 5 minutes. Find
(i) Average number of customers in queuing for service.
(ii) The probability of having more than 10 customers in system,
(iii) Probability that a customer has to want in queue for more than 2 minutes.
If the service can speed up to 12 in 5 minute by using different cash register,
what will be effect on quantities (i), (ii) and (iii).
446 Operations Research : Theory and Practice
Solution :
Case I :
9 .12.
5' 5
(i) Ls = 9 customers; (ii) P(n> AIO
oo
l X)t
(iii) P (waiting ~ A =0.67.
9 t*1
Case II:
- 9 12
13. In a tool crib manned by a single assistant, operators arrive at the tool crib at
a rate of 10 per hour. Each operator needs 3 minutes on an average to be served.
Find out loss of production due to time lost in waiting for an operator in a shift
of 8 hours if the rate of production is 100 units per shift.
Solution :
X= 10/hour; |i=20/hour
1 8
(i) ^q~~^R hour; average waiting time per shift = — hour.
c , • , -. 2 100 c .
Loss of production due to waiting = — x — - = 5 units.
u o
14. A fertilizer company distributes its products by trucks loaded at its only loading
station, Both company and contractor trucks are used for purpose. It was found
that on an average every 5 minutes one truck arrived and average loading time
was 3 minutes 40% of trucks belong to contractors. Make probable assumptions
and find out
(i) Probability that a truck has to wait,
(ii) Waiting time of truck that waits,
(iii) Expected waiting time of customers truck per day.
Solution :
* = ^ = 12/hour; JLL = ^ = 20/hour.
5 3
(i)
Queue Models (Waiting Lines) 447
for p = 1 or X = \i
N+
and Po = ——- ; p * 1 and p < 1
1- p
Where p=—
T - P
= — for p=1
L =L
i *-\
ILLUSTRATION 8
Dr. Raju rs out-patient clinic can accommodate six people only in the waiting hall.
The patients who arrive when hall is full, balk away. The patients arrive in Poisson
fashion at an average rate of 3 per hour and spend an average of15 minutes in
Doctor rs chamber which is exponentially distributed. Find
(i) Theprobability that a patient can get directly into the doctor fs chamber upon
his arrival
(ii) Expected number of patients waiting for treatment.
(Hi) Effective arrival rate.
(iv) The time a patient can expect to spend in the clinic.
Solution :
From the above problem,
Arrival: Poisson (M); service : Exponential (Af);
Number of servers : One; (1) discipline : FCFS;
But the queue is limited
The model is (M/M/l) : (N/FCFS)
Now capacity of the system
TV = hall capacity + doctor's chamber capacity
= 6+ 1 = 7
Arrival rate (k) - 3 per hour.
X 3
p = — =4— = 0.75 i.e., < 1 (stead state exists)
M-
(i) Patient will directly enter doctor's chamber if the hall is empty on his arrival.
The probability at this situation is Po
-=0.2778
= 2.1
(iv) The time the patient can expect to spend in the system
Lq + (l-Po) 1.36+ 1-0.2778
= 0.72 hours
2.89
- 43.2 minutes.
Practice Problems
1. Consider a single server queuing system with Poisson input, exponential service
times. Suppose the mean arrival rate is 3 calling units per hour, the expected
service time is 0.25 hour and the maximum permissible number calling units
in the system is two. Derive the steady-state probability distribution of the
number of calling units in the system and then calcualte the expected number
in the system.
Answer : The expected number of calling units in the system = 0.81.
2. If for a period of 2 hours in the day (8 to 10 a.m.) trains arrive at the yard at
every 20 minutes but the service time continues to remain 36 minutes, then
calculate for this period.
(a) The probability that the yard is empty, and
(b) The average number of trains in the system, on the assumption that the
line capcaity of the yard is limited to a four trains only.
Answer:
X = 1/20; ji = 1/36; p = 36/20 = 1.8 (> l ) a n d n = 4
p-1
(a) = 0.04
N+\
(b) Ls = = 2.9^3.
71=0
for n>s
Where p=—
n
5-1 ~s~\
-1 ^ I (X\ 1 (X 5(1
\n Js 1 - p or ' s|i- X
n=0
Queue Models (Waiting Lines) 451
1 (X) X\i
lfr-1) '[MJ \s\i~X)
3. Expected number of customers in the system
'*" X r-1) hi
5. Expected waiting time in' the system
— or
6. The probability that a customer has to wait (busy period)
P(n>s) =~
1
ILLUSTRATION 9
A super market has two girls ringing up sales at the counters. If the service time
for each customer is exponential with mean 4 minutes, and if people arrive in a
Poissonfashion at the rate oflO/houn
(a) What is the probability of having to wait for the service.
(b) What is the expected percentage of idle timefor each girl?
(c) Find the average length and the average number of units in the system ?
[JNTU CSE 97/S JNTU - Mech/Prod/Chem/Mechatronics 2001/S]
Solution :
No. of servers (s) = 2, Arival rate ( X) = — and service rate ((i) = — per minute],
1
S \L
Therefore,
2-1
2! 6
1 1
452 Operations Research : Theory and Practice
(a)
=y p = y
n=2 n=2'
= ~ (or) 0.167
X 1 2
(b) The expected idle time for each girl is 1 -"— i.e., 1 - — (or) — ( = 0.67).
Hence, the expected percentage of idle time for each girl is 67%.
(c) Expected length of customers waiting time = —
1
or 3 minutes.
0.50-0.17
I L L U S T R A T I O N 10
A bank has two tellers working on savings accounts. The first teller handles
withdrawals only. The second teller handles deposits only. It has been found that
the service time distribution for deposits and withdrawals both are exponential
with mean service time 3 minutes per customer. Depositors arefound to arrive in
a Poisson fashion through out the day with mean arrival rate 16 per hour.
Withdrawals also arrive in a Poisson fashion with mean arrival rate 14 per hour.
What would be the effect on the average waiting time for depositors and with
drawers, if each teller could handle both withdrawals and deposits? What would
be the effect of this could only be accomplished by increasing the service time to
3.5 minutes?
oolulion :
Initially, we can assume two independent queueing systems as follows.
Withdrawers System Depositors System
Arrivals : Poisson (M) Poisson (Af)
Service : Eponential (M) Exponential (M)
Number observers: One (1) One (1)
Limit of queue : Unlimited (°°) Unlimited («>)
Discipline : FCFS FCFS
Model : (M/M/l) : ( ~ / FCFS ) (M/M/l) : ( «, / FCFS)
Mean arrival rate : (XA= 14/hours X9 = 16/hours
X 30 __3
Also
H ~ 20 " 2
n s -1
Vi
Now
n=0 V
2 n-1
V — — — — r 40
n! 2 2! 2 40-30
1
T1
1 9 40
+
2xlX4X10j
1 m _y_
1 20
(2 - 1)! • [ 2 j ' (40 - 30) 2 ' 7
9 20 1 9 ,
=
4xT5o7 =T^hours-
= 3.86 min
454 Operations Research : Theory and Practice
I (1) (1 2 x (120/7)
i\\ [I 4a j I 29i! [I 4Aj {2 (120/7)-30}
O l1 -pi
1 49 2(120/7)
XX
0! 9 +
1! 4 +
2 x l 1 6 XX (30/7)
W
* (s-iy.
1 120/7
(2-1)1 ^4j [2(120/7)-3Q] 2 15
49 120/7
(30/7) 2 X
16XX 7
1 5 " 16 X
30 X
15
343
hours
30x60
343
min =11.433 min.
30
Practice Problems
" 1. A post office has 3 windows providing the same services. It recieves on an
average 30 customers/hours. Arrivals are Poisson distributed and service time
exponentially. The post office serves on average 12 customers/hours.
(i) What is the probability that a customers will be served immediately?
(ii) What is the probability that a customer will have to wait?
(iii) What is the average no. of customers in the system.
(iv) What is the average total time that customer must spend in the post
office?
Answer :(i) 0,29 (ii) 0.70 (iii) 6 customers (approx) (iv) 12 min.
Queue Models (Waiting Lines) 455
Review Questions
1. Write short notes on waiting line situations. [CSE - M 97]
2. What are waiting line costs ? Explain them with the aid of graph.
[Mech - 98/S, MBA - BRAOU - 98]
9. Discuss different queue disciplines used in waiting lines models. [Mech - 98/C]
10. Discuss the arrival and service patterns used in Q-models MBA - 0U - 98]
13. Discuss the customer behaviours that are often found in queue systems.
[MBA - IGNOU - 98]
14. Discuss important features of a waiting line model [Mech - 96/P, MBA - 0U - 98/S]
(d)-
22. By seeing the large queue size, a customer may pass out without entering the
queue thinking that he may not get service. This is called
(a) walk - out (b) balking
(c) jockeying (d) reneging
23. A doctor rushing to an emergency case leaving his regular service is said to be
(a) pre-emptive£) discipline (b) non-pre-emptive discipline
(c) reneging (d) balking
24. A service system in which customer is stationary but server is moving is found
with
(a) buffet meals
(b) person attending breakdown of heavy machines
(c) vehicles at petrol bunk
(d) out-patients at doctor's clinic
460 Operations Research : Theory and Practice
26. Mean arrival rate at a telephone booth is Poissonal with 6 per hr and average
phone call time is distributed exponentially at 3 min. Then the probability that
a person arriving has to wait is
(a) | (b)0.3
ccf <
30. Given Lq = 3.24customers X = 10/hr ; ^i = 3/hr ; Ws =
(a) 32.4 min (b) 35.4 min
(c) 32.73 min (d) 39.42 min
Answers
Objective Type Questions :
l.(c) 2(d) 3. [b) 4.(c) 5. (d)
6.(c) 7.(b) 8. (b) 9. (a) 10. (b)
11. (b) 12. (c) 13. (c) 14. (c) 15. (d)
16. (c) 17. (c) 18. (c) 19. (c) 20. (d)
21. (b) 22. (b) 23. (a) 24. (b) 25. (b)
26. (b) 27.(b) 28: (a) 29. (d) 30. (d)
Fill in the Blanks :
1. reneging 2FGFSorFIFO
3. < (less than) 4. SIRO
5. Erlang 6. transient
7. (M/M/2) : (~/FCFS) 8. (M/M/l) : (N/priority)
9. non-per-emptive 10. LIFO
12. queue discipline
1L
w
13. variance or fluctuation 14. decreases
15.2 16. SIRO
18. (M/Ek/1): (N/SIRO)
17.—
9.0 Introduction
It is common problem in the production process to find the sequence of the
jobs that will result in least idle time for the better utilisation of equipment. However,
it is not applicable for those operations where the technological sequence is already
fixed.
For example, one has to wear socks before wearing shoe. Here, the sequence
is fixed where as the sequence of jobs in which they have to be processed (the order
of jobs is not fixed) is important when some jobs are awaiting the operations with
different timings (the technological sequence of operation is assumed to be fixed).
For example there are five books to be printed and bound. Here, the operational
sequence i.e., printing and then binding is fixed but the sequence in which the books
are to be taken for operations is not fixed. The right sequence depending on the time
required for each operation will minimise the idle time of printer and binder. This
chapter deals with such techniques to find the right sequence that minimises the idle
time of operations.
It will be most convenient to study the job sequencing in the following models.
1. ^jobsX 1 machine (or man or department)
2. n jobs X 2 machines
3. n jobs X 3 machines
4. njobsXm machines
5. 2 jobs X n machines
These are explained here below.
3. Earliest Due Date (EDD): Most of the times the production departments are
asked for the probable time of completion of the job and based on these
promises the production engineer plans his shop production.
5. Longest Process Time (LPT) : In contrast to the above, the job takes longer
time will be taken up first and the jobs which take smaller time will be taken up
last.
6. Pre-emptive Priority Rule : When a job is very urgent, it will be taken up on
priority basis by attending immediately stopping all other jobs. Under this rule
the highest priority job is allowed to enter into the service immediately even if
another job with lower priority is already in service. Doctors use this discipline
when emergency cases arrive to their clinics.
7. Non Pre-emptive Priority Rule : In this case, highest priority goes ahead in
sequence but service is started immediately after completion of the current
service. For example, a doctor gives priority to a medical representative, but
he gives the appointment after the finishing the current job, but will not stop
the current service unlike in an emergency case.
Sequencing :
Step 1 : The most minimum time among all 12 jobs (6 dent removing jobs and 6
painting jobs), is taken by car number 5 (say C5) for dent removing i.e., 8 hours.
468 Operations Research : Theory and Practice
Step 2 : As the least time 8 for C5 falls under first operation, this is to be sequenced at
extreme left.
Cars 1 -.•"."" 9 - V - ; 3 4 6
Dent. 16 11 13 18
Paint 15 15 11 14
(The next minimum is 10 for, again C2, which is already sequenced and deleted
from further consideration). Then next minimum is 11, which appears in C3
for work centre - 1 as well as in C4 for work centre 2. Therefore C3 goes to left
and C4 goes to right available positions.
c2
Cars 1 6
Dent. 16 18
Paint 15 14
(Similarly, the next shortest processing times are 12 for C5 for work centre-2
and 13 for C4 for work centre-1, but these are already allocated and deleted
for the consideration). Thus C6 occupies next position towards right side of the
left out positions as this has got the next least process time i.e., 14 hours at work
centre-2.
c4 c2
c^ars
16
]
Mi
Dent.
iiii
Paint 1
5 alii
Sequencing 469
O b v i o u s l y , C j c o m e s i n t h e left o u t p o s i t i o n . T h u s t h e s e q u e n c e is . . .
c4 c2
Schedule Chart:
Car First Work Centre Second Work Centre Idle Remarks
No. (dent removing) (Painting) Time
Time In Job Time Time Out Time in Job Time Time Out
c5 0 8 8 8 12 20 8* Painter can start at 8th
hr. only
c3 8 11 19 20 15 35 0 C3 waits for 1 hour.
c, 19 16 35 35 15 50 0 No waiting for job and
painter
35 18 53 53 14 67 3 Painter waits for 3 hours.
Remarks:
1. If there is same minimum processing time for two jobs, one at work centre-1
and other at work centre-2 then, the one with shortest time at work centre-1 is
kept at most left and the other at most right.
2. If there is a tie in shortest processing time for any two jobs in first work centre,
then the sequence is to be determined by checking their minimum time at the
second work centre. The job having minimum time is to be allocated most right
and the other is kept just before it.
3. If the tie is for two jobs at second work centre, check their minimum time at
first work centre and the job having minimum time is to be given left position
and the other just after it.
4. If there is a tie in minimum processing times of two jobs with both the machines
or work centers then the sequencing is done by selecting arbitrarily. In this case
the problem will lead to multiple or alternate optimal solutions (more than one
optimal solution).
5. If there is a tie i.e., with same minimum process time for a particular job in
both the series of machines, then also, we get an alternate optimal solution, as
it can take either left or right available position.
6. If the profits are given, then it is maximisation case for which we have to choose
highest value (instead of minimum value) among all and apply Johnson's rules
with all assumptions same.
The above remarks can be observed in the sequencing problems illustrated
below.
Special Cases In Sequencing : Case (i): Tie in Different Series :
When least values appear at more than one place in different series. (No effect).
ILLUSTRATION 2
Find the sequence for thefollowing data so as to minimise the idle time in hours.
Jobs
A B C D
Machines I 5 6 8 4
II 4 7 9 10
What will be the earliest delivery time that B can be promised.
[JNTU (Mech.) 89/S, (CSE) 92/S]
? lull on :
According to Johnson's rule, with usual assumptions, we sequence four jobs as
follows.
The least time among all the timings is 4 and it appears at two places. One is
in the first series (MI) which is to be kept in extreme left position and second is in
second (Mil) series that comes extreme right.
Sequencing 471
D A
8
M-I
M-II 9
wm
Then we are left with the following
B C
M-II
Least of the above timings is 6 that appears in M-I series, therefore B occupies
next left extreme and obviously the left out position is occupied by C.
Then sequence
D is B C A
Time Chart:
Sequence M-I M-II Idle time
In Process Out In Process Out
D 0 4 4 4 10 14 4
B 4 6 10 14 7 21 -
C 10 8 18 21 9 30 _
A 18 5 23 30 4 34 -
i.e., when lowest values appear at more than one place in the same series.
JLLUSTRATIGfcl 3 — — -
An old shopping complex is intended to be renovated. This is done in two phases
namely repairing the patches etc., and then white washing. The time estimates in
hoursfor each of thesefloorsare given below:
Floors
Repair 20 28 25 20 22
White Wash 24 26 15 27 15
472 Operations Research : Theory and Practice
Find the sequence that minimises the idle time ofrepairing and white washing jobs.
Also find the total elapse. Assume no passing and both come and go at the same time
and find the idle time ofeach jobs. [OU (Stat) 84]
Let us apply Johnsons rule. On observation we find most minimum time at two
places i.e., for third and fifth floors of white washing series (second series), i.e., both
are competing for last position. Thus last two positions should be given to these, but
the question is that in which order these two are to be placed. This tie is resolved by
checking their first series time estimates. These are 25 and 22 respectively. Minimum
of these two is 22 and we know that this should be placed to left if it belongs to first
series. Therefore fifth floor occupies left of the last two positions and third floor
occupies the last position as shown below.
©
Floors 1 2 4
Repair 20 28
iSiilll 20 Ililliliilli
White wash 24 26 27
Next minimum among 1, 2 and 4 floors is 20, that appears twice i.e., for first
and fourth floors in first series making a tie for first position. Therefore they occupy
first two positions and the order can be fixed by seeing their second series.
In second series first and fourth floors have 24 and 27 hours respectively, of
which 24 is least. As this belongs to second series, this should go to right and thus
fourth floor is placed first.
© © © ©
itfipiii
Floors
iiilfii
Repair SB 28
White wash 26
Obviously, the second floor is placed in the left out position i.e., third slot. Thus
the optimal sequence is
Q
Sequencing 473
As both repairing and white washing are starting and ending at same time, the
repairer will be idle for 15 hours and white washer will be idle for 23 hours.
Case (in) & (iv) : Multiple or Alternate Optimal Solution : Tie in both series.
If there is a tie with minimum value in first and second series simultaneously
or if there are identical values in two jobs. [Multiple optimal solutions]
ILLUSTRATION 4
A Desk Top Publishing (DTP) operator has 5Jobs to process for which he he has
ha to
first type a copy of DTP and then printing. The estimated timings (in hours) are
asfollows. Find the optimal sequence in minimise the idle time.
Jobs
A B C D E
DTP 5 6 7 9 6
Printing 5 8 10 11 8
What will be expected delivery time for job C. If there is urgency for C what
sequence is preferred. [JNTU 95/CCC]
Among all the jobs the most minimum is 5 that appears for A in both series
i.e., DTP (first series) and printing (second series).
Since it appears in first series, it should occupy first place (say solution - 1) and
as it is found in second series it can go to last place also (say solution - 2). Thus we find
two solutions as shown below :
474 Operations Research : Theory and Practice
Solution 1 :
A
Solution 2 ;
A
The next minimum value is read as 6 that appears in first series at B and E
places. Therefore, we check their corresponding second series times, but these are
also same. Thus in the first two positions these two can occupy in any order (BE or
EB) resulting in two more alternate solutions.
Solution l(a) ; Solution l(b):
A B E A E B
B E A E B A
Next minimum is 7 with C in first series and so placed left of remaining vacancy
positions and D takes the left out position.
Solution l(a) : Solution l(b) :
A B E C D A E B C D
B E C D A E B C D A
Time Charts :
For Solution l(a) :
B 5 6 11 11 8 19 - 1
E 11 6 17 19 8 27 - -
C 17 7 24 27 10 37 - -
D 24 9 33 37 11 48 15* -
C 12 7 19 22 10 32 - -
D 19 9 28 32 11 43 - -
A 28 5 33 43 5 48 15* -
Mr. Shyam receives Rs. 10/-per hour of processing the jobs. Every job has to
undergo two operations, machining and polishing. The time estimates for four
jobs to beprocessed in this week are given below. What should be the sequence if
he intentionally delays his jobs by maximising the idle time of operators so as to
maximise his returns. What is the amount that he can gain or lose, as compared
to that had to beprocessed with minimum delay.
Jobs
Machining in
(hours)
Publishing in
(hours)
The above problem has two cases, viz case (i) maximisation (ii) minimisation.
Case (i) : Maximisation i.e., when Mr. Shyam intentionally delays the process. To find
the sequence that maximises the idle time, we choose highest among all the
timings of the jobs of both operations and if this falls in first series, place it left
otherwise right.
476 Operations Research : Theory and Practice
Highest among all is 45 for Q that should occupy extreme left since it is in first
series.
Q
Next highest is 40 for R in second series therefore goes last.
Q R
Next highest is 35 for P in second series and so goes right side. And the left out
position is occupied by S. The sequence is
Q s p R
Schedule is as Follows :
Sequence Machining Polishing Idle time
In Process Out In Process Out Machining Polishing
Q 0 45 45 45 15 60 _ 45
s 45 25 70 70 30 100 - 10
p 70 10 80 100 35 135 - -
R 80 20 100 135 40 175 75* _
Total Idel75time 55
Total Idle30time 10
Remarks :
•* Assumed that machining operator can go after completmg all his jobs and
hence no idle time/waiting time till polishing is completed.
** The sequence of maximisation is not the reverse order of minimisation case.
Practice Problems
1. Find the sequence that minimizes the total elapsed time (in hours) required to
complete on the following two machines.
Task A B C D E F G
Machine I 2 5 4 9 6 2 7
Machine II 6 8 7 4 3 9 3
2. Find the sequence that minimises the total elapsed time (in days) required to
repair and test the following seven jobs.
Activity 1 2 3 4 5 6 7
Repairing time in days 3 5 9 9 6 3 3
3. There are 7 jobs each of which has to pass through machines My andM 2 in
order, My -> M2- Processing times (in hours) are given below. Determine the
sequence that will minimise the elapsed time and prepare the time schedule
chart and Gantt chart.
Job 1 2 3 4 5 6 7
Ml 3 15 12 6 10 11 9
M2 8 10 10 6 12 1 3
[JNTU (Mech.) 98]
Ml M2
JOB Time in Time out Time in Time out
1 0 3 3 11
4 3 9 11 17
5 9 19 19 31
3 19 34 34 44
2 34 46 46 56
7 46 55 56 59
6 55 66 66 67
4. In a pipe fabrication shop the times required for cutting and bending operation
for 6 different sizes of pipes are given. Determine the order in which those
pipes should be processed in order to minimise the total time for processing
all the pipes.
Pipe 1 2 3 4 5 6
Cutting Time 3 12 5 2 9 11
Welding Time 8 10 9 6 3 1
[JNTU (Mech.) 96/P/S]
Ml M2
JOB Time in Time out Time in Time out
4 0 9 2 8
1 2 5 8 16
3 5 10 16 25
2 10 22 25 35
5 22 31 35 38
6 31 42 42 43
Total time elapse = 43 hours.
Idle time on Ml = 1 hour.
Idle time on M2 = '6 hours.
5. The repairing activity on eight machines take the time as shown below.
Sequence them to minimise the idle time of repairmen and schedule in a chart.
Machine A B C D E F G H
Repair team - 1 5 4 22 16 15 11 9 4
Repair team - 2 6 10 12 8 20 7 2 21
Answer: (i) M 3 -> M6 -> M4 -> Mx -> M5 - M 2 ; (ii) Present costs = Rs. 64, 630,
Optimal cost = Rs. 60,310.
480 Operations Research : Theory and Practice
7. Find the optimal sequence and min. eplased time for the following data.
Job 1 2 3 4 5
Machine P 5 1 9 3 10
Machine Q 2 6 7 8 4
9. The Hi-tech Publishers have to publish 8 text books for which it spends the
time in days for DTP preperation and printing are estimated as follows, find
the best sequence to take up these books to minimise total publishing time and
also find the idle time of DTP operator and printing operator.
Books B2 *3 B4 *5 5
6 B7 B
S
DTP 14 26 17 11 9 26 18 15
Printing 21 15 16 21 22 12 13 25
A.'ns'wer .* JJF ~^ISA ——^ -MI —^ -^5ft ~~^ &% ~~^ - ^ 9 ™~^ *JH —^ *^c
Work G H I J K L
Machine I 1 4 6 3 5 2
Machine II 3 6 8 8 1 5
Draw a sequence table scheduling the six works on the two machines.
[JNTU (Mech.) 96/P/S]
Answer: G -» L ->J -^ / / - > / - > K
Minimum time is 32 hours.
12. A company has 3 works on hand. Each of these must be passed through two
departments, the sequential order for which is :
Department A : Press shop Department B : Finishing
The table below lists the number of days required by each job in each
department
13. Six jobs go fiiM o T machine I and then over machine II. The order of the
completion of job h.<> no significance. The following table gives the machine
times in hours for six jobs as the two machines.
Job A B C D E F
Time on machine I 5 9 4 7 8 6
Time on machine II 7 4 8 3 9 5
Find the sequence ofjobs that minimise the total elapsed time to complete the
jobs. Find the minimum time by using Gantt's chart or by any other method.
[JNTU (CSE) 92/S]
Answer; C-^A-^E^F-^B-^D; Minimum time is 42 hours.
482 Operations Research : Theory and Practice
14. Five jobs are to be processed on two machines. Machining times are given in
the following table :
Machines/Jobs Jx h h y5
10 5 15 22 3
M2 6 8 12 4 15
M- 1 3 7 4 5 7
M-2 6 2 7 3 4
[JNTU (CSE) 96]
16. A book binder has to print and bind six books, the binding times required in
minutes are 80, 100, 90, 60, 30 and 10 while that for printing are 30, 120, 50,
20, 90 and 110 min. respectively. Find optimum sequence, minimum elapsed
time and idle time for each operator.
Answer : Sequence 4 —> 1^3—» 2 —» 5 —» 6, Min. Elapse = 430 min.
Idle time for printer = 10 min, binder = 40 min.
17. Solve the sequencing problem for six jobs whose process times in hrs on
machined, Machine B are (4, 6), (8, 3), (3, 7), (6, 2), (7, 8) and (5, 4).
Answer : 3 - 1 - 5 - 6 - 2 - 4 ; Total Elapse = 35 hrs
18. Determine the sequence and minimum -elapse for the following process times
in hrs.
Job 1 2 3 4 5
M/CP 10 2 18 6 20
M/Cg 4 12 14 16 8
[JNTU (Mech.) 93/P/S]
19. In factory, there are six jobs to perform each of which should go through two
machines^ and B, in the orders, B. The processing timings (in hours) for the
jobs are given below. You are required to determine the sequence for
performing the jobs that would minimize the total elapsed time T. What is the
value of 7?
Job Machine A Machine B
h 1 5
h 3 6
h 8 3
h 5 2
h 6 2
h 3 10
[JNTU Mech/Prod/Chem 2001/S]
For converting the n X 3 to n X 2 the given problem has to satisfy one or both
of the following conditions.
Condition 1 :
The minimum process time among all the jobs to be performed on first machine
is greater than or equal to the maximum process time among the jobs to be performed
on second machine, i.e., Min (MY) > Max (Af2)
Condition 2 :
The minimum process time among all the jobs to be performed on third
machine is greater than or equal to the'maximum process time among the jobs to be
performed on second machine. Min (M3) > Max (M2)
(In other words the maximum of second machine is less than or equal to the
minimum of first or/and third machine timings). Max (M2) < Min (Mx or/and M3)
If the problem satisfies one or both of the above conditions, the 3 X n
sequencing problem is converted to 2Xn sequencing problem by adding the job
timings of first machine with the corresponding job timings of second machine to
make as first center and similarly adding job timings of second machine with their
respective job timings of third machine to make it as second work center. Now, the
sequencing is made for the two hypothetical work centers with these new timings
according to Johnson's rule.
484 Operations Research : Theory and Practice
After finding the sequence, the Gantt chart and time chart calculations are done
by considering three machines with the timings given in the original problem.
A company uses its maintenance crew in three teams for their preventive
maintenance of their heavy vehicles. First team looks after the replacement of
worn out parts, the second oiling and resetting and the third checking and tests
running. The estimated time for maintenance of each of these vehicles is given in
hours in the following table and passing is not allowed. Find the sequence and
schedule them so as to minimise the total elapsed time and idle time.
Team/Vehicle No. 1 2 3 4 5 6 7
Replacement team 3 8 7 4 9 8 7
Resetting team 4 3 2 5 1 4 3
Inspection team 6 7 5 11 5 6 12
[JNTU-(Mech.)2001/C/S]
Seven vehicles are given to be processed through three repair teams say
i?1? R2, #3- In order R^, R2, ^s- Now, the minimum time in i?j series is 3, and that in.
R$ is 5 while the maximum in R2 ls 5- Since minimum i?3 > maximum R2 (condition
2) is satisfied; Hence the problem can be converted to that of 7 jobs X 2 work centers.
Thus WCX =RX + Rc, and WC2 = R2 + R$
WC/V.No 1 2 3 4 5 6 7
(* Students are advised to write sequence step by step as shown in the previous illustrations.)
For calculating the total time elapsed and the idle times, we draw the time chart
as follows
Sequencing 485
Team Replacement Team Resetting Team Inspection Team Idle Time / Waiting
Vehicle Timings (Rx) Timings (i?2) Timings (£3) Time
No.
In Repair Out In Repair Out In Repair Out R,
V\ 0 3 3 3 4 7 7 6 13 - 3 7
3 4 7 7 5 12 13 11 24 - - -
V
7 7 7 14 14 3 17 24 12 36 - 2 -
v2 14 8 22 22 3 25 36 7 43 - 5 -
22 8 30 30 4 34 43 6 49 - 5 -
30 7 37 37 2 39 49 5 54 - 3 -
37 9 46 46 1 47 54 5 59 13 7+12 -
Total 46 46 22 47 52 59 13 + 37 + 7 = 57
The table indicates that the total elapsed time is 59 hours. Idle time of
replacement team is 13 hours at the end of project. Resetting team gets 37 hours of
idle time of which are 3 hours at the starting and 12 hours at the ending and 22 hours
in middle of the project. The inspection team will have to wait 7 hour at the beginning
of the project.
Gantt Chart:
(4) (5)
Idle time
of repair
Repair
i
(3) (4) (7) (8) (8) (7) (9)
-I h-
10 15 20 25 30 35 40 45 50 55 60
ILLUSTRATION 7
Find the sequence that minimizes total machining time to complete the
following data:
Tasks A B C D E F
Time on Machine I 4 9 8 5 10 9
Time on Machine II 5 4 3 6 2 5
Time on Machine III 7 8 6 12 6 7
M2 + M3 12 12 9 18 8 12
st
Note : Identify the least processing time of all the values. If this falls in I machine, allocate the task at
left and if it falls in 217 machine allocate to right Repeat the process till all the tasks are scheduled.
(Students are advised to show all steps)
ILLUSTRATION 8
A company has 6jobs which go through 3 machines X> YandZin the order XYZ.
The processing time in minutesfor eachjob on each machine is asfollows:
Job
3
Machines X 18 12 29 36 43 37
Y 7 12 11 2 6 12
19 12 23 47 28 36
Find the optimal sequence, total elapsed time and idle timesfor each machine.
[JNTU (Mech.) 99]
Solution :
Since xm[n > 3>max, we have
1 2 3 4 5 6
A X+Y 25 24 40 38 49 49
Y+Z 26 24 34 49 34 48
ILLUSTRATION 9
There are 5 projects to be made, each of which must undergo three stages viz,
information feeding, analysing and printing. A programmer has decided to
operate three computers namely Zebronics, Wipro and Acer for these
operations. Theprinter is connected to Zebronics only.
Processing times are given below:
Project No. 1 2 3 4 5
Acer 8 5 4 6 5
Zebronics 10 13 11 10 12
Wipro 6 2 9 7 4
(i) Determine the total elapsed time and idle time ofeach computer.
(ii) If it can be processed by the sub-contract services by three out side parties,
NUT, CMC and STG to process on Zebronics, Wipro and Acer
respectively, schedule the parties optimally, under the condition that the
parties may be called on any day but the contract once started should be
continued till the last job of the respective party is completed and the
payment should be madefor the waiting idle times also.
(Hi) What will be the amounts paid to each party if it costs Rs. 10/-for each
working hour andRs. 5/-for each waiting hour.
(iv) If any project that waits will cost Re.l/- per hours, what will be the cost
incurred on waiting of projects. Assume all projects are taken up now and
waiting time is counted from the time it is taken up.
Solution
As per the given data, the.printing is the last operation and is connected to
Zebronics only. Therefore process times on Zebronics should be taken last i.e., as
machine - 3, and the other two can be taken in any order if they satisfy Jackson's
conditions.
Now let us examine which order of machines is applicable here to convert this
n jobs X3 machines case to n jobs X2 machines case.
Project 1 2 3 4 5
Acer 8 5 4 6 5
Wipro 6 2 9 1 4
Zebronics 10 13 11 8 12
Here Min. of Zebronics times (Zr) £ Max of Wipro {W0 and Min. of Acer
(Ai) £ Max. of Wipro (W$. i.e., 5, 8 < 9.
Both the Jackson's conditions are not satisfied in this case and hence we cannot
proceed with this order.
However, let us check the condition for case (ii)
Project 1 2 3 4 5
Wipro 6 2 9 7 4
Acer 8 5 4 6 5
Zebronics 10 13 11 8 12
Since, the second condition of Jackson's rule is satisfied we can convert the
above n jobs X 3 M/C model to n jobs X 2 M/C model to find the optimal sequence.
This is done by taking two hypothetical machines say X and Ywhere the process times
are given by
Now, the least among all the ten timings is 7 that appears in first series for
project - 2. Therefore this is placed extreme left and project 2 is deleted for the next
iteration.
490 Operations Research : Theory and Practice
Project
Machine X 14 13 13
Machine Y 18 15 14
Now, least is 9 in first series for project - 5, and so occupies left side i.e., second
place, and project - 5 is deleted for next iteration.
(?) (5)
Project
Machine X 14
Machine Y 18
Next least timing (13) is in tie between project - 3 and 4, both in first series for
next two positions. Therefore, we see second series. The least (14) appears for project
- 4, therefore it goes right side of the third and fourth position. The sequence will be
As we can call the parties at any time, it is better to call CMC first to work on
Wipro from 0 to 28 hours and STG to work from second hour to 36th hours on
Acer and NIIT to start at 7th hour to finish at 61st hour on Zebronics.
Sequencing 491
The cost calculations are
Party Computer Cost of working Cost of waiting Total cost
CMC WIPRO (0 to 28) 28 x 10 = 280 NIL 280
STG ACER (2 to 36) 2 8 x 1 0 = 280 6 x 5 = 30 310
NUT ZEBRONICS(7to61) 54 x 10 = 540 NIL 540
* 28 hrs actual working and 6 hrs; Total 34 for ACER Total cost (Rs) 1130
Step 1: Find minimum process time of Wx and Wm series, and maximum process time
of all the middle series.
Step 2: Check whether
Step 3 : If both conditions of step 2 are not satisfied, the method fails. If at least one of
the conditions is true, then go to next step.
Step 4 : Convert m work center problem to two-work center problem by assuming two
fictitious machines say A and B, where the process times on A and B are
Ai = the algebraic sum of process times of W^ and all corresponding timings of
the mediocre series and B • = the algebraic sum of process times of Wm and all
corresponding timings of the mediocre series.
i.e.f Ai=Wlj+W2j+W5j+....W{m_l)j
and Bi=W2j + W3j+W4j+ -...Wmj
(However in general practice we can find the sequence by taking the timings of
W^ and Wm if the sums of the mediocre series are fixed positive constants).
492 Operations Research : Theory and Practice
ILLUSTRATION 10
Five machine parts are to be reassembled after yearly maintenance in the order
P. Q, RySandi on four machines A. B, CandD. Find the optimal sequence for
the machines whenpassing is not allowed of which the repair time (in hours) is
given below. Also find the total elapsed time, and individual idle times for the
repairmen on each machine and machine part (Consider that the machine will
be handed over to the production department immediately after reassembling all
theparts).
Machine/Part P Q R S T
A 7 5 2 3 9
B 6 6 4 5 10
C 5 4 5 6 8
D 8 3 3 2 6
Solution ;
Here the machines are to be sequenced
Checking Sequencing Algorithm Rules :
Minimum repair time of P series [Min. (tP)] - (tPC) = 5
Minimum repair time of T series [Min. (tj;)] = (tjp) - 6
And maximum repair time of Q R, S series [Max ( ^ tR: tsp] = {6, 5, 6}
Since the condition Min. (tjj) > Max (tQj, tRj, tsj) is satisfied the given problem
can be converted into a four jobs and two machines (say X and Y) problem as
Machine/Job A B C D
Machine X 17 21 20 16
Machine Y 19 25 23 14
Now, using the optimal sequence algorithm, the following optimal sequence
can be obtained.
A C B D
The total elapsed time corresponding to the above sequence can be computed
as shown in the following table, using the individual processing times as given in the
original problem.
Machine/Part P Q R S T
A 0-7 7-12 12-14 14-17 17-26
C 7-12 12-16 16-21 21-27 27-35
B 12-18 18-24 24-28 28-33 35-45
D 18-26 26-29 29-32 33-35 45-51
Sequencing 493
From the above table, it can be understood that the minimum total elapsed
time is 51 hours.
The idle times for the man who reassembles the machine parts are as follows :
For P = 51 - 2 6 = 25 hours.
For Q = 7 + (18 - 16) + (26 - 24) + (51 - 29) = 33hours.
For R = 12 + (16 - 14) + (24 - 21) + (29- 28) + (51 - 32) = 37 hours.
For S = 14 + (21 - 17) + (28 - 27) + (51 - 35) = 35 hours.
For T = 17 + (27 - 26) = 18 hours.
Practice Problems
1. A mechanic has to assemble 5 machines and each assembly takes three stages
for which he employed three persons. The sequence of the stages is fixed as
stage I, stage II and stage III. Determine the optimal sequence for the machines
to be assembled to minimise the time elapsed from the start of first machine to
the end of last machine. The time required, in days for each machine at each
stage is given in the following matrix. Also find the time that the mechanic could
promise to deliver each machine. If the mechanic can delink a person from the
present process if his stage work is completed or not started, what will be the
net idle time that the process demands?
S 16 24 24 30 40 60 60
K 24 40 40 50 60 78 78
V 40 54 54 56 78 88 88
Total elapsed time is 88 hours and idle time for stage -1 - 34 hours (the mechanic
can delink all the last 34 hours), for stage - II - 58 hours (in which 6+ 32 = 38
hours can be delinked) and for stage III - 14 hours (in which all the 14 can be
delinked). Net idle time due to process is 20 (stage II operator) if delinked
2. There are 5 spare parts are to be made each of which must go through machines
Ml, M2, andM3 in order Ml, M3, M2. Processing times are given below.
(i) Determine the optimal sequence, total elapsed time and idle time of each
machine.
(ii) If it can be processed by the sub-contract services by three outside parties,
PI, P2 and P3 to process on Ml, M2 and M3 respectively, schedule the
parties optimally, under the conditions that the parties may be called on
any day but the contract once started should be continued till the last job
of the respective party is completed and the payment should be made for
the process delays also.
(iii) What will be the amounts paid to each party if it costs Rs. 10/- for each
working hour and Rs. 5/- for each waiting hour?
Spare *art 1 2 3 4 5
Ml 8 5 4 6 5
M2 10 13 11 10 12
M3 6 2 9 7 4
[JNTU (Mech.) 96/CCC, (ECE) -96]
Answer: (i) O p t i m a l s e q u e n c e i s : 2 — 5 — 3 — 4— 1
Job Ml M2 M3
Time in Time out Time in Time out Time in Time out
2 0 5 5 7 7 20
Sequencing 495
5 5 10 10 14 20 32
3 10 14 14 23 32 43
4 14 20 23 30 43 53
1 20 28 30 36 53 63
(ii) PI starts at Oth hour and ends at 28th hour (28 hours), P2 starts at 5th
hour and ends at 36th hour (31 hours) and P3 starts at 7th hour and ends
at 63th hour (56 hours).
(iii) Payments for PI - Rs. 280/- (all are working hours), for P2 - Rs, 295/- (28
working hours and 3 waiting hours), and for PS - Rs. 560/- (all working
hours).
3. Find the sequence that minimises the total elapsed time in hours to complete
the following jobs on 3 machines. Prepare Gantt chart.
A B C D E
Ml 3 8 7 5 2
M2 3 4 2 1 5
M3 5 8 10 7 6
[JNTU (Mech.) 87]
JOB Ml M2 M3
Time in Time out Time in Time out Time in Time out
A 0 3 3 6 6 11
D 3 8 8 9 11 18
E 8 10 10 15 18 24
C 10 17 17 19 24 34
B 17 25 25 29 34 42
4. Find the sequence that minimises total machining time. The Machine sequence
isPRQ
Tasks A B C D £
Time on M/C - pP 4 9 8 5 10 9
Time on M/C - 7 8 6 12 6 7
R
Time on M/C - R 5 4 3 6 2 5
[JNTU (Mech. & ECE) 97/CCC/S]
Answer: Optimal Sequence is : A - D -B-F-C- E
JOB P R Q
Time in Time out Time in Time out Time in Time out
A 0 4 4 9 9 16
D 4 9 9 15 16 28
B 9 18 18 22 28 36
F 18 27 27 32 36 43
C 27 35 35 38 43 49
E 35 45 45 47 49 55
Total elapsed time = 55 hours. ; Idle time on M/C P = 10 hours.
Idle time on M/C R = 30 hours. Idle time on M/C Q = 9 hours.
5. Find the sequence that minimises total elapsed time if the order of machines
Tasks A B C D E F G
Time on M - 1 3 8 7 4 9 8 7
Time on M - 2 6 7 5 11 5 6 12
Time on M - 3 4 3 2 5 1 4 3
[JNTU (Mech. & ECE) 2001/C/S]
^4«5^er: Optimal Sequence is : A - D --G-B-F--C-E
JOB Ml M3 M2
Time in Time out Time in Time out Time in Time out
A 0 3 3 7 7 13
D 3 7 7 12 13 24
G 7 14 14 17 24 36
B 14 22 22 25 36 43
F 22 30 30 34 43 49
C 30 37 37 39 49 54
E 37 46 46 47 54 59
Total elapsed time = 59 hours.; Idle time on Ml = 13 hours.
Idle time on M2 = 7 hours. Idle time on M3 = 37 hours.
Sequencing 497
6. We have six jobs, each of which must go through machines P, QandR in the
order PQR. Processing time (in hours) are given in the following table.
Job 1 2 3 4 5 6
Machine P (P{) 8 3 7 2 5 1
Machine g (Q) 3 4 5 2 1 6
Machine R (R$ 8 7 6 9 10 9
Determine a squence for the five jobs that will minimise the elapsed time T.
[JNTU - CSE 97]
Answer. 2 - 5 - 4 - 3 - 1 or 5 - 4 - 3 - 2 - 1 or 5 - 2 - 4 - 3 - 1
Elapsed time = 4- hours; Idle time is 8 hrs on machined, 25 hrs on
Machine B and 12 hrs on Machine C,
498 Operations Research : Theory and Practice
(a)
Job 1 1 2 3 4 5 6
Machine A 12 10 9 14 7 9
Machine B 7 6 6 5 4 4
Machine C 6 5 6 4 2 4
(i) Find the total time elapsed for the sequence suggested?
Answer : (i) Total elapse = 70 hrs, Idle times on machined = 9; Machine B = 38;
Machine C = 43
(ii) No.
(iii) Optimal sequene is 1 - 3 - 2 - 4 - 6 - 5
Idle time on Machined = 6, on Machine B = 35 and on
Machine C = 40 hours
11. Find an optimal sequence for the following sequencing problem of four works
and five machines when passing is not allowed. Processing time (in hours) is
given below;
Work A B C D
Machine Ml 6 5 4 7
Machine M2 4 5 3 2
Machine M3 1 3 4 2
Machine M4 2 4 5 1
Machine M5 8 9 7 5
Algorithm :
Step 1: Draw the perpendicular axes, such that x-axis represents Job - 1 and y-axis
represents Job - 2. Thus we can say that when process moves horizontally along
x-axis, Job -1 is under process while Job -2 remains idle. And if we move along
y-axi$ (i.e., vertically), Job - 2 will be under process while Job - 1 is idle. If we
move along 45° to either axis, both jobs are simultaneously processed.
Step 2 : Mark the technological sequences and the process times on the axes as given.
Step 3 : Construct various blocks starting from origin, to represent area of the machine
that will be common to both jobs in first quadrant. These are the areas at which
both jobs can not be performed simultaneously. Mark the end point i.e., farthest
corner of last block.
Step 4 : Draw the straight line starting from origin in 45° angle to either of axis. When
the line is obstructed by a block, go along the side of block either horizontally
or vertically as can be moved. Continue the line till end point is reached.
Step 5: The diagonal line (at 45°) represents that both jobs are simultaneously processed,
vertical line represents that Job-1 is idle while Job-2 is under process and
horizontal line represents that Job-2 is idle while Job-1 is under process. Thus,
choose the path in which diagonal movement is maximum. This is said to be
optimal path.
Step- 6: Calculate the total horizontal distance (idle time of Job-2) and total vertical
distance (idle time of Job-1) on optimal path. These distance are added to the
process time represented by the co-ordinates of end of point, as follows.
Total Elapsed Time of Job-1 :
= value of x-co-ordinate of end point + total vertical distance on optimal path
= process time of Job 1 + idle time of Job-1.
Total Elapsed Time for Job-2 :
= value of y co-ordinate of end point + total horizontal distance on optimal
path.
= process time ofjob 2 + idle time of job 2.
500 Operations Research : Theory and Practice
Find out the optimal sequencing of thejobs on machines and the minimum time
required to process these jobs.
So\i\\\ov\ i
The above problem is in 2 jobs X n machine model for which we use graphical
method. Let us take Job-1 on x-axis and Job -2 on y-axis and represent the process
time in their technological sequence.
FIGURE 9.3 ;
Now, we prepare the blocks that are common to both Job 1 and 2. Then we
find a diagonal line at 45° starting from origin to reach the end point. The block B
obstructs after moving to (3, 3) units and therefore we move vertically for 2 units and
then go by 45° line. At (9, 11) we can get two paths.One of them is to go 3 units
vertically from (9, 11) to (9, 14) and again at 45° from (9, 14) to (15, 20), then go 2
units horizontally [(15, 20) to (17, 20)] to reach the end point. This gives 2 units
horizontal and (2 + 3) units vertical distances.
Sequencing 501
The second path is along (9, 11) -> (15, 12) -» (17, 14) -> (17, 20). This path
gives a total of 8 (2 + 6) units of vertical and 5 units of horizontal distance. These idle
times are more than those in first path, therefore first path is optimal.
The calculation of elapsed time
For Job-1 is
Process time + idle time
= x-coordinate of end point + total vertical distance on optimal path.
•= 17+ ( 2 + 3) = 22 hours.
For Job 2 :
Process time + idle time
= ^-coordinate of end point + total horizontal distance on optimal path.
= 20 + 2 = 22 hours.
Remark:
If we go by second path, the elapse would have been 17 + 8 = 25 for Job - 1
and 20 + 5 = 25 for Job - 2 which are not optimal.
Practice Problems
1. Use the graphical method to find the minimum elapsed time sequence of 2
works and 5 machines when we are given the following information.
Workl Sequence A B C D E
Time (hours) 2 3 4 6 2
Work 2 Sequence C A D E B
Time (hours) 4 5 3 2 6
[JNTU (Mech.) 99/P/S]
Answer: Idle time is 3 hours for work 1 and zero hours for work 2.
Elapsed time for work 1 is 17 + 3 = 20 hours, for work 2 it is (20 + 0) = 20
2. Two jobs are to be processed on four machines A, B, C andZ> technological
order for these jobs on machines is as follows;
Job A 1 2 3. 4
JobB 4 2 1 3
Answer: Idle time is 4 hours for job A and zero for Job B.
Elapsed time for Job A is 20 + 4 = 24, for job B it is (24 + 0) = 24.
3. A machine shop has six machines A,B, C, D, EandF. Two jobs must be
processed through each of machines. The times one machines and the
necessary sequence of the jobs through the shop are given below.
Order 1 2 3 4 5 6
4. A machine shop has four machines/I, B, C and D. Two jobs must be processed
through each of these machines. The time and necessary sequency of jobs
through the shop are given below.
Jobl Sequence A B C D
Time (hrs) 2 4 5 1
Job 2 Sequence D B A C
Time (hrs) 6 4 2 3
Answer : 15 hrs
Answer : Total time = 22 hrs, idle time for Job 1 = (2 + 3) hrs, for
Job - 2 = 2 hrs. A (/I), B (/2), C (/2), D (/2), E (fl)
Sequencing 503
Start
A.
Formulate the information
into sequencing table
Yes
Use graphical
Stop
method to solution
Yes
FIGURE 9.4 :
504 Operations Research : Theory and Practice
Review Questions
1. What are the assumptions made in sequencing problems? [JNTU (Mech.) 98/S]
2- Describe the procedure of optimal solution for processing n jobs through two
machines. [JNTU (Mech.) 98/S]
3. Describe the procedure of optimal solution for processing n jobs through three
machines and hence for n jobs through m machines.
[JNTU (CSE) 96]
4. Explain the rules of sequencing V jobs when there is only one machine to
process.
6. Explain the working rules of n jobs X 2 machines and n jobs X 3 machines with
suitable examples [JNTU (Mech.) 98/P]
11. Write a short note on the contributions of S.M. Johnson & Jackson towards
Operations Research. [JNTU (Mech.) 94]
18. Give different examples of sequencing problem of various models from your
daily life. [JNTU Mech/Prod - 99, CSE/ECE 2001]
2. Printing of five books P,Q,R,S and T takes 9,3,4,6 and 7 hrs while for binding
they take 6,5,8,5 and 2 hrs respectively. The correct sequence that maximises
the total elapse is
7. The sequencing of 2>m/c x n jobs should pass Jackson's rule according to which
Maximum process time of2nc* series
10. The sequencing rule usually followed at a petrol bank when 'n' vehicle are
waiting, is
(a) FIFO (b) LIFO
(c) lowest process time (d) Highest profit rule
Sequencing 507
11. If two jobs/! and/ 2 have same minimum process time in Mj series but process
time/! is less than that of/2 in M2 series then/! occupies
12. If two jobs Ji and / 2 are in tie at M 2 series but for Aflfprocess time for/j is
less than that of/2, then among the available positions,/ 2 occupies
13. If two jobs/! and/ 2 have same process times in both series we prefer
(a)/i (b)/ 2
(c)/ 2 and/ 2 (d)/ } or/ 2
14. Multiple optimal solutions are obtained if two jobs have same process times in
15. If a job is has minimum process time in first m/c series as well as in second m/c
series, the job is placed
16. jobs A to E have process times as 12,4,20,14 and 22 on Ist M/C and 6,14, 16,
18 and 10 on 2™*M/C, the optimal sequence is
(a) CEABD (b) AECDB
(c) BCDEA (d) BDCEA
17. In the above problem, if machines have idle times 6 and 14 hrs on Mi &M 2
respectively. Then total elapse = hrs.
(a) 66 (b) 78
(c) 58 (d) 86
508 Operations Research : Theory and Practice
M2 2 6 7 8 4
19. In the above problem idle times for My andM 2 are 2 and 3 hrs respectively.
The total elapsed time = hrs
20. In 3 m/c x 5 jobs case, the least of processing times on machines/I, B and C are
5, 1 and 3 while highest of process times are 9, 5 and 7 respectively. The
Jackson's rule is applicable if order of the machines is
(a)B-A-C {b)A-B-C
(c)C-B-A (d) any order
21. In a maximisation case of sequencing 2M/C x n jobs the job is placed at available
left first position if it has process time in machine series
23. If a job has zero process time for any machine the job must
(a) a job once loaded on a m/c should not be removed until it is completed
(b) a job can not be processed on second m/c unless it is processed on first machine
(c) a machine should not be started unless the other is ready to start
(d) no job should be processed unless all other are kept ready to start.
25. A sequencing problem may be infeasible or non optimal or not applicable in
case of
29. In 2 jobs x n machine case, the elapsed time for job 1 (on X axis ) is reported
as
Job 1 1 2 3 4 5 6
M/CP 12 10 9 14 7 9
M/CQ 7 6 6 5 4 4
M/CR 6 5 6 4 2 4
2. The basic assumption for Johnson's rule for 2 M/C x n jobs sequencing is that
is not allowed
6. If in two jobs, A has same process time as that of B in 1st machine series but
greater in 2nd machine series, then the most left available position will be
occupied by
7. The most min. process time for {Jy , M2) is equal to that of (/2, M2) and process
times for (Jlf Mx) greater than that of (/2, M{) in a 2 M/C x 5 jobs sequencing.
Then position of/2 is
9. If/j and/2 n a v e equal process times in bothMj and M 2 series, then we choose
Sequencing 511
10. If min. process time appears in both My series andM 2 series for the same job,
then the job is placed of available positions
11. Jobs P,QR and S have process times 10, 11,8 and 6 on machine Mj and 9, 7,
5, 6 on machine M2 then the sequence is or
12. In a maximisation case of sequencing 2 M/C x n jobs, a job is placed in left (first)
available position if it has process time (or profit) in first M/C
series
13. If process time for job is zero in 1 st series, then this job should occupy
position
14. The idle time of second machine decreases if the job with
process time is taken first on first machine
18. In a 2 jobs x n M/C case, a horizontal line represents the idle time of
assuming/! and/ 2 an X and Y axes respectively.
19. In the graphical solution for 2 jobs x n machines, when both jobs are processed,
then line moves at
20. For bindingfivebooks P, Q R, S and T take 9, 3,4, 6 an 7 hrs while for printing
they take 6, 5, 8, 5 and 12 hrs respectively. The optimal sequence is
Answers
Objective Type Questions :
l.(d) 2.(c) 3.(d) 4. (d) 5.(c)
6. (a) 7.(c) 8.(d) 9. (a) 10. (a)
11. (b) 12. (a) 13. (d) 14. (c) 15. (c)
16. (d) 17. (b) 18. (b) 19. (c) 20. (b)
21. (b) 22. (a) 23. (c) 24. (b) 25. (c)
26. (c) 27. (d) 28. (d) 29. (c) 30. (b)
512 Operations Research : Theory and Practice
7. fourth 8. fifth
9. arbitrarily/either/i or/2 10. first or least/left or right
10.0 Introduction
No machine is immortal and immune completely to any failures. No matter
how safely you run, how closely you follow the instructions of the manufacturer or
supplier, how best you maintain to its standards and specification. Perhaps we can
only try to prevent or prolong the occurrence of failure if we know the probable reason
for its occurrence. Even in such cases, some times we can temporarily stop the
occurrence of the failure and some other times we can reduce its impact or volume of
failure. However, this is possible if we have the complete knowledge of the failures
that may occur on the given equipment and their causes, effects or costs and the
remedial measures. The awareness of equipment failures often makes the engineer
so confident that after the rectification of the failure he will be able to assure the
production manager about its running condition.
Time
| Suitable maintenance policies for various stages in machine life cycle |
Most of the efforts put by maintenance are attributed to this stage and costs
could go high at this stage if this stage is not detected. Calender time is not only the
scale for detection of this stage. For instance a machine used sparingly and a machine
used continuously will not reach to the old age stage at the same time, though they
are bought at same time. Hence one should notice that the operational period,
conditions maintained while usage, care and efforts put on it to increase its life during
its infant and young stages etc., are a few factors governing the old age failures wever,
these failures are mainly because of the worn out parts of the machines. As and when
this stage is noticed in the machine, a plant engineer may have to choose one of the
following alternative strategies. (See table and figure)
• Replacement of the machine with the new one.
• Reconditioning of the machine.
• Updating with the new technological features.
• Operate to failure and corrective maintenance (as long as its average annual
maintenance cost is less than or equal to the interest on the cost of the new
machine) or selling in seconds.
• Scrapping.
2. Minor Failuers : These are the failures, which can be rectified in a few hours
or with a little effort. The failures of this kind will have a little to considerable
effect on the productive work and could hardly damage the machine or men
or environment
3. Major Failures : The^e failures take few days to rectify. They also may require
large work force, knowledge and skill to rectify. These failures may cause
considerable damage to the machine, minor injuries to men and affects the
regular work,
4. Catastrophic Failures : These are the costliest failures. The occurrence of such
failures may cause the damage to the machine, men and some times the
environment also. The rectification or recovery from the losses of this failure
may take a few weeks to months even.
(c) Random Failure: In this type of failure, the constant probability of failure
is associated with items that fail from random causes such as physical
shocks, not related to age. For example, vacuum tubes in air-burn
equipment have been found to fail at a rate of the age of tube.
Running time •
While analysing the machine failure we are concerned with the following costs.
1. Purchase cost of machine or equipment capital investment.
2. Depreciation or salvage value or scrap value.
3. Running costs including Maintenance, Repair and Operating (MRO) costs.
4. Fialure costs and damage costs.
In the above four, the first three are inevitable, but failure costs can be prevented
by better maintenance policies. On critical examination, we can notice that the first
three costs depend on age of the machine. These costs vary with the running age as
follows.
520 Operations Research : Theory and Practice
2. Resale value or salvage value or scrap value of the machine decreases with the
running age of the machine. As the machine grows old, its resale value comes
down. This decrease depends on actual or expected condition of the machine.
The above costs are shown graphically on a hypothetical machine here below.
Running cost
Summing, the above three costs, we can notice that the average total cost
decreases for certain period and then increases. The age when the graph shows its
minimum costs will be optimum age of replacing the machine.
Necessity or Significance of Replacement:
The replacement of parts or entire machine will become significant and
necessary in the following cases.
1. When average costs of repairs or maintenance or operating goes higher than
the costs of machine. Or in other words, the cost of maintenance will increase
to such an extent that the average annual repair or maintenance cost is greater
than or equal to costs of new machine.
2. When the machine completely fails to work very frequently by which the
production schedules are interrupted.
5. If it is expected that the existing model may become absolete or resale value
may drastically come down.
Type - II: Replacement policy for items when money value changes with time.
These are explained in detail with examples and illustrations in the sections to
follow,
10*4 Type -1: Replacement Policy when Money Value does not
Change with Time
Let us now find the optimal policy for the case of replacement when money
value does not change with time.
Let C = capital or purchase cost of new item.
S = scrap or salvage or resale value of the item at the end of/ years.
R (t) = running cost for the yeat t.
n = replacment age of the equipment.
Here two cases arise.
Case (i) : When time t is a continuous variable :
If the equipment is used for T years, then the total cost incurred over this period
is given by
Tc = capital (or purchase) cost - scrap value at the end of t years + running
cost for t years.
522 Operations Research : Theory and Practice
Theretore the average cost per unit time incurred over the period of n years is
or R(n) = -\C-S+\R(f)dt
Hence the following replacement policy can be derived with the help of
equation (2)
Policy : Replace the equipment when the average annual cost for n years becomes equal to the
current/annual running cost.
are
If C-S and ^ ^(0 assumed to be monotonically decreasing and increasing
respectively, then there will exist a value of n for which ATCn is minimum. Thus we
shall have inequalities
ATCn_1-ATCn>0
and ATCn+l-ATCn>0
Replacement Analysis 523
^R(t)+R(n + 1)
n+l
C-S+
I (n+l)
n+l n+l
n+l n+l
n+l | n+ 1- l l
1)
n+l n+l
Rin+l)_ATC2L>Q
(n+l) n+l
R(n+l)~ATCn>0
R(n+l)>ATCn . . (4)
Policy 1 : If the next year, running cost, R (n + I) is more than average cost of nth year, ATCn
then it is economical to replace at the end ofn years
i.e.
The Procedure:
<=°
Thus the procedure for obtaining the decision when to replace the equipment
in the case of money value not changing with time can be outlined as follows.
Step 1: Draw the table with columns as shown below and enter the values of column 1,
2, 3 and 4 as given in the problem.
Cumulative Average total cost
Year of Cost of Salvage Running Total Cost (7T) =
Cost Net value running cost = ATC =
service equipment value
(C-S)
(«) (C) (5) Rn
I*.
(C~S) + %Rn ^(c-s) + S^l
(1) (2) (3) (4) (5) = (2) - (3) (6) = £ (4) (7) = (5)+ (6) 8 = (7)/(l)
Step 2 : Calculate net value by difference of cost and salvage value (C-S) i.e., 2nd column
value minus 3rd column value and enter in column 5
Step 3 : Calculate cumulative running cost i.e., ^T Rn cumulation of column 4 and enter
in column 6.
Step 4 : Calculate total cost TC = (C-S) + £ Rn i.e., sum of 5th column value and 6th
column value to enter in col. 7.
Step 5: Calculate average total cost for n years, i.e., divide 7th column value by 1st
column value i.e., ATC = — UC-S) + ]£ RJ and enter in col. 8.
Step 6: Observe the values in column 8 and identify the minimum value. The year
corresponding to this minimum value is the age of the equipment to be
replaced.
Replacement Analysis 525
Solution :
The calculations for replacement of the machine are shown in the following
table :
Year Replacement Resale value Net Value Operating Commulative Total Cost Average
Cost (S) Cost Running Annual cost
Cost 2 Rn ATCn
100 60 40 25 25 65 65
125 40 85 40 95 180 60
From the above table, it may be noticed that the average cost per year, ATCn
is minimum in the 2nd year, i.e., ATC2 is Rs. 57.5 which is less than^TCj (Rs. 65) and
ATC$ (Rs. 130/-). Hence the machine should be replaced at the end of second year.
ILLUSTRATION 3
A fleet ownerflndsfrom his past records that the costper year of running a vehicle
whosepurchase price is Rs. 50000 are as under:
Year 1 2 3 4 5 6 7
Running cost Rs. 5000 6000 7000 9000 21500 16000 18000
Resale Value Rs. 30000 15000 7500 3750 2000 2000 2000
There after running costs increase by Rs. 2000, but resale value remains constant
atRs. 2000. At what age is a replacement due?
[JNTU B.Tech. (Mech.) 97/CCC, (ECE) 97/CCC]
Solution :
The required calculations are shown in the following table :
ATC
Year C S C-S R(n) cum R(n) TC
(1) (2) (3) (4) =(2)-(3) (5) (6) = 2 (5) (7)=(4)+(6)
(1)
1 50,000 30,000 20,000 5000 5000 25,000 25,000
The machine should be replaced at the end of 4 year or at the end of 7 year
if it is not replaced at the end of 4th year.
ILLUSTRATION 4 —
Machine A cost Rs. 45,000 and the operating costs are estimated ofRs. 1000 for
the first year, increasing by Rs. 10,000 per year in the second and subsequent
years. Machine B costs Rs. 50,000 and operation costs are Rs. 2000 for the first
year, increasing by Rs. 4000 in the second and subsequentyears. If we now have a
machine of type A, should we replace it with B? If so when? Assume that both
machine have no resale value and future costs are not discounted.
[JNTU (Mech.) 95, (CSE) 2000/S]
Solution :
The calculations of average costs running per year during the life of machine
A and B are shown in tables give below.
TABLE: CALCULATIONS OF AVERAGE RUNNING COST FOR MAC HI WE A.
Year of Service Running Cost Cumulative Depreciation Total Cost (Rs.) Average Cost (Rs)
in Rs. R(n) Running Cost in Cost (Rs.) TC Rs. ATCn
Rs. £ R(n) C-S
ifiiMi
64,000 45,000 1,09,000 27,200
31,000
1,05,000 45,000 1,50,000 30,000
41,000
1,56,000 45,000 2,01,000 33,500
51,000
From the above table it may be noted that the average running cost per year is
lowest in the third year, i.e., Rs. 26,000. Hence, machined should be replaced after every
three years of service.
528 Operations Research : Theory and Practice
Machined should be replaced by machine B at the time (age) when its running
cost for the next year exceeds the lowest average running cost (Rs. 20,000) per year
of machined.
Calculations show that the running cost (Rs. 21,000) of machined in the third
year is more than lowest in average cost (Rs. 20.000) per of machine B. Hence machine
A should be replaced by machine B after two years.
Practice Problems
1. The cost of a machine is Rs. 6100 and its scrap value is only Rs. 100. The
maintenance costs are found from experience to be
Year 1 2 3 4 5 6 7 8
Maintenance cost Rs. 100 250 400 600 900 1200 1600 2,000
2. A truck - owner finds from his past experience that the maintenance costs are
Rs. 200 for the first year and then increase by Rs. 2,000 every year. The cost of
truck type A is Rs. 9,000. Determine the best age at which to replace the truck.
If the optimum replacement is followed what will be the average yearly cost of
owning and operating the truck? Truck type B costs Rs. 20,000. Annual
operating costs are Rs. 400 for the first year and then increase by Rs. 800 every
year. The truck owner has now the truck type A which is one year old. Should
it be replaced by B type, and if so, when?
Answer; After every 3rd year, trucks is to be replaced (Rs. 5200). After every 6th
years truck B (Rs. 5733.3) is replaced. Comparing both, cost of truck B is
lower than that of Truck A from 3rd year onwards, hence after 3rd year
replace Trucks by Truck B.
3. (a) Machined costs Rs. 9000, Annual operating costs are Rs. 200 for the first
year, and then increase by Rs. 2,000 every year. Determine the best age
at which to replace the machine. If the optimum replacement policy is
followed, what will be the average yearly cost of owning and operating the
machine?
(b) Machine B costs Rs. 10,000. Annual operating costs are Rs. 400 for the
first year, and then increase by Rs. 800 every year. You now have a machine
of type A which is one year old. Should you replace it with B, if so, when?
[ICWA, June 1985]
Answer: (a) Total cost in the 3rd year is least i.e., Rs. 5200 hence replace at the end
of 3rd year.
(b) Average annual cost is least at the end of 5th year. The total cost Rs. 2200
for 1 year old machine A remains less than minimum average cost 400/-
on machine B until second year, therefore replace machine A before 3rd
year.
4. A firm is considering replacement of a machine whose cost price is Rs. 12,200
and the scrap value is Rs. 200. The maintenance costs are found from
experience to be as follows :
Year 1 2 3 4 5 6 . 7 8
Maintenance cost (Rs) 200 500 800 1200 1800 2500 3200 4000
[JNTU (CSE) 96/S, (Prod./Mech,Mechatroirics/Chem.) 2000]
Year 1 3 4 5 6
Running costs (Rs) 1500 1600 1800 2100 2500 2900 3400 4000
Resale value (Rs) 3500 2500 1700 1200 800 500 500 500
7. A fleet owner finds from his past records that the costs per year of running a
vehicle whose purchase price is Rs. 5000 are as under :
Year 1 2 3 4 5 6 7
Running costs (Rs) 500 600 700 900 2150 1600 1800
Resale value (Rs) 3000 1500 750 375 200 200 200
Thereafter, running cost increases by Rs. 200 but resale value remains constant
at Rs. 200. At what age is a replacement due? [JNTU (CSE) 96]
8. A truck owner from his past experience estimated that the maintenance cost
per year of a truck whose purchase price is Rs. 1,50,000 and the resale value of
truck will be as follows.
Year 1 2 3 4 5 6 7 8
Maintenance cost 10,000 50,000 20,000 25,000 30,000 40,000 45,000 50,000
(Rs)
Resale value (Rs) 1,30,000 1,20,00 1,15,000 1,05,000 90,000 75,000 60,000 50,000
Answer : Though the minimum value of the average cost occurs at the end of first
year, it is impractical to replace the truck every year, so next time the
minimum average cost occurs at the end of 4th year. Hence it is better to
replace the truck after every 4 years.
Note : Here the condition after every 4 years, policy maintenance cost increases with time violating if in
the 3rd year.
9. A machine costs Rs. 10,000 operating costs are Rs. 50 per year for the five years.
In the sixth and succeeding years operating costs increase by Rs. 100 per year.
Find optimum length of time to hold the machine before replacing it.
[JNTU (Mech.) FDH 95]
(b) Another machine B which is similar to machined costs Rs. 4000. Annual
running costs are Rs. 200 for first year and then increase by Rs. 200 every
year. It has resale value o' Rs. 1500, Rs. 1000 and Rs. 500. If replaced at
the end of first, second and third year respectively. It has no resale value
during fourth year onwards. Which machine would you prefer to
purchase. Further costs are not discounted. [J*rru (CSIT) 98/S]
13. The machine owner has three small machines of purchase price Rs. 6000 each
and cost per year of maintaining each machine is same. Two of these machines
are two years old and the third is one year old. He is considering a new machine
of purchase price Rs. 8000 with 50% more capacity than one of two old ones.
The estimates of maintaining cost and resale price for new machine are as given
below ;
Year 1 9 3 4 5 6 7 8
Maintenance cost (Rs) 1200 1500 1800 2400 3100 4000 5000 6100
Resale price (Rs) 4000 2000 1000 500 300 300 300 300
532 Operations Research : Theory and Practice
Answer: All the three small machines should be replaced after two years.
16. Fleet cars have increased their costs as they continue in service due to increased
direct operating costs (gas and oil) and increased maintenance (repairs, tyres,
batteries etc.) T h e initial cost is Rs. 3,500 and the trade-in value drops as time
passes until it reaches a constant value of Rs. 500.
Given the cost of operating, maintaining and the trade-in value, determine the
proper length of service before cars should be repalced.
Year of service 1 2 3 4 5
Year end trade-in value 1900 1050 600 500 500
Annual operating cost 1500 1800 2100 2400 2700
Annual maintaining cost 300 400 600 800 1000
In a similar fashion one rupee today will be (1.1) two years hence because it is
1.1 after one year and 1.1 x 1.1 in the next i.e., second year. Thus a rupee two years
hence is worth (l.l)" 2 today. Thus the present worth of one rupee, n years hence will
be (1.1 )~n or (1 + 0.10)" today, when money value is changing @ 10%.
Now if the money value is supposed to be changing at the rate of r percent, the
1
present worth of one rupee, n years hence will be (1 + r)^" or
(1+rf
Replacement Analysis 533
Present Worth Factor (PWF) : It is the factor that converts a rupee 'n years hence
changing (money grows but value decreases) at the rate of Y percent is worth today. This is
denoted by v = (1 +r)~ ? \ This is also called "discount rate" or "depreciation rate" or
"present value factor".
Thus the present value of all future discounted cost in V year assuming scrap
value of the equipment be zero, is
Pn = C + J?j + v R2 + v 2 £3 + + vn " l Rn
Thus Pn is the amount of money required to pay all future costs of purchasing
the equipment and operating it assuming that it is to be replaced after V years.
Now if we assume that the manufacturer invests the amount Pn by borrowing
at the rate of interest V and repays it in V years with a fixed annual instalment V on
diminishing balance,
Then Pn =.*•+ vx + v 2 1
1-vn
1- V
" 1- v
1-vn
Hence the best period to replace the machine is the period n which minimises
p
1-v n
. Pn. But 1 - v = A positive constant quantity and so we can write Fn = -
and find out the value of n the period at which to replace the machine that minimises
Fn. Since n can assume only discrete values [1, 2, 3, . . . ] we can use the method of
finite differences to calculate its optimal values.
534 Operations Research : Theory and Practice
l-vn
Hence
(l-vn+1)(l-
vn(l-v) 1-v"
• Rn + I (e)
1- V »
= A positive constant x
1-v 'Rn+:
1- (f)
1-v 1-v
1-VB
From above equation we have — Rn + j - P n > 0
1-v
or or Rn+X>-
n
\ l-vn
C + i?j + v R2 + v- i? 3 + . . . + vn l
Rn
or An+\ 2 n
1+ V +V + . . .+V
r=l
(g)
- 1
r= 1
The right hand expression is the weighted average (denoted by wr) of all costs
up to and including period (n - 1). The weights 1, v, v 2 . . \n~ l
are the discount
factors applied to the costs for each period.
Replacement Analysis 535
From equation (f), the left hand side of expression can be expressed as
r=\
Rn+l< — (h)
r-1
Step 1 : Note the values of capital cost of machine, salvage value, rate of depreciation
PWF etc.
Step 2 : Construct the tabular form as given below, and enter the first 2 columns as per
the given data.
Year Running Cost PWF C + S^v""1 Iv-1 Average Annual
v«-l Total CostT Cn
(1) (2) (3) (4) = (2)-(3) (5) = C+I (4) (6) = I (3) (7) = (5)/(6)
Step 3 : Calculate the present worth factor for each year by the formula — and
put in col. 3.
Step 4 : Calculate Rn vn l
i.e., the product of 2nd and 3rd col. values, and enter them
in col. 4.
536 Operations Research : Theory and Practice
Step 5: Col. 5 is summation of cummulative running cost and capital cost including
(salvage if any) i.e., C + Z Rn vn " l.
ILLUSTRATION 5
The initialprice of equipment is Rs. 5000. The running cost varies as shown below.
Year 1 2 3 4 5 6 7
Running cost (Rs.) 400 500 700 1000 1300 1700 2100
Taking a discount rate ofO. 09. Find out the optimum replacement interval.
So luff on :
Year = n Maintenance Discount Discount cost n n ATC
cost = Rr factor = vr ~ * i^v7"1
r=\
Solution \
TABLE FOR A
r=10% (^ = 5000
Year n n 5
Rr
6
r=\
(1) (2) (3) (4)-(2)x(l) (5) = C + Z (4) (6)-I (3) (7) = (5) (6)
1 800 1.0000 800 5800 1.0000 5800.00
2 800 0.9091 727 6527 1.9091 3418.88
3 800 0.8264 661 7188 2.7355 2627.67
4 800 0.7513 601 7789 3.4868 2233.85
5 800 0.6830 546 8335 4.1698 1998.89
6 1000 0.6209 621 8956 4.7907 1869.45
7 1200 0.5645 677 9633 5.3552 1798.81
8 1400 0.5132 718 10351 5.8684 1763.85
Iiiiii
10 1800 0.4241 763 11860 6.7590 1754.70
iTABLE FORB
R=l( CB = 2500
1 1200 1.0000 1200.00 3700.00 1.0000 3700.00
§§tI! Ifiitti | | li
9 1800 0.4665 839.70 10699.95 6.3349 1689.25
10 2000 0.4241 848.20 11548.15 6.7590 1708.56
1-0.9091
xllO97 = Rs. 1752
l-(0.9091)9
1-0.9091
Alternately weighted average cost in 9 year forvl = 1781.72 and that for B in
8 year = 1680.23 which is the lowest.
Purchase B.
Practice Problems
1. A company has the option to buy one of the mini computer : MINICOMP and
CHIPCOMP. MINICOMP costs Rs. 5 lakh and running and maintenance costs
are Rs. 60,000 for each of the first five years increasing by Rs. 20,000 per year
in the sixth and subsequent year. CHIPCOMP has the same capacity as
MINICOMP, but costs only Rs. 2,50,000. However its running and
maintenance costs are Rs. 1,20,000 per year for first five year and increase by
20000 per year thereafter. If the money is worth 10% per years, which computer
should be purchased? What are the optimal replacement periods for each of
the computer? Assume that there is no salvage value for either computer.
Explain your analysis.
[JNTU (CSE) 96/S]
Answer: Better replacement period for CHIPCOMP computer is after six years.
2. Assume that the present value of one rupee to be spent in a years time is Rs.
0.90 and C = Rs. 3000 capital cost of equipment and the running cost are given
in the table as follows.
Year 1 2 3 4 5 6 7
Running cost (Rs) 500 600 800 1000 1300 1600 2000
5. A truck is priced for Rs. 60000 and running costs are estimated at Rs. 6000 for
each of first 4 years increasing by Rs. 2000 per year in the fifth and subsequent
years. If money is worth 10%, when should the truck be replaced. Assume scrap
value = 0. [JNTU (Mech.) 96/C/S, (ECE) 96/S/CCC]
6. A machine costs Rs. 10,000 and operating costs are Rs. 500 per year for first
five years. Operation cost increases by Rs. 100 per year in the sixth and
subsequent year. Assuming 10% discount rate of money per year find optimum
length of time to hold the machine before it is replaced. State clearly
assumptions made. [JNTU (Hech.) 93, Madras B.E. (Mech) 1984]
Answer: Nineteen years
7. A truck has been purchased at a cost of Rs. 1,60,000. The value of the truck is
depreciated in the first 3 years by Rs. 20000 each year and Rs. 16000 per year
thereafter. Its maintenance and operating cost for the first three years are Rs.
16000,18000 and 20000 in that order and then increase by Rs. 4000 every year.
Assuming an interest rate of 10%. Find the economic life of the truck.
[JNTU (Mech.) 2001/CCC, JNTU (ECE) CCC 2001/43301]
Answer: 7 years
540 Operations Research : Theory and Practice
8. A truck owner estimates that the running costs and the salvage value of trucks
for various years will be as illustrated below. If the purchase price of a truck is
Rs. 80000 estimate the optimum replacement age for the truck. Take money's
value as 15% per annum.
Year 1 2 3 4 5 6 1 8
Running Cost (Rs) 6000 7000 9000 12000 15000 20000 25000 30000
Resale Price (Rs) 60000 40000 30000 30000 25000 20000 20000 20000
[JNTU (CSE) 98]
9. If you wish to have a return of 10% per annum on your investment. Which of
the following plans would you prefer.
Plan ,4 Plan£
First cost 2,00,000 2,50,000
Scrap value after 15 years 1,50,000 1,80,000
Excess of annual revenue over 25,000 30,000
manual disbursement
Answer: Plan A
10. Singareni Collieries Company Ltd (SCCL) has received offers for two types of load
hauling dumpers A and B. A has a pay load of 25 tonnes and is priced at Rs.
4,00,000 while B also with pay load of 25 tonnes, is priced at Rs. 3,60,000. The
operating costs over the estimated life of 5 years for both the types are as follows.
Year 1 2 3 4 5
Type^(Rs) 8000 9000 10000 11000 12000
Type5(Rs) 14000 16000 18000 20000 22000
Answer: Type B
11. A manual stamper currently valued at Rs. 1000 is expected to last two years and
costs Rs. 4000 per year to operate. An automatic stamper which can be
purchased for Rs. 3000 will last for 4 years and can be operated at an annual
cost of Rs. 3000. If money carries a rate of interest of 10% per annum, determine
which stamper should be purchased. [Bangalore B.E. (Mech) 1982]
12. There are two machines^ and B. A is replaced after every 3 year where as B is
replaced after every 8 years. The yearly cost of the machines are given below :
Year 1 2 3 4 5 6
A 1000 200 400 1000 200 400
B 1700 100 200 300 400 500
Assuming the value of money to be 10% per year, determine which machine
should be purchased. [JNTU (CSE) 95/S]
Answer: Considering six years period for both the machines, machine A appears
to be cheaper than B. Hence machine A should be purchased.
13. The cost of a new car is Rs. 10,000. Compare the optimum moment of
replacement assuming the following cost information :
Assuming that repairs are made at the end of each year only if the car is to be
retained and are not necessary if the car is to be sold for its salvage value. Also
assume that the rate of discount is 10%.
Age of car Repair costs / year in Rs. Salvage value at the end of the year in Rs.
1 5000 8000
2 10000 6400
3 10000 5120
[JNTU (CSE) 93/S]
14. Let v = 0.9 and initial price is Rs. 5000. Running cost varies as follows:
Year 1 2 3 4 5 6 7
Running cost in (Rs) 400 500 700 1000 1300 1700 2100
15. A pipeline is due for repairs. It will cost Rs. 10000 and last for 3 years.
Alternatively a new pipeline can be laid at a cost of Rs. 30000 and last for 10
years. Assuming cost of capital to be 10% and ignoring salvage value, which
alternative should be chosen? [CJL (May) 1981]
16. The cost pattern of two machines Mx andAf2 when money value is not
considered is
Cost at the beginning of the year in (Rs)
Year Mx M2
1 900 1400
2 600 100
3 700 700
Find the cost pattern for each machine when money is worth 10% per year and
hence find the machine which is less costly.
17. An individual is planning to purchase a car will cost Rs. 1,20,000. The resale
value of the car at the end of the year is 85% of the previous year value.
Maintenance and operation costs during the first year are Rs. 20,000 and they
increase by 15% every year. The minimum resale value of car can be Rs. 40,000.
(i) When should the car be replaced to minimise average annual cost (ignore
initial)?
Answer; 5 years
19. The annual costs of two machines Xand Y are given below. Find their cost
patterns if money value is 10% per year, what conclusion do you derive about
which machine is economical?
Year 1 2 3
Machine X(Rs) 1900 1100 1400
Machine F(Rs) 2700 300 1400
20. The initial cost of an item is 15000 and maintenance and running costs in
rupees for different years are given below :
Year 1 2 3 4 5 6 7
Running cost 2500 3000 4000 5000 6500 8000 10000
What is the replacement policy to be adopted if the capital is worth 10% and
there is no salvage value.
Answer: Optimal replacement period = 5 years ( Rs. 7609).
21. A special lathe machine costs Rs. 1 lakh, annual operation and machine cost is
Rs. 1,000 and increases at a rate of Rs. 750 for 2nd and 3rd year and at a rate
of Rs. 1250 for the remaining life. The life of equipment is 10 years. Salvage
value at the end of the first year is Rs. 80,000 and falls at a rate of 10,000 every
year for the first 4 years. Afterwards it has no solvage value. What should be
economic life of lathe if the rate of return on capital invested is 25%.
Answer: At the end of 2nd year (Rs. 18000) [JNTU - CSE 97]
Step 1: Find the probability of failure of items at the end of each period.
Step 2 : Find the number of replacements made at the end of each period with reference
to probability of failures at the end of each period considering its previous
replacements.
Step 3 : Calculate cost of individual replacement at the end of each period.
Step 6: Calculate the average cost per period by dividing the result in step 5 with period
number.
Step 7: Identify the least among the average cost per period as the period of group
replacement policy.
ILLUSTRATION - 7
1000 bulbs are in use and it costs Rs. 10 to replace an individual bulb which has
burnt out If all bulbs were replaced simultaneously it would cost Rs, 4 per bulb.
It is proposed to replace all bulb fs atfixed intervals of time, whether or not they
have burnt out and to continue replacing burnt out bulbs as and when they fail
The failure rates have been observed for certain type of light bulbs are as
follows:
Week 1 2 3 4 5
Percent failing by the end of week 10 25 50 80 100
At what intervals all the bulbs should be replaced? At what group replacement
price per bulb would a policy of strictly individual replacement become
preferable to the adoptedpolicy. [ JNTU CSE 2001]
! Solution ;
Step 1: To find out the probability of failure of items at the end of each week.
D (25-10)
= 0.15
100
Replacement Analysis 545
The probability of failure of light bulbs in third week
Let N{ be the number of replacements made at the end of itn week, if all 1000
bulbs are new initially.
Thus
From above results it is clear that number of bulbs burnt out increases upto
fourth week and decrease upto sixth week and again start increasing. The whole
system comes to a steady state where the proportion of bulbs failing in each week is
the reciprocal of their average life.
.-. cost of replacing bulbs individually only on failure = 10 x 299 = Rs. 2990.
Step 3 : Calculating the cost of individual replacement at the end of each period cost
of individual replacement at
end of first week = 100 x 10 = 1000
end of second week = 1 6 0 x 1 0 = 1 6 0 0
end of third week = 281 x 10 = 2810
end of fourth week = 377 x 40 = 3770
Step 4 : Calculating the cost of group replacement at the end of each period.
end of first week = 1000 x 4 = 4000
end of second week = 4000 + 1000 = 5000
end of third week = 5000 + 1600 = 6600
end of fourth week = 6600 + 2810 = 4410
Step 5 : Calculating total cost of group replacement including individual replacement
i.e., adding values of step 3 and step 4.
end of first week = 4000 + 1000 = 5000
end of second week = 5000 + 1600 = 6600
end of third week = 6600 + 2810 = 9410
end of fourth week = 9410 + 3770 =13180
LLUST-RATION - 8 —
A factory has a large number of bulbs all of which must be in working condition. The
mortality of bulbs is given in the following table :
Week Proportion of Bulbs Failing
During the Week
1 0.1
2 0.15
3 0.25
4 0.35
5 0.12
0.03
If a bulb fails in service, it costs 3.50 to replace but if all bulbs are replaced at a time
it costs Rs. 1.20 each. Find the optimum group replacement policy. (Assume 1000 bulbs
as available in the beginning). [JNTU (Mech.) 99]
Solution :
No = 1000
ATj =NOPX= 1000x0.1 = 100 bulbs
N2=NlPl+N0P2
= 100x0.10+ 1000x0.15
= 160 bulbs
End of the Total no. of Cummulative Cost of Cost of group Total cost Average cost
week bulbs failed no. of failure replacement replacement per week
(Rs. 3.50) (Rs. 1.20)
1 100 100 350 1200 1550 1550
2 160 260 910 1200 2110 1055
3 281 541 1893.5 1200 3093.5 1031.1
4 427 968 3388.5 1200 4588 1147
5 279 1247 43G4.5 1200 5564.5 1113
6 260 1507 5274.5 1200 6474.5 1079.08
Practice Problems
1. Find the cost per period of individual replacement policy of an installation of
300 lighting bulbs, given following :
(i) Cost of replacing individual bulbs is Rs. 3.
(ii) Conditional probability of failure is given below :
Week No. 0 1 2 3 4
Conditional probability of failure 0 J_ 1 2 1
10 3 3
Answer: Expected life of each light bulb is 3 week and the average cost of individual
replacement of 300 light bulbs is Rs, 206.
(i) If the company now installs 5000 poles and follows a policy of replacing
poles only when they fail, how many poles are expected to be replaced
each day during the next ten year.
(ii) If the cost of replacing individually is Rs. 160 per pole and if we have a
common group replacement policy, it costs Rs. 30 per pole. Find out the
optimal period to group replacement. [JNTU (ECE) 95/CCC]
Answer : (i) 5533 poles (ii) All poles after 6th year
Replacement Analysis 549
3. The following failure rates have been observed for a certain type of light bulbs.
End of week 1 2 3 4 5 6 7 8
Probability of failure to date 0.05 0.13 0.25 0.43 0.68 0.88 0.96 1.00
n= l 2 3 4 5 6 7 8 9 10 11
0.01 0.03 0.05 0.07 0.10 0.15 0.2 0,15 0.11 0.08 0.05
7. A decorative series lamp set circuit contains 10,000 bulbs, when any bulb fails
it is replaced and the cost of replacing a bulb individually is Re. 1 only. If all
the bulbs are replaced at the same time the cost per bulb would be reduced to
35 paise. T h e percent surviving say s(t) at the end of month t, are given as
97 90 70 30 15 0
Answer: Minimum cost for group replacement is Rs. 18600 for an interval of 200
hours.
9. There are 1000 bulbs in the system survival rate is given below :
Week 0 1 2 3 4
Bulb in operation at the end of week 1000 850 500 200 100
The group replacement of 1000 bulbs costs Rs. 100 and individual replacement
is Re. 0.50 per bulb. Suggest suitable replacement policy. [JNTU (Mech.) 90]
Answer: One week group replacement policy ; Average cost = Rs. 175 per week;
Cost of individual replacement / week = Rs. 196.
10. The following mortality rates have been observed for a certain type of light bulbs.
Week 1 2 3 4 5
Percent failure by end of week 10 35 58 80 100
There are 1000 bulbs in use and it cost Rs. 2 to replace an individual bulb which
has burnt out. If all bulbs-were replaced simultaneously it would cost 0.50 paise
per bulb. It is proposed to replace all bulbs at fixed intervals whether or not
they have burnt out and to continue replacing burnt out bulbs as they fail. At
what interval should all bulbs be replaced. [Bangalore B.E. (Mech) 1984
JNTU (FDH, Hech.) 92]
Replacement Analysis 551
11. In a machine shop, a particular cutting tool cost Rs. 6 to replace. If a tool breaks
on a job, the production disruption and associates with amount to Rs. 30. The
past life of a tool is given as follows :
Job Number 1 2 3 4 5 6 7
Proportion of broken tools 0.01 0.03 0.04 0.13 0.25 0.55 0.95
[I.A.S 1989]
After how many jobs should the shop replace a tool before it breaks down.
If the motors are replaced over the week, the total cost is Rs. 200. If they fail
during the week the total cost is Rs. 100 per failure. Is it better to replace the
motors before failure and if so when?
Answer: Motors should be replaced every 20 weeks.
13. The mortality rates as obtained for an electronic component are noted in the
table below :
Month 1 2 3 4 5 6
Percentage fails at the end of the month 8 22 45 70 85 100
There are 1500 items in operation. It costs Rs. 20 to replace an individual item
and Re. 0.50 per item if all items are replaced simultaneously. It is decided to
replace all items at fixed intervals and to continue replacing individual item as
and when they fail. At what intervals should all items be replaced?
[JNTU (Mech.) 91]
14. The following failure rates have been observed for certain types of light blubs
Week 1 9 3 4 5
Percent failure by end of week 10 25 58 80 100
There are 1000 bulbs in use, and it cost Rs. 2 to replace an individual bulb which
is burnt out. If all bulbs were replaced simultaneously it would cost 50 paise per
bulb. It is proposed to replace all bulbs at fixed intervals, whether they have
burnt out or not, and to continue replacing bulbs on and when they fail. At
what intervals, all the bulbs should be replaced? [JNTU - CSE/ECE 2001]
552 Operations Research : Theory and Practice
Review Questions
1. What are the costs involved in failure and replacement analysis of equipment.
Explain.
2. Discuss the effect of running age of machine on failures and machine behaviour
with the aid of a graph (Bath Tub Curve). Where do you fit machine
replacement in the graph.
3. Explain Machine life Cycle, with reference to costs.
4. How does an equipment behave in the following stages? What type of
maintenance do suggest?
(a) Early stage when just bought and installed.
(b) When it is producing at its highest rate.
(c) When its expected life is almost completed.
5. When do you recommend replacement of a machine with a new one?
6. Discuss the effect of age on machine resale value and running cost with an aid
of a graph.
7. Discuss the replacement policy when money value is not changing with time.
8. Write a note on replacement policy when money value is changing with time.
9. What do you understand by group replacement? When do you opt this policy?
10. Discuss the step by step procedure to decide the interval of group replacement.
11. Write a short note on group replacement with examples of its application.
12. Distinguish between the individual replacement and group replacement
policies.
13. What policy do you recommend for the items that fail completely. Justify your
answer with examples.
14. Discuss the use of probabilities in replacement policies.
15. Distinguish between repairable and non-repairable system with reference to
replacement policies.
16. Discuss the importance of group replacement in the case of non-repairable
systems.
17. Discuss different types of failures that occur on a machine.
18. Distinguish between gradual failures and sudden failures and their effects.
19. Discuss the following failures and suggest the maintenance policies to be
adopted.
(a) Early failures or infant failures.
(b) Random failures or chance failures.
(c) Wear-out failures or old-age failures.
20. Discuss the effect of money value on machine replacement.
Replacement Analysis 553
2. When money value changes with time at 10% then PWF for first year is
(a) 0.909 (b) 1 (c) 0.826 (d) 0.9
3. Which of the following maintenance policy is not used in old age stage of a
machine
(a) operate to failure and corrective maintenance
(b) renovation/reconditioning
(c) replacement
(d) scheduled preventive maintenance
4. When money value is changing with time @ 20%, the discount factor for 2nd
year =
(a) 1 (b) 0.833 (c) zero (d) 0.6944
5. If the probability of failure of a machine is gradually decreasing, the failure
mode is said to be
(a) progressive (b) retrogressive
(c) regressive (d) recursive
6. Which of the following replacement policy is probability model
(a) when money value does not change with time where time is continuous
variable
(b) when money value does not change with time where time is a discrete
variable
(c) when money value changes with time
(d) group replacement policy
7. Which of the following replacement policy is considered to be dynamic
(a) when money value does not change with time where time is continuous
variable
(b) when money value does not change with time where time is descrete variable
(c) when money value changes with time
(d) none of the above
8. A machine is to be replaced if the average running cost
(a) is not equal to current running cost
(b) of current period is greater than that of next period
(c) till current period is greater than that of next period
(d) of current period is less than that of next period.
554 Operations Research : Theory and Practice
12. Which of the following is not used in group replacement policy decisions
20. The type of failure that usually occurs in old age machine is
22. Chance failures that occur on a machine are commonly found on a graph of
time (X-axis) Vs failure rate (F axis) as
(a) hyperbolic
(b) parabolic
(c) straight line nearly parallel to X axis
(d) straight line nearly parallel to Y axis
2- When money value changes with time @ r then discount factor for nth year -
11. The replacement policy applicable for the items that completely fail is _
12. The suitable replacement policy applicable for low cost, identical, large number
of items is
14. The highest and most efficient production rate is found in stage
of the machine life cycle
17. The shape of early failure rate in a machine life cycle graph is
18. The preventive maintenance is expected to increase the life of machine in
stage of the machine
19. The discount factor at the end of* 1st year when money value changes @ 10%
is
Answers
Objective Type Questions;
CHAPTER AT A GLANCE
Start
No
Use dominance rule to reduce the size
of the payoff matrix to either 2*2
2xw ormx2, size (order)
Yes
Yes
Use graphical method to solve the problem.
Stop
Game Theory 561
1L0 Introduction
In the competitive world, it is essential for an executive to study or at least guess
the activities or actions of his competitor. Moreover, he has to plan his course of actions
or reactions or counter actions when his competitor uses certain technique. Such war
or game is a regular feature in the market and the competitors have to make their
decisions in choosing their alternatives among the predicted outcomes so as to
maximise the profits or minimising the loss.
Hie game theory has taken its importance in the business management in 1944,
when Von Neumann published "Theory and practice of Games and Economic
Behaviour".
2. Each player has a finite number of possible courses of action called 'strategies'.
3. All the strategies and their effects are known to the players but player does not
know which strategy is to be choosen.
4. A game is played when each player chooses one of his strategies. The strategies
are assumed to be made simultaneously with an outcome such that no player
knows his opponents strategy until he decides his own strategy.
5. The game is a combination of the strategies and in certain units (usually in
terms of money) which determines the gain (shown in positive figures) or loss
(shown in negative figures).
6. The figures (either gain or loss) shown as the outcomes of strategies in a matrix
form is called "pay-off matrix"
7. The player playing the game always tries to choose the best course of action
which results in optimal pay off, called "optimal strategy11.
8. The expected pay off when all the players of the game follow their optimal
strategies is known as "Value of the game". The main objective of a problem of
games is to fmd the value of the game.
9. The game is said to be 'fair game if the value of game is zero, otherwise it is
known as 'unfair.
562 Operations Research : Theory and Practice
a a
m\ nm a
m2
Game Theory 563
e.g.; Suppose there are two players, say Colgate and Pepsodent. In a colony
there are 1000 people who either use Colgate or Pepsodent. Now, if say
20 people have changed their brand from Colgate to Pepsodent due to
effective advertisement then the loss of Colgate is gain for Pepsodent, This
is a zero-sum game.
If a group of 30 people has stopped using any toothpaste and use
neem-sticks. Here loss of any player is not a gain to other player. This
game is non-zero sum (negative sum) game.
2. Probabilistic Games : If a player adopts more than one strategy with some
probabilities or prepares a blend of two or more strategies, these games are
said to be probabilistic. Here, mixed strategies are used as no saddle points
exist.
564 Operations Research : Theory and Practice
112.4 With Reference to Value of the Game
1. Fair game 2. Unfair game
1. Fair Game : If the value of the game is zero, i.e., neither player wins nor loses
(drawn), the game is said to be fair.
2. Unfair Game : If one of the player wins (other loses), or the value of the game
is non zero (may be positive or negative), it is unfair.
Multiperson
games Same as above
Pay Off Matrix : The qualitative measures of returns of the players in terms of
gains or losses when players select their particular strategies can-be represented in
the form of a matrix in m rows and n .columns, called pay off matrix. The m rows are
the m courses of action of one player while n columns represent the strategies of the
other player. Thus one player say A has m strategies^, A%9 A% . . .Am and player B
has n strategies as Bp B^ B§ . . . Bn. When each player chooses one of his strategies
say Ai and £ -, then the expected out come x^ is represented as the elements of the
matrix. It is a general convention to read the pay off matrix with reference to row
player (here A) always.Thus a positive sign of x- is gain to A or loss to B while the
negative sign of x^ (i.e., - x-) is loss of A or gain of B.
Game Theory 565
Obviously player */!' wishes to maximise his gains while player B wishes to
minimise his loss.
(xj i is pay off when A uses A j strategy and B uses B^ strategy x 12 is pay off when
A applies A y and B applies B% strategies and so on).
Player Bys strategies
*11 x 12 x13 X
\n
x X X
\2 32 2n
x
Player ^4*5 strategies n
3. Player in Rows attempts to maximise his gains while player in columns tries to
minimise his losses.
4. The decision of both players are made individually prior to the play with out
any communication between them.
5. The decision is supposed to be made simultaneously and also announced
simultaneously so that neither player has any advantage over the other due to
the direct knowledge of the other player's decision.
6. Both players know their own pay ofrs as well as the pay off of each other.
7. The positive sign of the pay off indicates the gain to row player or loss to column
player and negative sign indicates loss to row player or gam to column player.
Players Adithi andSahithi haue a competition to reach college early. Each has
two strategies viz going by car or going by a two-wheeler. If both go by cars,
Sahithi reaches 5 minutes early but if both go by two-wheelers, Adithi can reach
4 minutes early. If Adithi goes by car andSahithi by a two wheeler, Adithi reaches
2 minutes early while Adithi by two wheeler and Sahithi by car keeps Sahithi
7 minutes early. If both can choose their strategies independently and
simultaneously and know these estimated pay offs each other, find who will win.
What will be outcome of the game and their optimal choices.
Solution :
Step 1 : To Write Pay OffMatrix .Let us first formulate the information into the pay off
matrix.
Assume Adithi is the row player and Sahithi is column player. With this
assumption, we can say that gains to Adithi are positive and that to Sahithi are negative.
The pay offs for various alternatives are as follows.
Adithi by car when Sahithi by two wheeler is 2 (since Adithi wins by 2 min).
Adithi by two wheeler when Sahithi by car is -7 (since Sahithi wins by 7 min)
Adithi by two wheeler while Sahithi by two wheeler is 4 (since Adithi wins by 4
min).
Adithi Car 2
Two Wheeler 0 4 -7
- 5 <- Max (Rmm)
Sahithi
Adithi Car -5
Two Wheeler -7
Adithi Car y 2
Two Wheeler
y -7
_ gs- 5 <- Max (Rum) (Maximin)
O
Min(C max )
(Minimax)
As Maximin = Minimax or Max CRmin) = Min (C m a x ) the saddle point exists at
first row-first column element which is both encircled and enrectangled.
Bj B2 B3 B4
-5 -2 0 7
A A2 5 -6 -4 8
A3 4 0 2 3
Solution :
Finding Rrr^n and then maximim among i?D
B2 £
4 min
A A,
0 -2 0 7 -5
5
Q -4 8 -6
4
® 2 3 0
B% BA Rm\,
4 ^min
A 4i
0 -2 0 7 -5
5
0 -4 8 -6
4 K5) 2 3
0 Max(i? mill )
Min(C m a x )
i?2 dominates R\
since R%i>Ru (Ri
e.g. can be deleted)
R*
In the above pay off every element in R j is less than or equal to its corresponding
element in i?2- (4<5, 6=6 and -5<-3). Therefore Rl can be deleted since row player
(A) will never use R± for whatever strategy B uses among Cj, C2, and C3.
Note : The rule cannot be applied even if one element does not obey rule.
2 C% dominates C\
e.g. since C%j< C\j
R* «iiii -1
(C\ can be deleted)
In the above pay off matrix, every element of Cj is either greater than or equal
its corresponding element of C2- This suggests* that, first column is inferior to the
second in any case and hence deleted.
Game Theory 571
When no single row (pure) strategy has dominance over the other, then the
comparison may be made between a row and the average of a group of rows, if every
element is less than or equal to average of corresponding elements of a group, then
the former row can be removed. If a row dominates over the average of group of rows,
then the group may be discarded.
Player B
e.g. 1 Player^
In Ax ScA2
Ax8cA3
A2 8c A%
8cAs = 8<8
-1+4 3
= 9"-
Therefore the average is dominated by^4x and hence both^42 and A% are deleted
leaving the matrix as [1 4]
Rule - 4 : Modified Column Dominance :
Similar to the above rule, when no pure column dominance exists, a convex
linear combination i.e., average of certain pure strategies may be compared with
another pure strategy applying rule 2, i.e., if every element in a column is greater than
or equal to corresponding element of other column the former is omitted.
Player B
8=
15+1
Player ,4 HI 15 1 2
e.g. -1 + 4
iHSl -i 4
Clearly, their is neither pure column nor pure row dominance exist in the above
pay off. But the average (convex linear combination) of 5 2 and B$ is greater than or
equal to corresponding element of first column. Therefore B^ can be deleted.
Thus we get,
P i]
These rules used to solve the games are illustrated through following numerical
examples.
ILLUSTRATION 3
Let us the take the game of illustration -1 and solve by using dominance :
After formulating we get
Sahithi
Car Two-wheeler
5
Adithi Car
Two-wheeler
isrffe C2j > = Cij (C% can be deleted)
Solution :
Now, from Sahithi's point of view, she never uses her second strategy i.e.,
two-wheeler since, for what ever Adithi's strategy, she will be the loser. Therefore her
car strategy dominates over two-wheeler strategy (every element of first column is less
Game Theory 573
than or equal to corresponding element of second column). Hence Sahithi's
two-wheeler strategy is deleted.
Thus we get,
Sahithi
Car
Adithi Car
R% <R\i (i?2 can be deleted)
Two-wheeler
Now, as Adithi has her better strategy with car (her loss is less here), she will
never got for two-wheeler strategy. (Every element in first row is greater than or equal
to the corresponding element in the second row). Hence second row is deleted.
Now the game is reduced to a single element matrix i.e., both using car strategy
with value of the game as - 5. i.e., Sahithi wins by 5 units.
ILLUSTRATION 4
1*2 1*4
55 53 32 62
s2 4O 30 74 5O
s3 57 54 44 53
54 54 72 56
Use dominance principle so that the student may choose his optimal strategy.
Solution :
In the given pay off, by examining thoroughly we find that every element of
P 2 column is less than or equal to the corresponding element of Pj column, hence
professor will never use the P± strategy (P2 dominates P^, hence Pj is deleted. The
pay off is then reduced to
574 Operations Research : Theory and Practice
deleted
From the above pay off, it is clear that, the student will never use 5 S because
every element of 5 4 is greater than or equal to corresponding elemerit of 5 3 (5 4
dominates S3 ). Hence by using the principle of dominance we delete S3 and revise
the pay of as
p
t p P
s4 54
s2 30 74
54 72
54
Now, S4 dominates S2, hence S2 is deleted. Thus student uses S 4 strategy while
professor uses P 2 strategy i.e. The professor gives the exam tough when student claims
that his absence is due to attending intercoUege celebrations and the value of the game
is 54.
Game Theory 575
ILLUSTRATION 5
S o Iution i
In this game, on observing we can notice the dominance of B2 over B$ and JB4.
(by Rule - 2)
The game reduces to
B
-6
mm o
Now, as B% dominates B± and so, we delete
B
Modified Dominance :
ILLUSTRATION 6 ——-
Use dominance principle to reduce thefollowing game to 2*2 game, Is the game
stable. nw n
Player B
Bt B2 B3 B4
6 -10 9 0
Player A
A2 6 7 8 1
A3 8 7 15 1
A4 3 4 -1 4
Solution ;
We can easily verify that the above game has no saddle points. Therefore it is
not stable.
Now using row dominance, the third row^43 dominates overy4x as well
Therefore^ and^42 are deleted (shaded in the pay off matrix of the problem given
above).
Thus the play reduces to
Player B
£>i JDc, £>o BA
Player^
A4 SKtif -i 4
=8<8
Game Theory 577
Therefore B's B±, strategy is deleted.
Thus the game reduces to
Player B
Player ,4
This game can be solved by using either algebraic or any other suitable method,
which will be explained in the sections to follow.
1. Algebraic Method :
Suppose a general game without saddle points as given below :
Player B
player A
Since it is assumed that there are no saddle points, A wishes to use a mixed
strategy ofA i and A% with the probabilities of/? i and p%t and B to use a mixed strategy
of B i and JB2 with the probabilities of qy and q% respectively.
578 Operations Research : Theory and Practice
According to the assumption that A always tries to maximise his minimum
returns and B tries to minimise his maximum losses, they employ their strategies most
optimally such that the B's minimax losses will be equal A9s maximin gains.
Hence, out come of probability mix (of px andjf?2) by A in his Ax and^42
strategies when if use's his Bx strategy i.e., apx + cp2 is the value of the game.
Otherwise, when B uses his B2 strategy, A's returns will be apx + dp2, is also the
value of the game. These both must be equal.
(a-b)px = (d-c)p2
— =~ (i)
Pt a ~ b
Similarly, from B 's. point of view
aqx + bq2 = cq^ + dq2
i.e., (a-c)ql = (d-b)q2
q2 (a - c)
Thus we have
or
P\ = l -P2 P2=l ~Pv • • • • (iiO
and qx = 1 - q2 or q2 = 1 - qx . . - . (iv)
* Illustration - 6 is continued :
Previous to this section, the problem in Illustration - 6 was reduced from
4 x 4 to 2 x 2 and left unsolved there.
Now we can use the above formulae and find the solution.
Player B
B
3
15 1
Player^
A4 -1 4
Assuming the probabilities p] 8cp2 for A and q± h!c£2 for B to use
t and 2*3, B4 respecitvely, we have
-1-4 14
H- 19
1-4 3 16
(-1 + 1)-(15+ 4) " 19 19
(15) ( 4 ) - ( - ! ) ( ! ) 61
( )( )
[ 5 14^
—, — while B uses his £3
w
h
. ., u _ ... . , u i, • , , . r u -61 . . .
strategies with probabilities —, — and the value of the game = — i.e., A wins.
r li/ 1 J I J. ZJ
ILtUSTRATIOK 7
Children Srija and Himaja play a game who have some 25^ paise coins and
SOpaise coins. Each draw a coin from their bags with out knowing other rs choice.
If the sum of coins drawn by both is even Srija wins them, otherwise Himaja wins.
Find the best strategyfor each player and alsofind the value of the game.
Solution :
First let us formulate the game. According to the data given Le.s each has some
25 paise coins and some 50 paise coins in their bags and draw one at a time.
Now, from this we can say that each has two strategies.
Strategy 1: Drawing 25 paise coins.
Strategy 2 : Drawing 50 paise coins.
Let us choose Srija as row players and Himaja as column player.
Now if Srija draws 25 paise (say strategy Sj) and Himaja draws 25 paise (say,
strategy H±), then the sum is even. Therefore Srija wins them. Her gains (pay off) is
25 paise.
Similarly, if Srija draws 25 paise (strategy S^) and Himaja draws 50 paise (say
strategy i/ 2 ) then Himaja wins these coins and her gain (pay off) is 25 paise or
otherwise Srija's loss i.e., -25 paise.
580 Operations Research : Theory and Practice
Again, if Srija draws 50 paise (strategy S 2 ) and Himaja draws 25 paise ( strategy
Hx), then Himaja wins 50 paise or Srija's loss i.e., - 50 paise.
Also, when both draw 50 paise ( S2 and H% ) Srija wins 50 paise.
Thus, the pay off is as follows.
Himaja
Hl (25 paise) H% (50 paise)
Srija Sx (25 paise) 25 -25
(50 paise) - 50 50
On examination we can find that there are no saddle points/ therefore the
players use their mixed strategies, say with the probabilities as fa andjf?2 for Srija on
Si and S2 respectively, and as q± and q% for Himaja on Hi andi/ 2 respectively.
Thus we have,
25px-50p2 =-25pi + 5Qp2 (1)
25qi-25-q2=-5Oql + 5Qq2 . . . . (2)
Also P1+P2 = 1 -. - • • (3)
r-fl • • • • (5)
Pz
From (3) and (5)
We get Pi=-; p2 = -
Also from (2) we have
75 qY = 7 5 ? 2
^=1 ,...(6)
n
From (4) and (6)
[Since V - 25 x - | - 2 5 x | = 0
V = - 5 O x | + 5Ox|=
or 7=25xf-50x- = -
Game Theory 581
ILLUSTRATION 8
I II III
I -1 -2 8
II 7 5 -I
III 6 0 12
[JNTU (CSE) 97/S]
ITERATION TABLEAU 1:
B
II III Row Minima
I -1 -2 8 -2
II 7 5 -1 -1
III 6 0 12 0 <- Max (Rmin)
Column 12 5
Maxima Min (CmJ
S o I M+ion \
Therefore A will never use the strategy A(I), hence deleted. Now, the new
iterated pay off is
ITERATION TABLEAU 2 :
B
I II III
A II -1
III 12
The column 5(11) dominates B(l) since every element in 5(11) is less than its
corresponding element of B(I)..Hence B(I) is deleted (B will never use B-l as it yields
more losses against any strategy played byyl).
582 Operations Research : Theory and Practice
ITERATION TABLEAU 3 :
B
II III
II 5 -1
II 0 12
Now, they play a mixed strategies with probabilities. Since there are neither
saddle points nor any dominance.
Let A use the strategies II & III with probabilities^ and^ 2 respectively and B
use the strategies II 8c III with the probabilities q^ ancl^ respectively.
then Pi+p2= l>1l+<l2=1
And from the pay off we know that
and
p l
o A9l 13
— = 2 and — = -z~
5
Pl ft
2 1
13 5
. e 2 10
and the value of the game is 5 x —= —.
(by substituting in any of the above probability expressions).
Thus, the mixed strategies of A are (II, III) with the probabilities — and — .
L j
the mixed strategies of B are (II and III) with the probabilities (13/18 and 5/18).
Solutiorv ;
When A draws 5p, if B draws bp, then B gains 5p of A, if B draws 10 p, A wins
\0p and if B draws 20^ then alsoy4 wins 10^ and so on.
Thus, the pay off matrix for player^ is formulated as :
Player B
5p 10p 20p
PlayeM bp
iOp
20p
Game Theory 583
It is clear that this game has no saddle point. Therefore, further we try to reduce
the size of the given pay off matrix. Note that every element in column £3 is more
than or equal to every corresponding element of column J52- Evidendy, the choice of
strategy B 3 by the player B will always result in more losses as compared to that of
selecting the strategy B%. Thus strategy B% is inferior toB%. Hence, deleting53 strategy
from the pay off matrix. The reduced pay off matrix is shown below:
Player B
Player^ A} -5 10
5 -10
Player yl -5 10
5 -10
Since in the reduced 2 x2 matrix, the maximin. value is not equal to the
minimax value. Hence there is no saddle point and one cannot determine the point
of equilibrium. For this type of game situation, it is possible to obtain a solution by
applying the concept of mixed strategies.
Let p\ ,p2 and <?i » £2 be th e probabilities of A and B playing the strategies
{Ax ,A% ) and (Bl, B% ) respectively and we h a v e ^ +p2 = 1 and q\ + q%= 1.
Now, from the above pay off,
= 1 0 jf?a —
and - 5 q± + 10 q% - 5 q^ - 10 q%
A n d t h e v a l u e of t h e g a m e is - 5 x — + 5 x — = 0 t h u s t h e m i x e d s t r a t e g y of
I J I J
value of the game is zero (fair game).
584 Operations Research : Theory and Practice
Player^ ^1 a
A2 a
22
a
23 a
2n
If player A mixes his strategies^ and A% with probabilities p± and P2-Q where
Pi + p2 = 1 » t n e n f° r e a c n strategy of B, A will have the expected pay off as follows.
Es pure- strategy A's pay off
B2
B
n \ 2
As A is assumed to always try to maximise his minimum gains. The highest point
of lower envelop (lower boundary) formed by drawing these as straight lines represents
the optimal probability mix: The lines corresponding to this point will yield a 2 x 2
matrix from which the value of the game, optimal strategies and their probability mix
can be found.
Thus the two series are to represented on two parallel axes and these are joined
to represent respective pay offs. Then the lower envelop is identified and upon this
highest point is located. The coefficients of these lines make a 2 x 2 matrix for further
iteration / calculation.
The above method is illustrated through the following example :
Game Theory 585
ILLUSTRATION 1 0 —
Solve thefollowing game graphically.
V-e o 6 -3/2
\_7 -3 -8 [JNTU (Mech.) 2001]
Solution :
Let Row player's (say^4) strategies are^j and^42 are used with the probabilities
p j and p2, then his expected pay offs when his opponent (column player) uses his pure
strategies are shown below :
Column players pure strategies Row player (A's) expected pay off
III
IV
These are graphically represented as follows as two parallel axes of unit distance
apart.
Ax s 2 Axi s i
9- •9
Q Q
o • • o
7- • 7
6- •6
\ /
/
•
5- • 5
\ I: -6p, + 7 p 2 /
4- \ •4
3- •3
2- •2
1- • 1
-1- •-1
-2- •-2
3- y\ \ Maximum \ \ / ^ , •-3
S
-4- (<W?ot \W^
-5- • / < <
•-5
-6- •-6
v •
-7-
-8-
/ \ \\\ N
•-7
•-8
Lower envelope \ \
FIGURE I 1.2 :
586 Operations Research : Theory and Practice
The highest point on lower envelop appear at the intersection of the lines
represented by column players I and II strategies.
7p2 and
The required 2 x 2 matrix is
?l ?2
- 3°1J
Pi r-6
Pi L 7
We have Pl + 7pl =* 6p ! = i0^ 2
P1+P2 = 1
10 5 3 3
Pi " 16 ~ 8 ' 6~8
and l-Sft =» 131?l = 3^2
_ 3
and ?1 "*" ?2 = ^[
__3_ 13
9.1 ~ 16 " 16
.\ Row player will use his strategies with the probabilities as (5/8,3/8)
respectively where the column player uses the first two strategies mix at the
probabilities of (3/16, 13/16).
The value of the game
or
The column player wins the game with a gain of 9/8 units or row player loses
the game with a loss of 9/8 units.
? (ii) : m x 2 games :•
In this case a column player has two strategies while row player can choose
optimal mix of best two among m strategies. The graphical method is usedto Find
which two strategies of rows player would be the best.
Suppose a pay off of two players A and B is given below
Player B
B B
l 2
u
an
Player A
a
m\
Game Theory 587
When player B mixes his strategies Bx and £ 2 with non-zero probabilities
and #2 where q± + q% = 1, then for each strategy of A, B's expected pay off is given
by
A's pure strategy B's pay off
a
\2(i\+a22<l2
1 —3
3 5
-1 6
4 1
2 2
-5 O
I Solution ;
Let B's strategies By and 252 t*e used with the probabilities q^ arid# 2 where
= 1. Then the pay offs of B for each of the strategies used by A are given below.
A's pure strategy B's expected pay off
A
\ 9\~ ^?2
588 Operations Research : Theory and Practice
The above pay offs against A'5 strategies are drawn as straight lines between two
parallel axes of unit distance apart.
Since.column player B wishes to minimise his maximum expected pay off (loss),
we consider the lowest point (minimum) of intersection G in the upper envelop
EFGH (maximum) which represents the minimax of B's expected pay off.
The minimax point G is the point of intersection of the lines A2 and^44. Thus
the pay off ofA is found most optimal with the blend ofA% and^44 strategies. Thus the
6 x 2 matrix reduces to 2 x 2 matrix with A's A2 and^44 and B's Z^ and B% strategies
which can be evaluated by algebraic method.
Axis 1 Axis 2
FIGURE
B
«1 -
.5
1
Now, ifpi and^?2 a r e th e probabilities of^4 to and q± and q% are
the probabilities of B to play B x and B2 then
Game Theory 589
and pi + p 2 - 1
3 and 2
P\ " 5 "5
4
Also
$2
and ai + ao
4 ' 1
?l = "g" . a n d ft = 5"
plays his^2 and^44 strategies with the probabilities (3/5, 2/5) while 5
applies his B^ and JB2 strategies with the probability mix (4/5, 1/5) and the value of
the game
1T '4 1 17
Remark : Observe the strategies A j, ^5 an6? ^4g an^f compare each with A%- You can find
is dominating these three since it is up over these in graph
Now, as per the assumptions, A always attempts to choose the set of strategies
with the non-zero probabilities say p^p^^ndp^ ( where p\+p2+p3= 1) t n a t
maximises his minimum expected gains.
Similarly, according to B, he would choose the set of strategies with the non-zero
probabilities, say qlf q2 and q$. (where qY + q2 + q$ = 1), that minimises his maximum
expected losses.
From the above statements, we can draw the following conclusions.
590 Operations Research : Theory and Practice
and
And also px +p%+p$= 1.
Simplifying the above inequations, by dividing by V through out,
and
, P\ p2p$^Ci
"F'^T" 0
Since, the objective of /I is to maximise the value of the game V, which is
equivalent to minimising the value of —, the objective function of^4 is
. . . 1 P2 P%
+
mimise A=y == V V+ V
Rewriting the above the assuming
Pi P% Pz
Xl — = x2 and — = x$,\
v '
The LPP formulation as
Minimise 2.£ —x^ + x2 + ^3
Subject to a
\ j xi + « 2 1 X2 + a
3 1 X2> -
av 2*1 + a
2 2 ^2 + ^32 X 3 -
u
l.
and > 0, x2 > 0, x 3 > 0
Game Theory 591
Similarly, from B '$ view, we get the L.P problem as the dual of the above
problem.
and
where 3^ = y , y2 = y a n d j 3 == —
- This problem now can be solved using usual simplex method, and the problem
can be extended to any size mxn. Now let us illustrate this method with an
example.
ILLUSTRATION 12
Two companies A and B are competing for the same product Their different
strategies are given in thefollowingpay off matrix.
Company A
Aj A2 A3
Bj |~ 2 -2 3 "I
Company B
B2 ^-3 5 -1 \
Use linearprogramming to determine the best strategies for both the players.
[JNTU-CSIT-99]
Solution j
Assume the non-zero probabilities p\,p% for B to use his strategies By and B2
respectively ( where py +p2 = 1 ) and qy, q2, q<$ for A to use A^fA2fA^ respectively
(where qy + q2 + q$ = 1 )
q2,
592 Operations Research : Theory and Practice
Diving by V through out the inequalities and equation,
# # # ' • -##•
(Jl $2 # 3 - 1
and —+—+—=—
- x% + $2=
lf52, >0
IBFS:
X| = 0, x 2 s= 0, X3 = 0, (non basic)
5
1 " 1» 5 2 = 1 (b a s i c )
ITERATION TABLEAU 1 :
- Entering variable
CB BV i 1 0 0 Min Remarks
Ratio
•SK
Wi x2 xs s2
*0 0 0 0
Eeaving variable -1 -1 0 0
Key colurrm
[Here there is a tie for entering variables x^x^ and x§, all three being decision
variables, selection is made arbitrarily].
Game Theory 593
ITERATION TABLEAU 2 :
—-—-"
Entenng variable
BV JC
iii i 0 0 Min
Ratio
Remarks
SV
SP HHH 1 •' j j Hi
j
pi
; Z
J 3/2 1/2 0
Leavin
J g variable
z c
rj .0 .jjjHi 1/2 1/2 0
Key column
ITERATION TABLEAU 3 :
1 1 1 0 0 Min Remarks
Ratio
52
1 7/4 1 0 13/4 5/4 1/2 Af-»«? + / #
1 «2 5/4 0 1 7/4 3/4 1/2 i
Z; 1 1 5 2 1
z --
Z 0 0 4 2 1
J-fj
Since Z- - Cy > 0 for all the variables we have attained optimal solution.
The solution is
-- »- -0
4 4'
and Maximise
•4 4 4
and
"3 3
Where 3?^, /y2 a r e the variables of dual problem of the above (primal) problem,
- 2 ^ + 5,2*1,
and
Where yx =
Thus
Thus^4 uses his^41? v42 strategies with probability mix as (7/12, 5/12).
While B uses his B Y, B2 strategies with probability mix as (2/3, 1/3) and the value
of the game= 1/3.
i.e., B wins by 1/3 units.
S.No. Games With Saddle Points (Deterministic) Games Without Saddle Points (Probabilistic)
1. These games have saddle points. Saddle points do not exist in these games.
2. Pure strategies are used by the players in these Players use mixed strategies in these games.
games.
3. . The game is strictly deterministic. The game uses probabilities
4. These games can be solved by Mirii-max and Algebraic or linear programming techniques are
Maxi-min criteria or by dominance rules. used to solve these games. However, dominance
rules, graphical methods can be used to reduce
to 2 x 2 size and then -algebraic method is
applied.
Game Theory 595
1. Unrealistic Assumption : The assumption that the players know their own as
well as other's (opponent's) payoffs in unrealistic. One can only guess of his own
and opponent's strategies or pay offs.
3. Oligopolic Situations can not be Solved : Duopolic situations are easy to solve
but oligopolic situations can not be solved in many occasions by using Game
theory and in general practice, we have mostly, oligoplie situations in business.
5. Limitation on Collusion : the game theory can not be applicable in case the
players share their business, secrets to workout a collusion.
7. No base for calculating pay off : There is no correct formula and scientific
base for calculating pay offs of game.
Practice Problems
i GAMES WITH SADDLE POINTS
1. Solve the game when.pay off matrix is given by
Player B
Player A -3 12 -1
-6 -4 -3
-5 15 -8
[JNTU (CSE) 97]
Answer : Opt. Strategies (4\, By} with V= - 3 i.e., B wins by 3 units.
2. Verify your result in the above problem by dominance principle.
3. The pay ofFniatrix in respect of a two person zero-sum game is
As Strategy B's Strategy
Bx B2 *3 . *4
8 10 -3 -8. - 12
A2 3 6 0 6 12
7 5 -2 -8 17
A*. -11 12 -10 10 20
-7 0 0 6 2
(a) Write the maximin and minimax strategy.
(b) Is it a strictly determinable game?
(c) What is the value of the game?
(cl) Verify your answer using dominance principles. (CSE) 2000]
(a) Show that the game is strictly determinable, whatever X may be.
(b) Determine the value of the game.
Answer: Value of the game is 2 with optimal strategy for player A and £ is
d j , respectively.
Game Theory 597
5. A company management and the labour union are negotiating a new three year
settlement. Each of these has four strategies.
I : Hard and aggressive bargaining.
II : Reasoning and logical.
III : Legalistic strategy.
IV : Conciliatory approach.
The costs to the company are given for every pair of strategy choice.
Company strategies
_ I II III IV
Union strategies I 20 15 12 35
II 25 14 8 10
III 40 2 10 5
IV -5 4 11 0
What strategy will the two sides adopt? Also determine the value of the game.
Use minimax - maximin rule and then verify your result with dominance rule.
[OU (MBA) 87]
Answer: Value of the game = 1 2 for which company will always adopt strategy - III
- legalistic strategy while union will always adopt strategy - I hard arid
aggressive bargaining.
6. Two competitive manufacturers are producing a new toy under license from a
patent holder. In order to meet the demand they have the option of running
the plant for 8, 16 or 24 hours a day. As the length of production increases so
does the cost. One of the manufacturers, say A, has setup the matrix given below,
in which he estimates the percentage of the market that he could capture and
maintain the different product schedules.
Manufacturer/! Manufacturer B
CA : 8 hrs C2 : 16 hrs C3 : 24 hrs
Sx : 8 hrs. 60% 56% 34%
5 2 : 16 hrs 63% 60% 55%
53:24hrs 83% 72% 60%.
Answer; (i) Optimal strategies : (S3, C3) i.e., both should produce 24 hrs a day
(ii) B loses 60% market share which is most optimum, otherwise he losses more
than 60%. Thus B will have 40% of market.
598 Operations Research : Theory and Practice
7. Two firms are competing for market share for a certain product. Each firm is
considering what promotional strategy to employ for coming period. Assume
the following pay off matrix describes the increase in market share of the firm
A and decrease the market share for firm B. Determine the optimal strategies
for each firm.
Firm B
No promotion Moderate promotion Much promotion
No promotion 5 0 -10
Firm A Moderate promotion 10 6 2
Much promotion 20 15 10
Answer: Optimal strategy for both^4 and B is "Much promotion" with value of game
= 10.
8. Solve the game using dominance principle and verify with saddle points of
minimax - maximin.
Firm B
B2
3 -1 4 6 7
A2 -1 8 2 4 12
Firm ,4
*s 16 8 6 14 12
A, 1 11 -4 2 1
[IGNOU (Assignment/MBA) 1996]
14. Use rrrinimax - maximin and verify by any other method to solve the following
game.
I II III
.8 6
II 12 2
Answer: V= 6 with (I, II)
15. Solve the game and check your answer by graph.
-1 -2
6 -6
Answer: (I, III), V= -2
16. Determine the range of value of p and q that will make the pay off element
a22 a saddle point for the game whose payoff matrix (a^) is given below :
Player B
4 5 [JNTU Mech/Prod/Chem/
Player A 10 .7 q Mechatronics 20G1/S]
29 (4 3^\ (2 5^
Answer : A wins with —, A uses probl. —, — and B uses with prob hr/"^"
2. Use concept of dominance to reduce the size of the matrix of given problem to
2 x 3 matrix and solve the game.
Player B
1 8 3
PlayeM 6 4 5
[JNTU (CSIT) 97/S]
0 1 2
3. Consider the game
B
5 50 50
1 1 0.1
10 1 10
Verify that the strategies (1/6, 0, 5/6) for player A and (49/54, 5/54,0) for B are
optimal and find the value of the game. [JNTU (CSE) 2OO3/S (Set - 1 ) ]
Game Theory 601
4. Use dominance principles to solve the following.
-2
6
[0U (MSc.) 89]
5. By modified dominance method solve the following
4 4 2 -4 -6
8 6 8. -4 0
10 2 4 .' 10 12
[OU (MSc.) 92]
Answer ; Row player (II, III) : - , - ; col player (II, IV) :•[-, j - :
iy y i iy y ~9~
V
6. By L.P.P solve the following game
3 -1 -3
-3 3 —1
-4 -31 3
/ 2 0 11 14^ 11 20^|
Answer
45'45'45 } <#• 45' 45
7. By L.P.P solve the following game
45
—1 2 - 1
1 -2 2
3 -4 -3
20_n
46' 46 I' ^ [23'23'23 23
8. By L.P.P solve the following game
7 • 1 7
9 -1 1
5 7 6
28
B
[3.0' 30' 30 5
9. By L.P.iP solve the following game
9 I 4
0 6.1 3
5 2
00.
Answer :•
• [h
602 Operations Research : Theory and Practice
11. Explain the notion of dominance and use it to solve the game.
0 0 0 0 Q 0
4 2 0 2 1 1
4 3 1 3 2- 2
4 3 7 -5 1 2
4 3 4 -1 2 2
4 3 3 -2 2 2
5 7 11
Player ,4 2 -1 8
18 -6 10
Find the optimal strategies for the two players and the value of the game to
each of the player. [JNTU (Mech.) 98/S]
Answer: Player/I uses (Ax,As ) - ( 12/13, 1/13)
Player B uses (Blt B2):( 1/2, 1/2) value of game = 55/26 i.e., A wins.
is ( 2 n (2 i
Answer: V = T , A \ 0 , - - \ B \ - -
) 5
^4nsu/er : JjB
4' '14 l ll4' HI
16. Solve the following games graphically.
6 2 7
1 9 3
T/ 13 f2 n r r 5
Answer: F a a - - - - -
17. Solve the following games graphically.
6 8 6
4 12 2
Answer : V= | fe | ] fo ±, | , ol or |0, ?, 0, i |.
604 Operations Research : Theory and Practice
21. Determine the best strategy for player^ in the following game :
Player B
I II
I 3 -5
II 1 -1
Player^ III . 2 -3 .
IV -1 3
V 0 1
Answer:' In case of graphical solution all the lines pass through the minimax point,
{ 1 2 1 fl 81 T 2 1 1
1 -1. 2 -5
-3 6. 2- 0
[JNTU (Mech.) 94/CCC]
* ] • B2 *3
2 . -4 6 -3 5
-3 4 -4 1 0
14 5l f4 5 1 7
Answer: A - , - L B - , 0. 0, -, 0 , V=--
Game Theory 605
24. Obtain the optimal strategies for both players and the value of the game for
two-person zero-sum game whose payoffs matrix is given as follows :
Player B
Player^
-6 7
A, 4 -5
PlayerA
-1 -2
A4 -2 5
7 -6
26. A soft drink company calculated the market share of two products against its
major competitor having three products and found out the impact of additional
advertisement in any one of its products against the order.
Company/I
What is the best strategy for the company as well as the competitor? What is the
pay off obtained by the company and the competitor in the long run? Use
graphical method to obtain the solution. [Delhi. Univ., MBA April 1989]
606 Operations Research : Theory and Practice
27. Consider the following payoff matrix for two firms. Find the best strategies for
both the firms.
Firm II
3 4
Answer ; Firm I:\0,—,—
28. Two children Divya and Savya play the following game, named "scissors, paper,
stone". Both players simultaneously call one of the three "scissors, paper and
stone" scissors beat paper (as paper can be cut by scissors), paper beats stone
(as stone can be wrapped in paper) and stone beats scrissors. If the two players
name the same item, then there is a tie. If there is one point for win, zero for
tie and -1 for loss, form the pay off matrix of the game and solve it.
Answer : The game is symmetric. Hence V- 0 optimal strategies for both players
r
l 1 H
Hint : Savya
Sc P St
Sc 0 1 -1
Divya p -1 0 1
St 1 -1 0
30. Two firms A and B are competing for the same product. Their different
strategies are given in the following pay off matrix.
Company A
Company B
Use linear programming to determine the best strategies for both the players.
[IGNOU (MCA, Assignment) 96]
(1 <5
Answer : A (Ah A2) : —, —
31. Raju and Ravi plays game as follows they simultaneously and independently
write one of the three numbers 1, 2 and 3. If the sum of the numbers written is
even, Ravi pays to Raju this sum in rupees. If it is odd, Raju pays the sum to
Ravi in rupees. Form the payoff matrix of player Raju and solve the game to
find out the value of the game and probabilities of mixed strategies of Raju and
Ravi. [DOECCA 98]
2 - 3 4
Answer: -3 4 -5
32. For the following pay off matrix^ find the value of the game and the strategies
of players A and B using linear programming.
-1 —2
B
6 -6
[JNTU (Mech., FDH) 92]
33. Find the best strategy and the value of the following game, using LPP method
B
I II III
I -1 -2 8
A II 7 5 -1
III 6 0 12
[JNTU (CSE) 97/S]
34. A and B play a game in which each has three coins a 5 paise, a 10 paise and a
20 paise. Each selects a coin without the knowledge of the others choice. If the
sum of the coins is an odd amount, A wins B's coins. If the sum is even B wins
A's coins. Find the best strategy for each player and the value of the game. Use
LPP method to solve the game. [JNTU (Mech.) 99, (ECE) 99]
Player B CB1; B%) : ( 2/3, 1/3) value of the game is zero i.e., fair game.
^3
-5 10 20'
Hint: nx
5 -10 -10
pay-ofFsA A2
5 -20 -20
A*
35. Firm X is fighting for its life against the determination of firm Y to drive it out
of the industry. Firm X has the choice of increasing price, leaving it unchanged
or lowering it. Firm Y has the same three options. Firm Xs gross sales in the
event of each of the pairs of choices are shown below.
Assuming firm X as the maximising one, formulate and solve the problem as a
linear programming problem. [Osmania MBA, Nov. 1990]
Game Theory 609
Review Questions
1. Explain (i) strategy (ii) pay off matrix (iii) saddle points.
(ii) Distinguish between games with saddle points and without saddle points.
14. Explain how you can apply linear programming to game theory.
15. Give a critical appreciation of game theory with reference to duality concept in
LPP.
19. Discuss briefly different types of rectangular games and their solution methods.
4. Which of the following is true in the case of row dominance in a game theory
(a) least of the row > highest of another row
(b) least of the row < highest of another row
(c) every element of a row > corresponding element of another row
(d) every element of a row < corresponding element of another row
5. If the gain of a player is loss of another player then the game is called
(a) fair game (b) unfair game
(c) zero sum game (d) non zero sum game
Game Theory 611
13. Which of the following method can not be used for the games without saddle
points
15. If loss in sales of pepsi is gain in sales of coke, then the game between pepsi
and coke is a
16. In a colony there are 100 families which either use Colgate or pepsodent tooth
paste. Due to raise in price of Colgate some of them discontinued to use any
tooth paste. This situation can be fit in
[-
t
1 C
(b)
0
1
(d)
1
"I]
r i
3
21
19. The value of the game whose pay off is
[-
(b) 2
2
J
(c)-2 (d) 3
Game Theory 613
-4 6
20. Value of the game whose pay off is given by -3 - 2 will be
-5 4
23. In the above problem what will be better strategy for a colujin player
24. In the problem given in Q.No. 22, the value of the game is
(a) - 5 (b) 2
(c)-7 <d)-3
26. Srija and Sanja play a game with two types of coins 5 ps and 10 ps. Each draw
one coin randomly and if the sum is even Srija wins the coins, otherwise Sanja.
The value of the game is
(a) 5 ps always
(b) 10 ps always
(\ 3
(d) mixed strategies of — —
28. In a game between cricket teams India and Pakistan the toss is supposed to play
major role. Both captains take one coin and toss. If both get same, India wins
otherwise Pakistan. If we take T for winning and -1 for losing, the value of the
game is
(a) 1 (b) -1
(c) zero
«[S 2] «»l 1
-1
-1
1
(C)
+ 10
+5
-10
1
(d) 0 °11
Game Theory 615
3. A graphical solution can be used for games if the order of the pay off is
or
10. When a game is represented by LPP, if row player represents primal, column
player represents
11. A game with more than two players is called player game
12. If loss of a player is not a gain to the other, then the game is called
game
13. The game whose pay off is null matrix is . game
14. The best strategy for row player in the game with pay off is
20. T h e list of all possible actions that will take for every pay off that might result
is called
Answers
Objective Type Questions :
l.(c) 2. (a) 3. (b) 4.(d) 5.(c)
6. (b) 7. (a) 8. (a) 9.(c) 10. (d)
11. (b) 12. (c) 13. (d) 14. (b) 15. (c)
16. (c) 17. (c) 18. (b) 19. (a) 20. (b)
21- (d) 22. (a) 23. (a) 24. (a) 25. (b)
26. (c) 27. (c) 28. (c) 29. (c) 30. (d)
Fill in the Blanks :
l.fair 2. deterministic
3. 2 x n or n x 2 4. zero sum game
5. pure 6. mixed
8. Maximise gains, minimise losses
10. dual
CHAPTER AT A GLANCE
DYNAMIC PROGRAMMING
12.0 Introduction
Dynamic programming is an optimization technique of multistage decision
process. The word "dynamic" means to the situations of change in several stages, such
as every week, every day or every month etc., and 'programming' is the term used in
the mathematical sense of selecting an optimum allocation of resource.
Rechard Bellman propounded this technique of finding optimal solution by
developing recursive relation. In dynamic programming, a large problem is split into
smaller sub problems each of which involve in a few variables. These sub problems
are sequentially optimized so as to make the total problem optimal.
An important point to note here is that - the problem of successive stages is
treated separately even though by the very nature of the problem, these stages are
dependent. The answer to this question is based on "Bellman's principle of
optimality", which is stated as "An optimal policy (set ofdecisions) has the property that what
ever the initial state and decisions are, the remaining decisions must constitute an optimal policy
with regard to the state resulting from the first decision".
Discrete and continuous, deterministic as well as probablistic models can be
solved by this method. Thus dynamic programming method is very useful in obtaining
optimal solutions of various problems such as inventory, replacement, allocation,
linear programming, reliability calculations etc. A single constraint problem is
relatively simple, but in the problem of more than two constraints more complexities
may appear.
e.g. In replacement problem, each year is a stage, in the sales man allocation problem,
each territory may be a stage.
e.g. A specific city is referred to as state variable in any stage ofthe shortest root problem.
3. At each stage, a decision is made which can influence the state of the system at
the next stage to arrive the optimal solution at the current stage. This decision
described in the form of an algebraic equation to explain its worth or benefit,
is referred to as Return function.
620 Operations Research : Theory and Practice
Step 5 ; Repeat and Determine the overall optimal policy or decision and its value at
each stage. There may be more than one such optimal policy also.
3. State : Any stage just before starting or just after completion will have certain
status called ' the state' and the variable that links up two stages is called state
variable.
Stage 1
Stage 1 [Stage 2 Stage 2 Stage n
ith oth
Status:
Status: ~ Status: ~ Total
of problem of problem problem
is completed i 5 completed
2. A stage is a device to sequence the decisions. This means that the sequential
summation of these decisions obtained from optimal solution of sub-problems
will be the part of the optimal solution of the total problem.
622 Operations Research : Theory and Practice
3. Every stage consists a number of states associated with it. The states are trie
different possible conditions in which system may find itself at that stage of the
problem.
4. Decision at each stage converts the current stage into state associated with the
next stage.
5. The state of the system at a stage is described by a set of variables called state
variables.
6. When the current state is known, an optimal policy for the remaining stages is
independent of the policy of the previous stages.
7. To identify the optimum policy for each state of the system, a recursive equation
is formulated with n stages remaining, given the optimal policy for each state
with (n - 1) stages left.
8. Using recursive equation approach each time the solution moves either
backwards or forwards by stage obtaining the optimum policy of each state for
that particular stage, till it attains the optimum policy beginning at final or
initial stage respectively.
fUUSTRATiOftl 1
A medical representative located at city has to travel to city 10. He knows the
distance of alternative routesfrom city 1 to city 10 and has drawn the network map
as shown in thefollowing figures along with the distance between the cities. Find
shortest possible route. Also find the shortest routes from any city to city 10.
[JNTU (Mech.) 96]
The above problem can be divided into five stages as shown with dotted lines
in the figure, and backward recursion is chosen with the objective to find shortest
route. It is solved in the tabular form method as given below.
At stage 1, if the medical representative is at city 10, it is the destination itself,
he need not travel any more.
Dynamic Programming 623
Stage 2 : At stage 2, i.e., if he is at city 8 or city 9, the shortest path calculation is shown
below.
Stage 5: With the optimal (18,14 and 17) distance decisions we now proceed to calculate
final decision table of stage 5..
We can thus state that medical representative may have to travel, min. of 20
km from city 1 to city 10. If he is at other stations, the following optimal decisions may
be made
ILLUSTRATION 2
Suppose the above problem is to maximise the distance assuming that he gets
more allowance if travels more. Now the decision tables will be asfollows.
Stage -2:
Stage 4 :
Stage 5:
ILLUSTRAION 3
Find number of each of three items to be included in a package so that value
of package will be maximum. Total weight of package must not exceed 5 Kgs.
Solution
Hie given problem can be formulated as follows:
Let xlt x2 and x3 be the number of items of each type
maximise f(x)= 30 x± + 8(k2 + 65 x% (The total value is to be maximised)
subject to xx + 3x2 + 2x3 < 5
xx, x2 , x3 > 0
We have to determine how many units of three types of items are to be loaded.
So it is a three stage dynamic programming problem (DPP). Let:*. (/ = 1 , 2 , 3) denote
three decisions. Let £ (x ) denote the value of the optimal allocation for the three types
of items.
If fj(S ,Xj) be the value associated with the optimum solution
£ (s), (j = 1, 2, . . . n) then we have
/ (5) = m a x (5 , Xj)
j= 1,2,3
where pj (x ) denotes the expected value obtained from allocation of #• units of
weight to the item/
Now, for stage -1 problem (i.e., for one item loading).
= max{30 xx)
0 0 0 0
1 0 30 30 1
2 0 30 60 60 2
3 0 30 60 90 90 3
4 0 30 60 90 120 120 4
5 0 30 60 90 120 150 150 5
For 2-stage problem, the largest value of x% is ["5/3"] = 1 and thus we have two
alternatives i.e., 0 and 1 for x2
s\ 0 1
0 0+0=0 0 0
1 0 + 30 = 30 30 0
2 0 + 60 = 60 60 0
3 0 + 90 = 90 80 + 0 = 80 90 0
4 0 + 1 2 0 = 120 80 + 30 = 110 120 0
5 0 + 150 = 150 80 + 60 = 140 150 0
For 3-stage problem the largest value of x$ is [5/2] = 2 and so we have 0, 1 and
2 as the alternatives for x3
s\ 0 1 2
4
0 0+0=0 0 0
1 0 + 30 = 30 30 0
2 0 + 60 = 60 65 + 0 = 65 65 1
3 0 + 90 = 90 65 + 30 = 95 95 1
4 0 + 120 = 120 65 + 60 = 125 130 + 0 = 130 130 2
5 0 + 150 = 150 65 + 90 = 155 130+30=160 160 2
628 Operations Research : Theory and Practice
ILLUSTRATION 4
Solve the following using tabular method of solution. The owner of a chain of four
grocery stores has purchased six crates of fresh fruits. The estimated probability
distributions of potential sales of the fresh fruits before spoilage differ among the
four stores. The following table gives the estimated total expected fruits at each
store, when it is allocated to various number ofcrates:
Number of Stores
Crates
1 2 3 4
O O O O O
1 4 2 6 2
2 6 4 8 3
3 7 6 8 4
4 7 8 8 4
5 7 9 8 4
6 7 10 8 4
For administrative reasons, the owner does not wish to split crates between stores.
However, he is willing to distribute zero crates to any of his stores. Find the
allocation of six crates tofour stores so as to maximise the expectedprofit
[JNTU(EEE)98/OT]
Solution \
Let the four stores be considered as four stages in a dynamic programming
formulation. The decision variables xy (/ = 1 , 2 , 3 , 4) denote the number of crates
allocated as the f1 stage from the previous one.
Now, letft(x:) be the expected profit from allocation of X: crates to store/ Then
the problem can be formulated as an L.P.P as follows:
Maximize Z = p\ (x±) +/>2 (X2 ) +Ps (X3 ) +PA (X4 )
Subject to the constraints
x +X +X +X =
l 2 3 4 6>
Dynamic Programming 629
Let there be S crates available for j remaining stores and x, be the initial
allocation. Define/- (x-) as the value of the optimal allocation for stores 1 to 4 both
inclusive.
Thus for stage j = 1, fx (S , xx) = {pj (xx)}
If f:(S,Xj) be the profit associated with the optimum solution
Jj (S) (j = 1 , 2 , 3 , 4) then
f{(S) =Max px(xx)
0<Xj<5
for j = 1, 2, 3,4
and fj (S) = max fa {xj ) +JJ-+ 1 (S-Xj )}
0 < Xj;< S.
The solution to this problem starts with 74 (S) and is completed when/J (5) is
obtained. (Backward recursion)
The computations for stage -1 problem (i.e., for j = 4) are as follows :
s A *4
0 0 0
1 2 1
2 3 2
3 4 4
4 4 3,4
5 4 3,4,5
6 4 3,4,5,6
Forj = 3, we have a two-stage problem. The computations are shown below :
0 0+0 0 0
1 0+2 6+0 6 1
2 0+3 6+2 8+0 8 1,2
3 0+4 6+3 8+2 8+0 10 2
4 0+4 6+4 8+3 8+2 8+0 11 2
5 0+4 6+4 8+4 8+3 8+2 8+0 12 2
6 0+4 6+4 8+4 8+4 8+3 8+2 8+0 12 2,3
630 Operations Research : Theory and Practice
From above computations, it is observed that the maximum profit of Rs. 18 can
be obtained by choosing the following eight alternative solutions :
ILLUSTRATION 5
Solve thefollowing LX.P by dynamic programming method:
Maximize Z=2xI + 5x2
subject to 2xj +x2< 430,2x2 < 460
S o I uf ion :
Max Z = 2xj + 5 x2 subject to 2 xj + x2 ^ 430.
2x2<460;x1 , x2>0
The L.P problem can be considered as a two-stage, two-state problem because
there are two decision variables* and two constraints*. Starting with second stage
backward recursion, the procedure is as follows:
The optimal value off2 (c± , c2 ) at the second stage is given by
f2(c{,c2)=Max {5x2}
0<x2<c
where q = 430. c2 = 460. The feasible value of x2 is a non-negative value which
satisfies all the given constraints x 2 < c 1 ( = 430) and 2x 2 < c2 (=460).Thus the
maximum value V that x2 can assume is; c - Min 1430, ~^~> = 230.
Therefore^ (cj , c2 ) = Max {5 x2}
0 < x2 < c
ILLUSTRATION 6
A firm has accepted to supply 75 bulbs at the end of the first month and 115 bulbs
at the end ofthe second month. The cost ofmanufacturing any bulb in any month
is given by 45x + 0.2x rupees where x is the number ofbulbs manufactured in the
month. However the company can manufacture more number of bulbs and
carryout to the next month, and, an inventory carrying charges ofRs. 8/- per bulb
is to be charged. Find the number of bulbs to be manufactured in each month to
maintain the total cost to minimum. (Use calculus method ofsolution), (no initial
inventory).
Solution:
Let us first formulate the NLP problem.
Let xi = No. of bulbs to be manufactured in first month
x2 = No. of bulbs to be manufactured in second month
Objective Function:
Now, manufacturing cost in first month = 45xj + §J2x\
and manufacturing cost in second month = 45x2 + 0.2v|
and there is no initial inventory, hence no carrying cost in first month.
But, the carrying cost in second month, if x1 exceeds 75,
= 8(*!-75)
Hence total cost = 45xj + 0.2*f + 45x2 + 0.2*f + 8 (x\ - ?5)
This total cost is to be minimised. Therefore objective function is
Minimise Z = 0.2 x\ + 0.2 x\ + 53 xx + 45 x2 - 600
Constraint Set: According to the agreement of supply
xj > 75 [Requirement constraint on agreed supply for first month]
xx + x2 = 190 [Requirement constraint on agreed supply for first two months]
Conditions of Variables: Since the production of negative number of bulbs is
meaningless, we have non-negative conditions for both variable and also can not be
fractions
xY > 0, x2 > 0
Summary: The problem is summarised below
Min Z = (45*! + 0.2*f) + [(45x2 + 0.2x|) + 8 (xi - 75)]
subject to xx > 75
xx +x 2 = 190 and xj > 0, x% > 0 and integers
Solution by Calculus Method:
To solve the above problem, we start from second month and go by backward
recursion. If/2 is the inventory at the beginning of the second month, the optimum
number of bulbs to be manufactured in the second month is given by
4 = 115-/ 2 . . . . (i)
and the cost incurred in the second month by
r2{x%I2) = 8/2 + 4 5 4 + 0 . 2 4 2 . . . . (ii)
Dynamic Programming 633
= 0.8x 1 -68 = 0 or x, = - — = 8 5
O.o
i?olwfio>-\ !
Since the decision variables are y \ , y % andy3 the given problem is a 3 stage
problem defined as follows :
53 = J i + 3 > 2 + j ) > 3 > 1 5
S 2 =3>i+3> 2 = S3-3-3 and
s
l = y\ = s2-yz
Therefore the functional (recurrence) relation is
/1(51) = m i n ^ = ( s 2 _ ^ ) 2
OS^SS,
/3(15)=J5 2 + |(15-5)2U75
Thus, S3 = 15 implies that 313 = 5;
S2 = Sg -3)3 = 1 5 - 5 = 1 0 implies that
3>2 = g S2 = 5
Sj = S2 - j2 = 1 0 - 5 - 5 implies that
y\ = Sn = 5
Hence the optimal policy 133^ = 5, y% = 5 and313 = 5 with/3 (^) = ^-
Dynamic Programming 635
ILLUSTRATiOfli 8
Solufion :
Minimise R-R^ ; R% ; R3
*2 kl = 1 A! = 2 /^ = 3 Optimal Solution
/?2 = 0 . 8 ; C 2 = 3 7?2=0.8, C 2 = 5 J?2 = 0 . 9 ; C 2 = 6 /2 (*2) £*
xs k^ = 1 kl = 2 kl = 3 Optimal Solution
/?3 = 0 . 7 ; C 3 = 1 *3=0.8,C3 = 2 ^ = 0.9^=3 /g (*3) A*
6 0.7x0.48 = 0.336 0.336 1
7 0.7x0.48 = 0.336 0.8x0.48 = 0.384 0.384 2
8 0.7x0.56 = 0.392 0.8x0.48 = 0.384 0.9x0.48 = 0.432 0.432 3
9 0.7x0.72 = 0.504 0.8x0.56 = 0.448 0.9x0.48 = 0.432 0.504 1
10 0.7x0.72 = 0.504 0.8x0.72 = 0.576 0.9x0.56 = 0.504 0.576 2
Practice Problems
Solve the following LPP by Dynamic programming.
4. Min Z = *i + 3x9 + 4x3 , Subject to 2*j + 4^2 + 3x3 > 60 , 3xj + x2 + 3*3 > 90
x 1 ,x 2 ,x s ^0
5. Max. Z = 2*i + 5x2 . Subject to 2^ + x2 < 43 , 2x2 < 46, xj, x 2 > 0
The cost of advertising in newspaper, radio and television are Rs. 450, Rs.
1000, Rs. 1800 respectively for one time appreance. The budget allocated for
advertisting is Rs. 5000/- month.
7. Find shortest path from vertex^ to B along arcs joining the verious vertices
lying between A and B. The lengths of paths are as shown here.
FIGURE 12,4:
638 Operations Research : Theory and Practice
8. Find the shortest path from vertex A to B given. The lengths of paths are shown
in the following network.
FIGURE 1 2 . 5 :
9. Using dynamic programming find the shortest path from city 1 to city 10 in
the following network. The distance between two cities is given on arrow
connecting, them.
FIGURE 1 2 . 6 :
10. The routes of an air line, which connects 16 cities (A ,B, P) are shown in
fig. below. Journey from one city to another is possible only along the lines
(routes). Shown with the associated costs indicated on the path segments. If a
persons wants to travel from city A to city P with minimum cost, without any
back tracking, determine the optimal path (route) using dynamic
programming.
FIGURE 12.7 :
Dynamic Programming 639
11. A minimum cost pipe line is to be laid between points (towns) A and E. the pipe
line is required to pass through one node out of 5j, B% and Bs one out of
C], C2 and C3 and one out of Dj, D2 and D3 (see fig. below).
FIGURE 12.3 :
12. Find the minimum path by solving the dynamic programming problem given
below.
FIGURE 119:
13. Use dynamic programming to find the value of. Max Z^y^y^y^, Subject to
constraint : y i + y% + y^ = 5 and y^y? ,y$ > 0
(5 5 5} (5^
Answer : -, - - with/3 (5) = -
I ' J ( )
14. Use dynamic programming to Max Z-2xl + 3x2 Subject to constraints
15. Use DPP method to Min Z = x2 + 3x2 + 4x3, Subject to 2xj + 4x9 + 3x3 > 60 ,
3x1 + 2x2 + x 3 > 6 0
23Cj + x2 + 3x3 > 90 and x j , xg , xs > 0
640 Operations Research : Theory and Practice
Review Questions
1. Explain the salient features of DPP. [JNTU (Mech.) 96/CC, ECE/CC - 96, (Mech) 94]
2. Write a short note on Dynamic Programming for Optimization.
[JNTU (CSE) 97, (Mech) 98/S, Mech 99]
Answers
Objective Type Questions :
LJbj 2. (a) 3. (dl 4. (b) 5. (b)
6. (c) 7.(c) 8. (c) 9. (d) 10. (c)
11. (b) 12. (c) 13. (b) 14. (c) 15. (c)
16. (b) 17. (a) 18. (d) 19. (c) 20. (c)
Fill in the Blanks :
1 . Initial state, decisions, first decision 2. stages
3. states 4. return function
5. Richard Bellman 6. Transition function or state transformation
function
7. m, n 8. backward
9. any stage or portion 10. 2, 3