中国高校课件下载中心 》 教学资源 》 大学文库

南京大学:《计算机问题求解》课程教学资源(课件讲稿)最大流算法

文档信息
资源类别:文库
文档格式:PDF
文档页数:58
文件大小:2MB
团购合买:点击进入团购
内容简介
南京大学:《计算机问题求解》课程教学资源(课件讲稿)最大流算法
刷新页面文档预览

计算机问题求解一论题3-13 最大流算法 2016年11月30日

计算机问题求解 – 论题3-13 - 最大流算法 2016年11月30日

Lucky Puck Company's Trucking Problem Lucky公司生产冰球,其工厂在温哥华,仓库在温尼泊。公司 委托物流公司运输。物流公司经营固定线路网,可能经过多 个中间城市。分配给Lucky公司的任意两个城市间的最大运输 量是固定的。如果Lucky:公司是按运输量确定生产量,它如何 计划它每天最大产量? 问题1: 如何建立解决这个问题的模型?

Lucky Puck Company’s Trucking Problem Lucky公司生产冰球,其工厂在温哥华,仓库在温尼泊。公司 委托物流公司运输。物流公司经营固定线路网,可能经过多 个中间城市。分配给Lucky公司的任意两个城市间的最大运输 量是固定的。如果Lucky公司是按运输量确定生产量,它如何 计划它每天最大产量?

Edmonton Saskatoon 12 Vancouver 16 30 Winnipeg S 13 V4 14 Calgary Regina 12/12 问题2:运输方案有多 11/16 15/20 种,最优方案是什么? 4/9 图中的方案是最优的 8/13 4/4 VA 11/14 吗?

问题2:运输方案有多 种,最优方案是什么? 图中的方案是最优的 吗?

问题3: 如果工厂与仓库都不止一 个,该怎么办?

A Model of Oil Supply 17 →supplying capacity cosuming capacity 17 16 18 a 12 17 20 20 12 10 15 30 S c >(e h 60 20 20 20 Vertices: b 13 30 a,b:refineries g,h,i:markets others:relays 17 pipeline,with max capacity/week

A Model of Oil Supply a b c d f e g h i S 20 60 D 20 30 20 16 18 12 17 10 7 13 30 20 15 Vertices: a, b: refineries g, h, i: markets others: relays 17 pipeline, with max capacity/week 17 17 supplying capacity cosuming capacity 12 20

S1 10 10 2 2 3 S2 S2 5 5 5 8 8 6 00 6 00 3 12 20 20 1 1 6 13 13 54 SA 8 品 11 2 % 85

严格的数学模型 We are now ready to define flows more formally.Let G =(V,E)be a flow network with a capacity function c.Let s be the source of the network,and let t be the sink.A flow in G is a real-valued function f:Vx V->R that satisfies the following two properties: Capacity constraint: Flow conservation:For all u V-fs.t,we require When (u,v)E,there can be no flow from u to v,and f(u,v)=0

严格的数学模型

问题4: 什么叫一个flow的value? If1=∑fs,)-∑fu,) ve y 什么是最大流问题?

How to get the maximum flow? 5 4 5 6 2 6 4 5 2 3 5

How to get the maximum flow? 6 4 5 2 3 1 5 5 4 7 5 6 2

How to get the maximum flow? 2/5 4 5 2/6 2/7 2 6 4 5 2 3 5

How to get the maximum flow? 6 4 5 2 3 1 5 5 4 2/7 2/5 2/6 2

刷新页面下载完整文档
VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
相关文档