# 列生成

列生成是一种优化方法：它通过在一个小规模的限制主问题上工作，并迭代地加入由求解定价子问题所发现的变量（列），来求解变量数目极大的规划问题的线性松弛，直到不存在负检验数（成本减去所消耗资源的价值）的变量为止；对于整数优化，它通常嵌入分支定价框架，或与另一种强制整数性的方法结合使用。<sup>[1](https://link.springer.com/content/pdf/10.1007/978-3-031-96917-1_2)</sup> 对于变量数目随约束数目呈指数增长的问题——如下料、车辆路径和乘务调度——它是首选方法，因为只需极小一部分变量即可证明最优性。<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 它是什么 | 原始单纯形算法，其定价步骤被一个辅助优化程序取代，该程序搜索负检验数变量或证明不存在这样的变量<sup>[1](https://link.springer.com/content/pdf/10.1007/978-3-031-96917-1_2)</sup> |
| 何时占优 | 变量数目随约束数目呈指数增长；只需极小一部分即可证明最优性<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup> |
| 停止判据 | 当所有列上的最小检验数至少为 0 时终止；这证明了主问题 LP 的最优性<sup>[3](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup> |
| 精确性 | 对有限列集合是精确的，因为每一列至多被生成一次<sup>[3](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup> |
| 整数解 | 需要分支定价，即在每个分支定界结点处应用列生成<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup> |
| 主要缺点 | 尾效应：接近最优时每次迭代的增量进展缓慢<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup> |
| 界值的注意事项 | 当定价子问题具有整性性质时，对偶界不优于紧凑形式的 LP 松弛<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup> |

## 工作原理

该方法立足于线性规划的检验数最优性条件。给定主问题约束的对偶乘子 \( \pi \)，成本为 \( c_{j} \)、系数向量为 \( a_{j} \) 的列 \( j \) 的检验数为

\[ \bar{c}_{j} = c_{j} - \pi^{\mathsf{T}} \cdot a_{j}. \]

一个 LP 解是最优的，当且仅当不存在负检验数的列。与其对多得难以处理的变量逐一计算 \( \bar{c}_{j} \)，不如求解定价子问题，也称为子问题、神谕或列生成器：

\[ v(\mathrm{PP}) := \min_{j \in J} \{ c_{j} - \pi^{*\mathsf{T}} \cdot a_{j} \}. \]

当 \( v(\mathrm{PP}) < 0 \) 时，取最小值的变量 \( \lambda_{j} \) 及其列 \( (c_{j}, a_{j}) \) 被加入限制主问题（RMP）；当 \( v(\mathrm{PP}) \geq 0 \) 时，当前 RMP 解即为完整主问题的最优解，算法停止。<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup><sup> • </sup><sup>[5](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup> 在一个下料问题的算例中，定价问题是一个整数背包问题 \( \min_{p} \, 1 - y^{*\mathsf{T}} \cdot Q_{p} \)，用动态规划求解。<sup>[6](https://www.poirrier.ca/courses/co353/d/colgen.pdf)</sup>

使这一方法具有吸引力的是主问题的结构：变量数目呈指数增长而约束很少，通常呈丹齐格-沃尔夫加边块对角或阶梯结构，此时定价问题可分解为若干可处理的子问题。<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup> 由于每一列至多被生成一次，只要列集合有限——实际情况几乎总是如此——算法就是精确的。<sup>[3](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup>

## 具体做法

一次迭代由以下两步组成：(a) 优化 RMP，得到目标值和对偶乘子 \( \pi \)；(b) 求解定价问题，找到一个负检验数的变量，加入一个或多个这样的列并重复。<sup>[3](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup> RMP 必须从一开始就可行；标准的初始化方法是加入带大正罚成本的人工变量（等价于一个最小化其总和的第一阶段目标），其列构成单位矩阵，从而保证在每个分支定界结点处 LP 松弛可行。<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup> 当 RMP 不可行时，Farkas 定价利用 Farkas 引理给出的对偶射线使其可行。<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup> 当且仅当下界等于 RMP 目标值时，算法精确终止。<sup>[1](https://link.springer.com/content/pdf/10.1007/978-3-031-96917-1_2)</sup>

## 起源

列生成作为一门领域，是在 2005 年由居伊·德索尔尼耶（Guy Desaulniers）、雅克·德罗齐耶（Jacques Desrosiers）和马里乌斯·M·所罗门（Marius M. Solomon）主编的《列生成》论文集中得以确立的。<sup>[7](https://doi.org/10.1007/b135457)</sup> 它的根源是层叠的。丹齐格（Dantzig）和沃尔夫（Wolfe）在 1960 年发表于《运筹学》（*Operations Research*）的论文中提出了分解原理：分解后程序的每一部分为相互连接的程序生成新的活动（列），而协调者在每一轮生成新的价格。<sup>[8](https://doi.org/10.1287/opre.8.1.101)</sup> 吉尔摩（Gilmore）和戈莫里（Gomory）1961 年和 1963 年的下料问题论文被记载为列生成的首次实际应用：计算始终使用一个不大于行数乘列数的矩阵，并通过一个背包型辅助问题生成有用的列。<sup>[9](https://doi.org/10.1287/opre.9.6.849)</sup><sup> • </sup><sup>[10](https://doi.org/10.1287/opre.11.6.863)</sup> 这一术语本身最早出现在阿佩尔格伦（Appelgren）1969 年发表于《运输科学》（*Transportation Science*）的船舶调度论文中。<sup>[11](https://doi.org/10.1287/trsc.3.1.53)</sup> 将列生成嵌入基于 LP 的分支定界，是由德罗齐耶、苏米（Soumis）和德罗谢尔（Desrochers）于 1984 年针对带时间窗的车辆路径问题引入的。<sup>[12](https://doi.org/10.1002/net.3230140406)</sup> 通用的精确整数规划列生成算法随后由范德贝克（Vanderbeck）和沃尔西（Wolsey）（1996）<sup>[13](https://doi.org/10.1016/0167-6377%2896%2900033-8)</sup> 以及巴恩哈特（Barnhart）及其同事（1998）<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup> 给出，该领域在吕贝克（Lübbecke）和德罗齐耶 2005 年的综述中进一步得到整合。<sup>[5](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup><sup> • </sup><sup>[14](https://pages.di.unipi.it/frangio/papers/StabCG.pdf)</sup> 不过，吕贝克和德罗齐耶的综述将丹齐格和沃尔夫视为列式扩展的先驱，而吉尔摩和戈莫里首次将其投入实际应用，因此丹齐格-沃尔夫分解是前身而非唯一的起源。<sup>[5](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup>

## 变体

**分支定价**将列生成嵌入整个分支定界树，在每个结点处对非基变量定价，以生成列或证明 LP 最优性；对某些模型类，它可以分解问题、提供更紧的 LP 松弛并消除对称性，但需要特殊的分支规则，因为分支之后，一个有利的列可能不在主问题中，而分支信息必须编码进定价问题。<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup> 对于带容量约束的 VRP，带子行不等式<sup>[16](https://doi.org/10.1287/opre.1070.0449)</sup>的稳健分支切割定价<sup>[15](https://doi.org/10.1007/s10107-005-0644-x)</sup>是较早一代的先进技术；当前的先进技术是分支定价切割（BPC）算法，它扩展了这一框架（佩辛等，2017；科斯塔等，2019；You 和 Yang，2025）。路径问题的定价使用带资源约束的基本最短路径问题，其精确算法由费耶（Feillet）、德雅（Dejax）、让德罗（Gendreau）和盖根（Gueguen）给出。<sup>[17](https://doi.org/10.1002/net.20033)</sup>

**稳定化列生成**通过将对偶变量限制在一个可以以罚成本越出的盒子中，并动态更新盒子大小和罚成本，来解决对偶振荡问题。<sup>[18](https://doi.org/10.1016/s0012-365x%2898%2900213-1)</sup> 对偶最优不等式是一种相关手段；吉尔摩和戈莫里早在 1961 年就表明，在下料需求约束中把等式替换为大于等于可以加速收敛。<sup>[3](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup> 稳定化技术的自动化组合由佩索阿（Pessoa）、萨迪科夫（Sadykov）、乌舒阿（Uchoa）和范德贝克开发。<sup>[19](https://doi.org/10.1287/ijoc.2017.0784)</sup>

**机器学习加速**是最新的一类变体。莫拉比特（Morabit）、德索尔尼耶和洛迪（Lodi）较早的基于 ML 的列选择方法，减少了车辆和乘务调度实例上的定价工作量。<sup>[20](https://doi.org/10.1287/trsc.2021.1045)</sup> 在 ICML 2024 上，结合自适应稳定化的最优对偶机器学习预测改善了[图着色](https://www.edgepedia.org/zh/graph-coloring)的收敛性。<sup>[21](https://proceedings.mlr.press/v235/shen24e.html)</sup> 树搜索定价算法识别出低于自适应检验数阈值的所有列。<sup>[22](https://ideas.repec.org/a/spr/mathme/v102y2025i2d10.1007_s00186-025-00905-3.html)</sup>

## 应用

一维下料问题是经典例子，定价为背包问题；装箱和机器调度由同样的集合覆盖结构处理。<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup> 车辆路径和乘务调度使用集合划分或集合覆盖主问题，在有效时优先使用集合覆盖，因为最优的覆盖解就是最优的划分。<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup> 在路径问题中，定价问题是资源约束基本最短路径问题。<sup>[23](https://econpapers.repec.org/article/inmorijoc/v_3a34_3ay_3a2022_3ai_3a2_3ap_3a953-973.htm)</sup> 图着色被用作基于 ML 的稳定化方法的基准。<sup>[21](https://proceedings.mlr.press/v235/shen24e.html)</sup>

## 局限与替代方案

定价问题往往是计算瓶颈，启发式定价的设计目标是只在最后一次迭代中调用一次精确定价优化，以证明最优性。<sup>[1](https://link.springer.com/content/pdf/10.1007/978-3-031-96917-1_2)</sup> 两阶段方案在仍能产生改进列时运行一个廉价的近似算法，之后才调用精确算法。<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup> 尾效应是最著名的收敛失败；改善 LP 求解时间的程序并不能防止它。<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup> 其结构性根源是对偶振荡，即砰砰效应，RMP 中的原始退化加剧了这一效应，使得最优对偶解不唯一。<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup><sup> • </sup><sup>[24](https://www.mdpi.com/2227-7390/14/6/931)</sup> 当一些定价子问题是 NP 难的且数量众多时，部分列生成每次迭代只求解其中一个子集；有一个乘务调度应用面临多达 300 个这样的子问题。<sup>[5](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup> 根据界值和符号约定，可以删除不活跃的非基列以降低每次迭代的时间。<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup>

[拉格朗日松弛](https://www.edgepedia.org/zh/lagrangian-relaxation)产生相同的理论界和相同形式的子问题，因此两者之间的选择取决于哪一个能更高效地达到最优界；标准的拉格朗日替代方案通过次梯度优化求解对偶。<sup>[4](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)</sup> 从对偶的角度看，加入列就是加入行，因此列生成是凯利（Kelley）割平面法的一个特例；该方法发表于 1960 年，<sup>[14](https://pages.di.unipi.it/frangio/papers/StabCG.pdf)</sup> 一些二手文献将其列为 1961 年，<sup>[5](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup> 这是错误的断代。最后，只有当定价子问题缺乏整性性质时，RMP 的对偶界才优于紧凑 LP 松弛，这一注意事项限制了以最短路径定价的模型的界质量。<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup><sup> • </sup><sup>[5](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup>

在软件方面，有文献记载的支持分支定价的框架包括 ABACUS、BCP、SCIP 和 SYMPHONY，底层使用单纯形软件包 CLP、GLPK 和 SOPLEX；分支定价程序能求解许多标准商业求解器无法应对的工业难度大规模问题。<sup>[2](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)</sup>

## References

1. [Column Generation (book chapter, Desrosiers et al., Springer, 2024/2025 volume)](https://link.springer.com/content/pdf/10.1007/978-3-031-96917-1_2)
2. [Column Generation (Lübbecke & Desrosiers, encyclopedia survey chapter)](https://www.or.rwth-aachen.de/files/research/publications/colgen.pdf)
3. [A Primer in Column Generation (Desrosiers & Lübbecke)](https://or.rwth-aachen.de/files/research/publications/primer.pdf)
4. [Branch-and-Price: Column Generation for Solving Huge Integer Programs (Barnhart, Johnson, Nemhauser, Savelsbergh, Vance, Operations Research 46(3), 1998)](https://psycnet.apa.org/doi/10.1287/opre.46.3.316)
5. [Selected Topics in Column Generation (Lübbecke & Desrosiers, Operations Research 53(6):1007-1023, 2005)](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)
6. [Column generation lecture notes (CO353, University of Waterloo)](https://www.poirrier.ca/courses/co353/d/colgen.pdf)
7. [Guy Desaulniers, Jacques Desrosiers, Marius M. Solomon (2005). Column Generation. .](https://doi.org/10.1007/b135457)
8. [George B. Dantzig, Philip Wolfe (1960). Decomposition Principle for Linear Programs. Operations Research.](https://doi.org/10.1287/opre.8.1.101)
9. [P. C. Gilmore, R. E. Gomory (1961). A Linear Programming Approach to the Cutting-Stock Problem. Operations Research.](https://doi.org/10.1287/opre.9.6.849)
10. [P. C. Gilmore, R. E. Gomory (1963). A Linear Programming Approach to the Cutting Stock Problem, Part II. Operations Research.](https://doi.org/10.1287/opre.11.6.863)
11. [Leif H. Appelgren (1969). A Column Generation Algorithm for a Ship Scheduling Problem. Transportation Science.](https://doi.org/10.1287/trsc.3.1.53)
12. [Jacques Desrosiers, François Soumis, Martin Desrochers (1984). Routing with time windows by column generation. Networks.](https://doi.org/10.1002/net.3230140406)
13. [An exact algorithm for IP column generation (Operations Research Letters, 1996)](https://doi.org/10.1016/0167-6377%2896%2900033-8)
14. [Frangioni, A Class of Stabilized Column Generation Algorithms](https://pages.di.unipi.it/frangio/papers/StabCG.pdf)
15. [Ricardo Fukasawa and colleagues (2005). Robust Branch-and-Cut-and-Price for the Capacitated Vehicle Routing Problem. Mathematical Programming.](https://doi.org/10.1007/s10107-005-0644-x)
16. [Mads Jepsen and colleagues (2007). Subset-Row Inequalities Applied to the Vehicle-Routing Problem with Time Windows. Operations Research.](https://doi.org/10.1287/opre.1070.0449)
17. [Dominique Feillet and colleagues (2004). An exact algorithm for the elementary shortest path problem with resource constraints: Application to some vehicle routing problems. Networks.](https://doi.org/10.1002/net.20033)
18. [Stabilized column generation (Discrete Mathematics, 1999)](https://doi.org/10.1016/s0012-365x%2898%2900213-1)
19. [A. Pessoa and colleagues (2018). Automation and Combination of Linear-Programming Based Stabilization Techniques in Column Generation. INFORMS journal on computing.](https://doi.org/10.1287/ijoc.2017.0784)
20. [Mouad Morabit, Guy Desaulniers, Andrea Lodi (2021). Machine-Learning–Based Column Selection for Column Generation. Transportation Science.](https://doi.org/10.1287/trsc.2021.1045)
21. [Adaptive Stabilization Based on Machine Learning for Column Generation (Shen et al., ICML 2024, PMLR 235)](https://proceedings.mlr.press/v235/shen24e.html)
22. [Lexicographic column generation with a tree search pricing algorithm (TSPA) (Bärmann, Müller, Weninger, Mathematical Methods of Operations Research, 2025)](https://ideas.repec.org/a/spr/mathme/v102y2025i2d10.1007_s00186-025-00905-3.html)
23. [Improving Column Generation for Vehicle Routing Problems via Random Coloring and Parallelization (Yu, Nagarajan, Shen, INFORMS Journal on Computing, 2022)](https://econpapers.repec.org/article/inmorijoc/v_3a34_3ay_3a2022_3ai_3a2_3ap_3a953-973.htm)
24. [An Improved Column Generation Algorithm Based on Minimum-Norm Multipliers (ICG) (Mathematics, MDPI)](https://www.mdpi.com/2227-7390/14/6/931)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Optimization and dynamic programming › Decomposition and distributed optimization

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/column-generation

English original: https://www.edgepedia.org/column-generation
