知识卡片

普通读书笔记卡 · 3723.a

近似比统一最大与最小化

理解等级:中级

若算法解成本为C、最优成本为C且均为正,近似比要求max(C/C, C*/C)不超过ρ(n)。

最小化看C/C,最大化看C/C;比值至少为1,等于1才保证最优。

这个定义把两类优化问题放在同一尺度。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第35章 近似算法 · 查看原书依据

      We say that an algorithm for a problem has an approximation ratio of ρ(n) if, for any input of size n, the cost C of the solution produced by the algorithm is within a factor of ρ(n) of the cost C* of an optimal solution: If an algorithm achieves an approximation ratio of ρ(n), we call it a ρ(n)-approximation algorithm. The

    参考来源

    - 位置:《算法导论(第4版)》第35章《近似算法》(OEBPS/chapter035.xhtml,文本字符[0,5000))。 - 结论依据:第35章近似定义、顶点覆盖与满足三角不等式的旅行商算法;图35.1–35.2已核对。 - 原始内容:We say that an algorithm for a problem has an approximation ratio of ρ ( n ) if, for any input of size n , the cost C of the solution produced by the algorithm is within a factor of ρ ( n ) of the cost C * of an optimal solution: If an algorithm achieves an approximation ratio of ρ ( n ), we call it a ρ ( n ) -approximation algorithm . The