知识卡片
随机舍入按分数值采样
随机舍入先求整数规划的线性松弛,把分数变量值用作选择概率,得到随机候选解;候选未必可行。
比如单边顶点覆盖的两端各以1/2独立入选,有1/4概率漏盖该边。
可行性、修复办法和近似界须针对具体问题另证,不能由概率解释直接推出。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第35章 近似算法 · 查看原书依据
A combination of these two ideas yields a technique called “randomized rounding,” which formulates a problem as an integer linear program, solves the linear-programming relaxation, and interprets the variables in the solution as probabilities. These probabilities then help guide the solution of the original problem. This technique was first used
参考来源
- 位置:《算法导论(第4版)》第35章《近似算法》(OEBPS/chapter035.xhtml,文本字符[65000,66405))。
- 结论依据:第35章章注只说松弛变量的概率“引导”原问题求解;第35.4节的半阈值顶点覆盖是确定性方案,不能当作随机采样必然可行的证明。
- 原始内容:A combination of these two ideas yields a technique called “randomized rounding,” which formulates a problem as an integer linear program, solves the linear-programming relaxation, and interprets the variables in the solution as probabilities. These probabilities then help guide the solution of the original problem. This technique was first used