知识卡片

普通读书笔记卡 · 3658.a.2.b

约束图负环意味着无可行解

理解等级:中级

若约束图有负权环,把环上各差分不等式相加,变量项抵消得到 0≤环总权;负环却使总权,产生矛盾,所以系统不可行。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第22章 单源最短路径 · 查看原书依据

      Now we show that if the constraint graph contains a negative-weight cycle, then the system of difference constraints has no feasible solution. Without loss of generality, let the negative-weight cycle be c = 〈v1, v2,

    参考来源

    - 位置:《算法导论(第4版)》第22章《单源最短路径》(OEBPS/chapter022.xhtml,文本字符[50000,55000))。 - 结论依据:定理22.9的反向证明对环上约束求和并得到矛盾。 - 原始内容:Now we show that if the constraint graph contains a negative-weight cycle, then the system of difference constraints has no feasible solution. Without loss of generality, let the negative-weight cycle be c = 〈 v 1 , v 2 , …