版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Jin Zheng, Central South University,1,Branch-and-bound,Jin Zheng, Central South University,2,Branch and Bound,An enhancement of backtracking Similarity A state space tree is used to solve a problem Difference used only for optimization problems. The backtracking requires the using of DFS traversal a
2、nd is used for nonoptimization problems. Branch and bound: does not limit us to any particular way of traversing the tree (Best-first),Jin Zheng, Central South University,3,Branch and bound (cont.),Branching strategy: how to partition solution space Node selection strategy: sequence of exploring nod
3、es: depth first (tries to obtain a solution fast) breadth/best bound first (tries to find the best solution) which nodes to explore,Selecting the node with the best estimated cost among all nodes.,Combine depth-first search and breadth-first search.,Jin Zheng, Central South University,4,Branch and B
4、ound,Compared to backtracking ,branch-and-bound requires two additional items. A way to provide, for every node of a state-space-tree ,a bound on the best value of the objective function on any solution that can be obtained by adding further omponents to the partial solution represented by the node.
5、 The value of the best solution seen so far.,Jin Zheng, Central South University,5,The main idea,Set up a bounding function, which is used to compute a bound (for the value of the objective function) at a node on a state-space tree and determine if it is promising Promising (if the bound is better t
6、han the value of the best solution so far: expand beyond the node. Nonpromising (if the bound is no better than the value of the best solution so far-:not smaller for a minimization problem and not larger for a maxmization problem ): not expand beyond the node (pruning the state-space tree).,Jin Zhe
7、ng, Central South University,6,边界(下界)的选择: 初始节点边界:包括最优解在内,任何解的成本都不会小于矩阵每行中的最小元素的和。 节点其它边界:实际产生的成本+还要付出的最小成本(估计),Jin Zheng, Central South University,7,Given a set of points and their pairwise distances, the task is to find a shortest tour that visits each point exactly once. It is NP-complete.,The tra
8、veling salesperson optimization problem,Jin Zheng, Central South University,8,Traveling Salesman ProblemBounding Function,边界(下界)函数的选择: 初如节点边界:对于每一个城市,求出该城市到距离其最近的另外两个城市的距离之和,并把所有城市的该距离和除以2取整。 其它节点边界:实际产生的成本+还要付出的最小成本(估计),Jin Zheng, Central South University,9,Traveling salesman,0,1,2,3,4,5,6,7,9,8,10
9、,11,b is not before c,Jin Zheng, Central South University,10,Notes,Finding a good bounding is not a simple task. On the one hand. We want this function to be easy to compute. On the other hand, it cannt be too simplistic.otherwise, it would fail in its principal task to prune as many branches of a s
10、tate-space tree as soon as possible.,Jin Zheng, Central South University,11,The 0/1 knapsack problem,Positive integer P1, P2, , Pn (profit) W1, W2, , Wn (weight) M (capacity),Jin Zheng, Central South University,12,Knapsack problem,先按单位价值对待处理的物品进行排序 v1/w1v2/w2 vn/wn bound function(边界函数(上界): ub=v+(W-w)(vi+1/wi+1),即:已经选择物品的总价值v+背包的剩余承重W-w与剩下物品的最佳单位回报vi+1/wi+1的乘积。,Jin Zheng, Central South University,13,Example,Item weight valu
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 新员工5S管理与TPM教育及入厂基础教育
- 沃尔玛入驻正恒国际广场签约仪式活动策划方案
- 2026年报刊分拣员职业技能等级认定(二级)理论知识模拟试题
- 建材行业油漆车间工艺流程
- (2026版)实习律师工作总结
- 新北师大版小学二年级下数学课件:第1单元分草莓
- 现代机械设计理论与方法
- 泌尿、男生殖系外科疾病的临床表现及检查娄庆
- 桥梁混凝土强度检测方案
- 水生态环境监测网络建设项目可行性研究报告
- 文学概论讲义
- 河南警察学院引进高层次人才考核办法(试行)
- 医院审方中心工作制度
- 2026年中铝集团校园招聘笔试
- 专科医生如何带教全科医生课件
- 2026年春岭南版(新教材)小学美术二年级下册教学计划及进度表
- 雨课堂学堂在线学堂云《Age of Sustainable Development(SDG Academy)》单元测试考核答案
- 人保财险理赔培训
- 教育培训机构招生销售人员面试问题集
- 雕塑总体施工方案(3篇)
- 生物安全上岗证培训课件
评论
0/150
提交评论