版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
NetworkFlowModelsChapter7Copyright©2016PearsonEducation,Inc.ChapterTopicsNetworkComponentsTheShortestRouteProblemTheMinimalSpanningTreeProblemTheMaximalFlowProblemCopyright©2016PearsonEducation,Inc.NetworkComponents(1of3)Anetworkisanarrangementofpaths(branches)connectedatvariouspoints(nodes)throughwhichoneormoreitemsmovefromonepointtoanother.Thenetworkisdrawnasadiagramprovidingapictureofthesystem,thusenablingvisualrepresentationandenhancedunderstanding.Alargenumberofreal-lifesystemscanbemodeledasnetworkswhicharerelativelyeasytoconceiveandconstruct.Copyright©2016PearsonEducation,Inc.Networkdiagramsconsistofnodesandbranches.Nodes
(circles),representjunctionpoints,orlocations.Branches(lines),connectnodesandrepresentflow.NetworkComponents(2of3)Copyright©2016PearsonEducation,Inc.Figure7.1NetworkofrailroadroutesFournodes,fourbranchesinfigure.“Atlanta”,node1,termedtheorigin;anyofothers,destination.Branchesidentifiedbybeginningandendingnodenumbers.Valueassignedtoeachbranch(distance,time,cost,etc.).NetworkComponents(3of3)Copyright©2016PearsonEducation,Inc.Problem:Determinetheshortestroutesfromtheorigintoalldestinations.Figure7.2ShippingroutesfromLosAngelesTheShortestRouteProblemDefinitionandExampleProblemData(1of2)Copyright©2016PearsonEducation,Inc.Figure7.3NetworkrepresentationofshortestrouteproblemTheShortestRouteProblemDefinitionandExampleProblemData(2of2)Copyright©2016PearsonEducation,Inc.Figure7.4Networkwithnode1inthepermanentsetTheShortestRouteProblemSolutionApproach(1of8)Determinetheinitialshortestroutefromtheorigin(node1)totheclosestnode(3).Thepermanentsetindicatesthenodesforwhichtheshortestroutetohasbeenfound.Copyright©2016PearsonEducation,Inc.Figure7.5Networkwithnodes1and3inthepermanentsetTheShortestRouteProblemSolutionApproach(2of8)Determineallnodesdirectlyconnectedtothepermanentset.Copyright©2016PearsonEducation,Inc.Figure7.6Networkwithnodes1,2,and3inthepermanentsetRedefinethepermanentset.TheShortestRouteProblemSolutionApproach(3of8)Copyright©2016PearsonEducation,Inc.Figure7.7Networkwithnodes1,2,3,and4inthepermanentsetTheShortestRouteProblemSolutionApproach(4of8)Copyright©2016PearsonEducation,Inc.TheShortestRouteProblemSolutionApproach(5of8)Figure7.8NetworkwithNodes1,2,3,4,&6inthepermanentsetCopyright©2016PearsonEducation,Inc.TheShortestRouteProblemSolutionApproach(6of8)Figure7.9Networkwithnodes1,2,3,4,5&6inthepermanentsetCopyright©2016PearsonEducation,Inc.TheShortestRouteProblemSolutionApproach(7of8)Figure7.10NetworkwithoptimalroutesfromLAtoalldestinationsCopyright©2016PearsonEducation,Inc.TheShortestRouteProblemSolutionApproach(8of8)Table7.1ShortesttraveltimefromorigintoeachdestinationCopyright©2016PearsonEducation,Inc.TheShortestRouteProblemSolutionMethodSummarySelectthenodewiththeshortestdirectroutefromtheorigin.Establishapermanentsetwiththeoriginnodeandthenodethatwasselectedinstep1.Determineallnodesdirectlyconnectedtothepermanentsetnodes.Selectthenodewiththeshortestroutefromthegroupofnodesdirectlyconnectedtothepermanentsetnodes.Repeatsteps3&4untilallnodeshavejoinedthepermanentset.Copyright©2016PearsonEducation,Inc.TheShortestRouteProblemComputerSolutionwithQMforWindows(1of2)Exhibit7.1Copyright©2016PearsonEducation,Inc.TheShortestRouteProblemComputerSolutionwithQMforWindows(2of2)Exhibit7.2DestinationnodeDistancetonode5,DesMoinesCopyright©2016PearsonEducation,Inc.Formulationasa0-1integerlinearprogrammingproblem.xij=0ifbranchi-jisnotselectedaspartoftheshortestrouteand1ifitisselected.MinimizeZ=16x12+9x13+35x14+12x24+25x25+15x34+ 22x36+14x45+17x46+19x47+8x57+14x67subjectto: x12+x13+x14=1 x12-x24-x25=0 x13-x34-x36=0x14+x24+x34-x45-x46-x47=0 x25+x45-x57=0 x36+x46-x67=0 x47+x57+x67=1 xij=0or1
TheShortestRouteProblemComputerSolutionwithExcel(1of4)Copyright©2016PearsonEducation,Inc.Exhibit7.3TheShortestRouteProblemComputerSolutionwithExcel(2of4)TotalhoursFirstconstraint;=A6+A7+A8Constraintfornode2;=A6-A9-A10DecisionvariablesCopyright©2016PearsonEducation,Inc.Exhibit7.4TheShortestRouteProblemComputerSolutionwithExcel(3of4)Onetruckleavesnode1,andonetruckendsatnode7FlowconstraintsCopyright©2016PearsonEducation,Inc.Exhibit7.5TheShortestRouteProblemComputerSolutionwithExcel(4of4)Onetruckflowsoutofnode1;onetruckflowsintonode7Copyright©2016PearsonEducation,Inc.Figure7.11NetworkofpossiblecableTVpathsTheMinimalSpanningTreeProblemDefinitionandExampleProblemData Problem:Connectallnodesinanetworksothatthetotalofthebranchlengthsareminimized.Copyright©2016PearsonEducation,Inc.TheMinimalSpanningTreeProblemSolutionApproach(1of6)Figure7.12Spanningtreewithnodes1and3 Startwithanynodeinthenetworkandselecttheclosestnodetojointhespanningtree.Copyright©2016PearsonEducation,Inc.TheMinimalSpanningTreeProblemSolutionApproach(2of6)Figure7.13Spanningtreewithnodes1,3,and4Selecttheclosestnodenotpresentlyinthespanningarea.Copyright©2016PearsonEducation,Inc.TheMinimalSpanningTreeProblemSolutionApproach(3of6)Figure7.14Spanningtreewithnodes1,2,3,and4Continuetoselecttheclosestnodenotpresentlyinthespanningarea.Copyright©2016PearsonEducation,Inc.TheMinimalSpanningTreeProblemSolutionApproach(4of6)Figure7.15Spanningtreewithnodes1,2,3,4,and5Continuetoselecttheclosestnodenotpresentlyinthespanningarea.Copyright©2016PearsonEducation,Inc.TheMinimalSpanningTreeProblemSolutionApproach(5of6)Figure7.16Spanningtreewithnodes1,2,3,4,5,and7Continuetoselecttheclosestnodenotpresentlyinthespanningarea.Copyright©2016PearsonEducation,Inc.TheMinimalSpanningTreeProblemSolutionApproach(6of6)Figure7.17MinimalspanningtreeforcableTVnetworkOptimalSolutionCopyright©2016PearsonEducation,Inc.TheMinimalSpanningTreeProblemSolutionMethodSummarySelectanystartingnode(conventionally,node1).Selectthenodeclosesttothestartingnodetojointhespanningtree.Selecttheclosestnodenotcurrentlyinthespanningtree.Repeatstep3untilallnodeshavejoinedthespanningtree.Copyright©2016PearsonEducation,Inc.TheMinimalSpanningTreeProblemComputerSolutionwithQMforWindowsExhibit7.6Copyright©2016PearsonEducation,Inc.Figure7.18NetworkofrailwaysystemTheMaximalFlowProblemDefinitionandExampleProblemData Problem:Maximizetheamountofflowofitemsfromanorigintoadestination.Copyright©2016PearsonEducation,Inc.Figure7.19Maximalflowforpath1-2-5-6TheMaximalFlowProblemSolutionApproach(1of5)Step1:Arbitrarilychooseanypaththroughthenetworkfromorigintodestinationandshipasmuchaspossible.Copyright©2016PearsonEducation,Inc.Figure7.20Maximalflowforpath1-4-6TheMaximalFlowProblemSolutionApproach(2of5)Step2:Re-computebranchflowinbothdirectionsStep3:Selectotherfeasiblepathsarbitrarilyanddeterminemaximumflowalongthepathsuntilflowisnolongerpossible.Copyright©2016PearsonEducation,Inc.Figure7.21Maximalflowforpath1-3-6TheMaximalFlowProblemSolutionApproach(3of5)Continue0Copyright©2016PearsonEducation,Inc.Figure7.22Maximalflowforpath1-3-4-6TheMaximalFlowProblemSolutionApproach(4of5)ContinueCopyright©2016PearsonEducation,Inc.Figure7.23MaximalflowforrailwaynetworkTheMaximalFlowProblemSolutionApproach(5of5)OptimalSolutionCopyright©2016PearsonEducation,Inc.TheMaximalFlowProblemSolutionMethodSummaryArbitrarilyselectanypathinthenetworkfromtheorigintothedestination.Adjustthecapacitiesateachnodebysubtractingthemaximalflowforthepathselectedinstep1.Addthemaximalflowalongthepathtotheflowintheoppositedirectionateachnode.Repeatsteps1,2,and3untiltherearenomorepathswithavailableflowcapacity.Copyright©2016PearsonEducation,Inc.TheMaximalFlowProblemComputerSolutionwithQMforWindowsExhibit7.7Copyright©2016PearsonEducation,Inc.xij=flowalongbranchi-jandintegerMaximizeZ=x61subjectto: x61-x12-x13-x14=0 x12-x24-x25=0 x13-x34-x36=0 x14+x24+x34-x46=0 x25-x56=0 x36+x46+x56-x61=0 x12
6 x24
3 x34
2 x13
7 x25
8 x36
6 x14
4 x46
5 x56
4 x61
17 xij
0 andintegerTheMaximalFlowProblemComputerSolutionwithExcel(1of4)Copyright©2016PearsonEducation,Inc.TheMaximalFlowProblemComputerSolutionwithExcel(2of4)Exhibit7.8Objective-maximizeflowfromnode6Constraintatnode1;=C15-C6-C7-C8Constraintatnode6;=C12+C13+C14-C15DecisionvariablesCopyright©2016PearsonEducation,Inc.TheMaximalFlowProblemComputerSolutionwithExcel(3of4)Exhibit7.9Copyright©2016PearsonEducation,Inc.TheMaximalFlowProblemComputerSolutionwithExcel(4of4)Exhibit7.10Copyright©2016PearsonEducation,Inc.TheMaximalFlowProblemExampleProblemStatementandDataDeterminetheshortestroutefromAtlanta(node1)toeachoftheotherfivenodes(branchesshowtraveltimebetweennodes).Assumingthebranchesshowdistance(insteadoftraveltime)betweenthenodes,developaminimalspanningtree.Copyright©2016PearsonEducation,Inc.Step1(partA):DeterminetheShortestRouteSolution1. PermanentSet Branch
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 会员储值卡管理使用细则
- 车间级双重预防机制运行记录
- 肉牛冬季圈舍保暖与保膘方案
- 家政员离职交接管理作业规范
- 低温冷库蔬菜储藏管理规范
- 年度环保督察迎检整改实施方案
- 公司投标工作管理制度
- 辣椒嫁接育苗生产技术规程
- 种子质量检测操作技术规程
- 枣树锈病早期防控用药安全标准
- 2026云南红河州红投新材料有限公司第一批社会招聘5人备考题库附答案详解(b卷)
- 2026山东枣庄台儿庄区福泽实业投资有限公司招聘工作人员4人笔试备考题库及答案解析
- (重庆三诊)重庆市2026届高三第三次联合诊断检测 数学试卷康德卷(含答案及解析)
- 长期照护师(初级)理论考试题库(含答案及解析)
- 2026年国家保安员考试题库带答案(完整版)
- 2026中国热成型塑料材料行业竞争态势与供需前景预测报告
- 成套设备日常巡检与点检作业手册
- TSG 31-2025 工业管道安全技术规程
- 2026年vivo行业分析报告
- 2025科技部直属事业单位招聘67人(公共基础知识)综合能力测试题带答案解析
- 2025年二级注册建筑师资格考试(场地与建筑方案设计)历年参考题库附答案
评论
0/150
提交评论