- 1、本文档共84页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
NetworkOptimization.ppt
Network Optimization Chapter 3 Shortest Path Problems 3.1 Shortest paths from a single source In a weighted digraph, a path of minimum weight from vertex v to vertex w is called a shortest path (SP) from v to w, and its length is called the shortest distance (SD) from v to w. For undirected graph, we can define SP and SD between two vertices. The shortest path problem can be treated as a transshipment problem. 3.1 Shortest paths from a single source (a) If we want to find SP and SD from v to w, then: let v be the only source with a supply of 1 unit; let w be the only sink with a demand of 1 unit; let other vertices be intermediate vertices; let the cost of sending one unit of the commodity from i to j be the weight of the arc (i , j); we now use the network simplex method to solve this transshipment problem. A 0-1 solution x* will be obtained, and the arcs (i , j) with =1 form a shortest path from v to w. 3.1 Shortest paths from a single source (b) if we want to find shortest paths from a given vertex v to each of the other n-1 vertices in the digraph, then: let v be the only source with a supply of n-1 units; let every other vertex be a sink with a demand of 1 unit; let the cost of sending one unit of commodity from i to j be the weight of the arc (i , j); then the shortest path problem is transformed to a transshipment problem, and hence can be solved by the network simplex method. 3.1 Shortest paths from a single source We study other two algorithms: Dijkstra’s algorithm to find a SP and the SD from a specified vertex to every other vertex; Floyd and Warshall algorithm for all-pairs shortest path problem. Main idea about the Dijkstra’s method Suppose the 5 nearest vertices to v1 are v1,v3,v5,v7 and v9. Then finding the sixth nearest vertex is easy. Assume the sixth nearest vertex is v6 and the shortest path is (v1,…v?, v6). Then v? must be one the 5 nearest vertices. Can you see why? Another important idea!! Suppose 1356 is the SP
您可能关注的文档
最近下载
- 作业设计研讨活动记录.doc
- 2025国家电投校园招聘笔试备考题库及答案解析.docx
- 2021-2022学年五年级上学期综合实践活动(劳动教育)第6课巧做糖画教案.docx
- 创业意识与创业技巧:了解企业登记注册流程.pptx
- 山东省淄博市2023年高一上学期《英语》期中试卷与参考答案.pdf
- 大学生职业规划大赛成长赛道 (修订).pptx
- 2018重庆市建设工程混凝土与砂浆配合比表.pdf
- WhyNothingWorks.doc VIP
- 住院医师规范化培训基地标准(2022年版)--皮肤科专业基地细则.docx
- JB∕T 2436.2-2020 导线用铜压接端头 第2部分:10mm2~300mm2导线用铜压接端头.pdf
文档评论(0)