知识卡片
差分约束只比较两个变量
差分约束写成 x_j−x_i≤b_k;对应矩阵行恰有一个1和一个−1,其余为0。
它适合表达两个事件时刻或资源量之间的上界与下界。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第22章 单源最短路径 · 查看原书依据
In a system of difference constraints, each row of the linear-programming matrix A contains one 1 and one −1, and all other entries of A are 0. Thus, the constraints given by Ax ≤ b are a set of mdifference constraints
参考来源
- 位置:《算法导论(第4版)》第22章《单源最短路径》(OEBPS/chapter022.xhtml,文本字符[45000,50000))。
- 结论依据:原文给出矩阵行结构和不等式形式,随后用工序时间举例。
- 原始内容:In a system of difference constraints , each row of the linear-programming matrix A contains one 1 and one −1, and all other entries of A are 0. Thus, the constraints given by Ax ≤ b are a set of m difference constraints