全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Branch and bound, bounding function, continuous relaxation?

又称: branch and bound · bounding function · continuous relaxation

Definition 20.4 University Computer Science — Year 1 · 第 20 章 — Exhaustive Search and Backtracking

Branch and bound explores the tree of partial solutions of an optimisation problem, keeps the best complete solution found so far, and prunes a node when a bounding function shows that no completion of it can beat that solution. A continuous relaxation of a problem allows fractions where the problem requires whole choices; its optimum is at least the problem’s, and gives a bound.

Branch and bound on four items A, B, C, D of weights 4, 7, 5, 3 and values 40, 42, 25, 12 (decreasing value per unit of weight), capacity 10 (figures/bb_tree.py). The first leaf reached, A and C, is the optimum; its value 65 then prunes both remaining branches. Counted as best counts them (a pruned node is visited, an item that does not fit is not tried), plain backtracking visits 20 nodes here and branch and bound 7.
Branch and bound on four items A, B, C, D of weights 4, 7, 5, 3 and values 40, 42, 25, 12 (decreasing value per unit of weight), capacity 10 (figures/bb_tree.py). The first leaf reached, A and C, is the optimum; its value 65 then prunes both remaining branches. Counted as best counts them (a pruned node is visited, an item that does not fit is not tried), plain backtracking visits 20 nodes here and branch and bound 7.
在原文中阅读 →