# 分支定价

分支定价是一种精确优化算法，它通过将分支定界搜索与列生成相结合，来求解变量数量极其庞大的整数规划问题，使得在搜索树的每个节点上列都是被隐式定价的，而不是事先枚举出来的。<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup> 它面向的是那些自然模型具有指数级多变量的问题，例如乘务排班、车辆路径、下料和装箱。对于这些模型类别，该方法对问题进行分解，提供更紧的线性规划松弛，并消除那种使紧凑模型对标准求解器而言难以处理的对称性。<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup>

| 关键事实 | 详情 |
|---|---|
| 是什么 | 分支定界，其中 LP 松弛在整棵树中通过列生成求解<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup> |
| 提出者 | 巴恩哈特及其同事，《Operations Research》46(3):316–329，1998<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup> |
| 核心循环 | 求解受限主问题，按检验数对列定价，加入负检验数列，在解为分数时分支<sup>[2](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup> |
| 定价检验 | 最小检验数 \( \bar{c} \ge 0 \) 证明主问题最优；否则加入一列<sup>[3](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup> |
| 主要失效模式 | 拖尾效应：快速推进到接近最优，但在接近 LP 最优解时收敛缓慢<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup> |
| 领先变体 | 分支-定价-割，许多车辆路径类问题的领先精确方法<sup>[4](https://doi.org/10.1287/trsc.2018.0878)</sup> |
| 典型精度 | 在铁路乘务排班基准和许多公交司机排班实例上，最优性间隙低于 1%<sup>[5](https://arxiv.org/html/2606.10081v2)</sup><sup> • </sup><sup>[6](https://ojs.aaai.org/index.php/AAAI/article/download/17408/17215)</sup> |

## 工作原理

该方法建立在 Dantzig-Wolfe 重构之上：一个具有弱而对称的松弛的紧凑模型 被重写，使得每个变量（列）都成为某个嵌入结构的完整解，例如一条路径、一份排班表或一种下料模式。只有持有少量列子集的受限主问题（RMP）被显式求解。列生成算法是原始单纯形算法的一个变体，其定价步骤经过修改：不是对数量大到不可行的变量计算检验数，而是求解一个辅助优化程序，该程序要么找到一列负检验数的变量，要么证明不存在这样的变量。<sup>[7](https://doi.org/10.1007/978-3-031-96917-1)</sup> 形式上，定价预言机返回 \( \bar{c}^{*} = \min \{ c(a) - \bar{u}^{\intercal} a \mid a \in A \} \)；若 \( \bar{c}^{*} \ge 0 \)，则当前解最优地求解了主问题，否则加入相应的列。<sup>[3](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup>

定价问题是整数规划 \( \min \{ c \cdot x - \pi \cdot A \cdot x - \pi_{0} \mid x \in X \} \)，其中 \( \pi \) 是耦合约束的对偶变量，\( \pi_{0} \) 是凸性约束的对偶变量；理想情况下它应由定制的组合算法求解，因为通用 IP 求解器可能非常耗时。<sup>[8](https://www.or.rwth-aachen.de/files/research/publications/branch-and-price.pdf)</sup> 主问题在每个分支定界节点提供对偶乘子和一个下界，而原始模型则充当分支规则和割平面的控制中心。<sup>[2](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup>

## 如何执行

一次迭代包括：优化受限主问题以获得目标值和对偶乘子 \( \pi \)，然后找到一列负检验数的变量；若不存在，则该节点的 LP 松弛已解。为获得整数解，列生成被嵌入分支定界中，并在每个节点重新启动。<sup>[2](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup>

**分支必须与定价相容。** 对变量进行传统分支可能会失败，因为固定变量可能破坏定价问题的结构；一条相容的规则让实践者能够修改定价问题，使得在分支约束下不可行的列永远不会被生成，同时定价问题保持可处理。<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup> 对主变量进行析取分支也是不平衡的：将主变量向下分支到零对对偶界几乎没有影响，而向上分支则显著改变它。Ryan-Foster 分支通过定义“共处值” \( w_{ij} = \sum_{p:\,i,j \in p} \lambda_{p} \) 并对 \( w_{ij} = 0 \)（意味着这些项目不能同时出现）与 \( w_{ij} = 1 \)（意味着它们必须同时出现）进行分支，从而在集合划分问题上避免了这一问题。<sup>[8](https://www.or.rwth-aachen.de/files/research/publications/branch-and-price.pdf)</sup> 对原始变量分支是另一种选择：诸如 \( x_{12} = 0 \) 与 \( x_{12} = 1 \) 这样的分支从子问题网络中移除弧，并从 RMP 中丢弃受影响的路径列，对流量变量之和进行分支也是可行的。<sup>[2](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup>

## 起源

其谱系始于仅隐式处理多商品流问题的变量，以及一种按需按列扩展线性规划的策略。<sup>[3](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup> 吉尔摩和戈莫里于 1961 年首次将该技术实际应用于下料问题的高效算法中，<sup>[3](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup> 而阿佩尔格伦 1969 年发表在《Transportation Science》上的船舶调度论文引入了“列生成”这一术语。<sup>[9](https://doi.org/10.1287/trsc.3.1.53)</sup> 迈向精确算法的关键一步是将列生成嵌入基于线性规划的分支定界框架，由德罗西耶、苏米和德罗谢于 1984 年针对带时间窗约束的车辆路径问题提出。<sup>[3](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup> 通用算法随之而来：范德贝克和沃尔西于 1996 年提出了 IP 列生成的精确算法，<sup>[10](https://doi.org/10.1016/0167-6377%2896%2900033-8)</sup> 而分支定价的名称和统一方法论则由巴恩哈特及其同事于 1998 年在《Operations Research》上引入。<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup>

## 变体

当分支定界树每个节点上的松弛都通过列生成求解时，就称为分支定价；可选地加入割平面则称为分支-定价-割。<sup>[8](https://www.or.rwth-aachen.de/files/research/publications/branch-and-price.pdf)</sup> 在主问题中加入有效不等式会在对偶问题中增加变量，因此额外的对偶值必须整合进检验数，这修改了定价问题，与分支割不同。<sup>[11](https://hal.science/hal-05453354v1/document)</sup> 范德贝克 2000 年关于整数规划中 Dantzig-Wolfe 分解的工作引入了离散化概念以及在分支定价算法中执行分支的方法。<sup>[12](https://doi.org/10.1287/opre.48.1.111.12453)</sup> Farkas 定价——一种通过人工变量应对分支定界节点不可行性的机制——通过 SCIP 分支-定价-割框架而广为人知。<sup>[7](https://doi.org/10.1007/978-3-031-96917-1)</sup> 支持实现的框架包括 ABACUS、BCP、MINTO、SCIP、SYMPHONY、BaPCod、DIP 和 GCG（SCIP 的分支-定价-割扩展），<sup>[8](https://www.or.rwth-aachen.de/files/research/publications/branch-and-price.pdf)</sup> 以及近期开源的 Julia 框架 Coluna.jl。<sup>[13](https://doi.org/10.1287/ijoc.2025.1130)</sup>

## 应用

首次提出该方法的论文的计算部分涵盖二元下料、广义分配、城市公交乘务排班和带宽打包问题。<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup> 综述表格增加了车辆路径、航空乘务配对、装箱、整数多商品流、图着色和机器调度。<sup>[3](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)</sup><sup> • </sup><sup>[8](https://www.or.rwth-aachen.de/files/research/publications/branch-and-price.pdf)</sup> 对于带时间窗的车辆路径，德罗谢、德罗西耶和所罗门 1992 年的算法确立了列生成方法，<sup>[14](https://doi.org/10.1287/opre.40.2.342)</sup> 而精确的分支-定价-割算法现在是许多车辆路径问题类别的领先精确方法。<sup>[4](https://doi.org/10.1287/trsc.2018.0878)</sup>

**数据一览。** 一种用于铁路乘务排班的最先进分支定价算法，在一个包含 100 个实例（任务数从 90 到 3,016 不等）的公共库上实现了低于 1% 的平均最优性间隙，其中瓶颈是受限主问题而非定价。<sup>[5](https://arxiv.org/html/2606.10081v2)</sup> 对于带复杂休息约束的公交司机排班，一种分支定价算法在 50 个实例中的 48 个上改进了已知最佳解或证明了其最优性，其中超过一半间隙低于 1%。<sup>[6](https://ojs.aaai.org/index.php/AAAI/article/download/17408/17215)</sup>

## 局限与替代方案

**拖尾效应**是最著名的失效模式：基于单纯形的列生成快速接近近优解，但在接近最优解时进展甚微，这一现象早在 1963 年就被吉尔摩和戈莫里注意到。利用下界进行提前终止有所帮助，当下界达到当前最优整数解的目标值时即可剪枝该节点。<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup> 对偶变量会振荡而非平滑收敛，因此稳定化将对偶向量约束在围绕其当前值的“盒子”内，盒-罚方法同时动态更新两者。<sup>[2](https://or.rwth-aachen.de/files/research/publications/primer.pdf)</sup> 稳定化列生成由迪梅尔及其同事于 1999 年引入，<sup>[15](https://doi.org/10.1016/s0012-365x%2898%2900213-1)</sup> 而基于 LP 的稳定化技术由佩索阿及其同事于 2018 年实现自动化并加以组合。<sup>[16](https://doi.org/10.1287/ijoc.2017.0784)</sup>

**界与定价难度。** 对于具有整性性质的子问题，例如最短路，扩展模型得到的 LP 界并不优于紧凑模型的界。<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup> 在车辆路径中，定价问题是带资源约束的初等最短路问题（ESPPRC），它是强 NP 难的。<sup>[17](https://www.gerad.ca/colloques/ColumnGeneration2016/PDF/Desaulniers.pdf)</sup> 许多问题已通过将列生成限制在根节点的“定价-分支”启发式成功求解，但未证明最优。<sup>[1](https://doi.org/10.1287/opre.46.3.316)</sup>

**机器学习。** 瓦茨拉维克及其同事于 2018 年使用机器学习加速了分支定价。<sup>[18](https://doi.org/10.1016/j.ejor.2018.05.046)</sup> 库捷茨卡及其同事引入了一种基于 ML 的排序器，对多个定价问题进行排序，使最有可能改进主问题的那些先被求解，在手术室调度上持续优于传统搜索策略。<sup>[19](https://doi.org/10.1016/j.ejor.2024.07.029)</sup> POMO-CG（阿布埃勒鲁斯及其同事，2025）被描述为第一个使用强化学习直接且独立地求解定价问题的 ML 模型，它能在显著短于动态规划基线的运行时间内将带容量约束的车辆路径问题（时间窗）实例的 LP 松弛求解到合理间隙。<sup>[20](https://doi.org/10.1016/j.orp.2025.100364)</sup> 一本 663 页的开放获取 Springer 教科书《Branch-and-Price》，由德罗西耶、吕布克、德索利耶和戈蒂埃撰写，于 2026 年 2 月出版。<sup>[7](https://doi.org/10.1007/978-3-031-96917-1)</sup>

## References

1. [Cynthia Barnhart and colleagues (1998). Branch-and-Price: Column Generation for Solving Huge Integer Programs. Operations Research.](https://doi.org/10.1287/opre.46.3.316)
2. [A Primer in Column Generation (Desrosiers & Lübbecke)](https://or.rwth-aachen.de/files/research/publications/primer.pdf)
3. [Selected Topics in Column Generation (Lübbecke and Desrosiers)](https://optimization-online.org/wp-content/uploads/2002/12/580.pdf)
4. [Luciano Costa, Claudio Contardo, Guy Desaulniers (2019). Exact Branch-Price-and-Cut Algorithms for Vehicle Routing. Transportation Science.](https://doi.org/10.1287/trsc.2018.0878)
5. [Branch and Price for Railway Crew Scheduling: Benchmark Instances and Computational Study (arXiv, 2026)](https://arxiv.org/html/2606.10081v2)
6. [Branch and Price for Bus Driver Scheduling with Complex Break Constraints (AAAI)](https://ojs.aaai.org/index.php/AAAI/article/download/17408/17215)
7. [Jacques Desrosiers and colleagues (2026). Branch-and-Price. .](https://doi.org/10.1007/978-3-031-96917-1)
8. [Branch-and-Price (encyclopedia chapter, Lübbecke et al., RWTH Aachen)](https://www.or.rwth-aachen.de/files/research/publications/branch-and-price.pdf)
9. [Leif H. Appelgren (1969). A Column Generation Algorithm for a Ship Scheduling Problem. Transportation Science.](https://doi.org/10.1287/trsc.3.1.53)
10. [An exact algorithm for IP column generation (Operations Research Letters, 1996)](https://doi.org/10.1016/0167-6377%2896%2900033-8)
11. [A tutorial on Branch-Price-and-Cut algorithms (Petris, Archetti, Cattaruzza, Ogier, Semet, 4OR 23(1):1-52, 2025)](https://hal.science/hal-05453354v1/document)
12. [François Vanderbeck (2000). On Dantzig-Wolfe Decomposition in Integer Programming and ways to Perform Branching in a Branch-and-Price Algorithm. Operations Research.](https://doi.org/10.1287/opre.48.1.111.12453)
13. [François Vanderbeck and colleagues (2026). Coluna.jl: A Branch-Cut-and-Price Framework in Julia. INFORMS journal on computing.](https://doi.org/10.1287/ijoc.2025.1130)
14. [Martin Desrochers, Jacques Desrosiers, Marius Solomon (1992). A New Optimization Algorithm for the Vehicle Routing Problem with Time Windows. Operations Research.](https://doi.org/10.1287/opre.40.2.342)
15. [Stabilized column generation (Discrete Mathematics, 1999)](https://doi.org/10.1016/s0012-365x%2898%2900213-1)
16. [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)
17. [Selective pricing in branch-and-price algorithms for vehicle routing (Desaulniers et al., GERAD slides, 2016)](https://www.gerad.ca/colloques/ColumnGeneration2016/PDF/Desaulniers.pdf)
18. [Roman Václavík and colleagues (2018). Accelerating the Branch-and-Price Algorithm Using Machine Learning. European Journal of Operational Research.](https://doi.org/10.1016/j.ejor.2018.05.046)
19. [Pavlína Koutecká and colleagues (2024). A machine learning approach to rank pricing problems in branch-and-price. European Journal of Operational Research.](https://doi.org/10.1016/j.ejor.2024.07.029)
20. [Abdo Abouelrous and colleagues (2025). Reinforcement learning for solving the pricing problem in column generation for routing. Operations Research Perspectives.](https://doi.org/10.1016/j.orp.2025.100364)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026; Oct 21, 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/branch-and-price

English original: https://www.edgepedia.org/branch-and-price
