# 锥规划

锥规划是一种优化方法，它在满足线性方程 \( Ax=b \) 以及变量 \( x \) 位于闭凸锥 \( K \) 中的要求下，最小化线性目标 \( c^{\mathsf T} x \)。<sup>[1](https://epubs.siam.org/doi/10.1137/1.9780898718812.ch3)</sup><sup> • </sup><sup>[2](https://www.numdam.org/item/10.1051/ro/2018034.pdf)</sup> 锥的选择决定问题类别：非负象限给出线性规划（LP），洛伦兹锥或二阶锥给出二阶锥规划（SOCP），半定锥给出半定规划（SDP），共正锥给出共正规划。<sup>[3](https://www.sciencedirect.com/science/article/pii/S2192440621001489)</sup><sup> • </sup><sup>[4](https://www.mit.edu/~gfarina/2024/67220s24_L06_conic_optimization/L06.pdf)</sup> 仅仅三族锥——非负象限、洛伦兹锥和半定锥——就已经表示极其广泛的凸规划，而且任何凸优化问题原则上都可以写成锥形式。<sup>[5](https://www2.isye.gatech.edu/~nemirovs/ICMNemirovski.pdf)</sup><sup> • </sup><sup>[3](https://www.sciencedirect.com/science/article/pii/S2192440621001489)</sup>

| 关键事实 | 细节 |
|---|---|
| 标准形式 | 最小化 \( c^{\mathsf T} x \)，约束为 \( Ax=b \)、\( x \in K \)，其中 \( K \) 通常是若干较小锥的乘积<sup>[6](https://docs.mosek.com/modeling-cookbook/duality.html)</sup> |
| 特例 | 非负象限给出 LP；洛伦兹锥的乘积给出 SOCP；半正定锥给出 SDP<sup>[1](https://epubs.siam.org/doi/10.1137/1.9780898718812.ch3)</sup> |
| 对偶锥 | \( K^{*} = \{ y: y^{\mathsf T} x \ge 0 \text{ 对所有 } x \in K \} \)；锥规划问题的对偶仍是锥规划问题<sup>[6](https://docs.mosek.com/modeling-cookbook/duality.html)</sup> |
| 强对偶 | Slater条件，即存在 \( K \) 内部的一个可行点，在原问题值有限时保证原问题与对偶问题最优值相等<sup>[6](https://docs.mosek.com/modeling-cookbook/duality.html)</sup> |
| 迭代复杂度 | 使用 \( \vartheta \)-自和谐障碍的路径跟踪方法需要 \( O(\vartheta^{1/2} \ln(\vartheta/\varepsilon)) \) 个牛顿型步达到精度 \( \varepsilon \)<sup>[5](https://www2.isye.gatech.edu/~nemirovs/ICMNemirovski.pdf)</sup> |
| 无单纯形法的对应方法 | 对于一般锥优化，特别是 SOCP 或 SDP，尚无已知的、与单纯形法相对应的有效方法<sup>[2](https://www.numdam.org/item/10.1051/ro/2018034.pdf)</sup> |
| 实际规模 | 内点法代码可在个人计算机上可靠求解 \( n \) 达数百、\( m \) 达数千的 SDP；MOSEK 报告过一个变量数超过 50 万的 SOCP<sup>[7](https://zhengy09.github.io/ECE285/lectures/L5.pdf)</sup><sup> • </sup><sup>[2](https://www.numdam.org/item/10.1051/ro/2018034.pdf)</sup> |

## 工作原理

标准形式的锥规划问题在 \( Ax=b \)、\( x \in K \) 上最小化 \( c^{\mathsf T} x \)。其对偶锥为 \( K^{*} = \{ y: y^{\mathsf T} x \ge 0 \text{ 对所有 } x \in K \} \)，锥对偶问题在 \( c - A^{\mathsf T} y = s \)、\( s \in K^{*} \) 下最大化 \( b^{\mathsf T} y \)；每一组对偶可行变量 \( (y,s) \) 都给出原问题最优值的一个下界。<sup>[6](https://docs.mosek.com/modeling-cookbook/duality.html)</sup> 弱对偶性对所有闭凸锥上的锥规划问题成立。<sup>[8](https://cs.uwaterloo.ca/~watrous/QIT-notes/QIT-notes.01.pdf)</sup> Slater条件，即存在 \( K \) 内部的一个可行点，在原问题最优值有限时保证强对偶性；而两个问题都严格可行意味着两个最优值都能取到。<sup>[6](https://docs.mosek.com/modeling-cookbook/duality.html)</sup> 锥Farkas引理给出不可行性证书：一个问题不可行，当且仅当存在某个 \( y \) 满足 \( -A^{\mathsf T} y \in K^{*} \) 且 \( b^{\mathsf T} y > 0 \)。<sup>[6](https://docs.mosek.com/modeling-cookbook/duality.html)</sup> 二次锥、旋转二次锥和半定锥是自对偶的，而指数锥不是，这对算法有不利影响。<sup>[6](https://docs.mosek.com/modeling-cookbook/duality.html)</sup><sup> • </sup><sup>[9](https://www.zib.de/userpage/sagnol/uploads/cvx/chapter6_conic_programming.pdf)</sup> 没有严格可行性时，对偶性可能失效：可能出现正间隙，最优值可能取不到，求解器可能不终止，或返回没有有用意义的解。<sup>[3](https://www.sciencedirect.com/science/article/pii/S2192440621001489)</sup><sup> • </sup><sup>[4](https://www.mit.edu/~gfarina/2024/67220s24_L06_conic_optimization/L06.pdf)</sup>

## 如何实现

主流算法是基于自和谐障碍的原对偶内点法。使用 \( \vartheta \)-自和谐障碍的路径跟踪方法，在 \( O(\vartheta^{1/2} \ln(\vartheta/\varepsilon)) \) 个牛顿型步内将有界凸域上的线性函数最小化到精度 \( \varepsilon \)。<sup>[5](https://www2.isye.gatech.edu/~nemirovs/ICMNemirovski.pdf)</sup> 涅斯捷罗夫（Nesterov）和涅米罗夫斯基（Nemirovski）证明任何凸问题都容许一个自和谐障碍，但这纯粹是存在性结果；实际适用性限于具有计算上可处理的障碍的锥。<sup>[10](https://www.cambridge.org/core/journals/acta-numerica/article/abs/interiorpoint-methods-for-optimization/F6097FE6068CB228A724F28C3E3814A1)</sup> 当锥是自缩放锥时，如在 LP、SOCP 和 SDP 中，原对偶方法发挥全部威力。<sup>[10](https://www.cambridge.org/core/journals/acta-numerica/article/abs/interiorpoint-methods-for-optimization/F6097FE6068CB228A724F28C3E3814A1)</sup> 对于不可行性检测，求解器使用带标量变量 \( \tau \) 和 \( \kappa \) 的齐次自对偶嵌入：\( \tau^{*} > 0 \) 给出最优解，而 \( \kappa^{*} > 0 \) 给出原问题或对偶问题不可行的证书；MOSEK 的锥优化器是该算法的一个实现。<sup>[11](https://docs.mosek.com/latest/cmdtools/solving-conic.html)</sup>

用户很少手工写锥标准形式。由迈克尔·格兰特（Michael Grant）、斯蒂芬·博伊德（Stephen Boyd）和叶荫宇（Yinyu Ye）于2006年提出的规范凸规划（DCP），将表达式限制为具有已知曲率和单调性的原子函数的复合，从而可以自动验证凸性。<sup>[12](https://doi.org/10.1007/0-387-30528-9_7)</sup> 随后规范化通过三个步骤将问题转换为求解器兼容的形式：通过 Smith 形式提升、松弛，以及用编码其图实现的锥约束替换每个非线性原子。<sup>[13](https://web.stanford.edu/~boyd/papers/pdf/cvxpy_rewriting.pdf)</sup> 建模系统包括 CVX（Matlab）、CVXOPT（Python）、JuMP（Julia）、YALMIP 和 PICOS，它们将问题分派给 ECOS、MOSEK、SeDuMi、SDPT3、SCS 和 Clarabel 等求解器；PICOS 原生地将 \( x^{2.7} \le t \) 这类约束重新表述为 SOC 约束。<sup>[2](https://www.numdam.org/item/10.1051/ro/2018034.pdf)</sup><sup> • </sup><sup>[9](https://www.zib.de/userpage/sagnol/uploads/cvx/chapter6_conic_programming.pdf)</sup>

## 起源

该领域的起点是第一个线性规划的多项式时间内点法；其声称在实际中优于单纯形法，使这项工作引起轰动，并开启了后来所称的“内点革命”。<sup>[14](https://doi.org/10.1137/1.9781611970791)</sup><sup> • </sup><sup>[5](https://www2.isye.gatech.edu/~nemirovs/ICMNemirovski.pdf)</sup> 将内点理论推广到非多面体锥，导致了尤里·涅斯捷罗夫（Yurii Nesterov）和阿尔卡季·涅米罗夫斯基（Arkadii Nemirovskii）1994年由 SIAM 出版的书《凸规划中的内点多项式算法》（*Interior-Point Polynomial Algorithms in Convex Programming*）中的多项式时间内点法一般理论；该书引入了自和谐函数与障碍，以及具有完全对称对偶性的锥形式。<sup>[14](https://doi.org/10.1137/1.9781611970791)</sup><sup> • </sup><sup>[5](https://www2.isye.gatech.edu/~nemirovs/ICMNemirovski.pdf)</sup> 独立地，法里德·阿里扎德（Farid Alizadeh）开发了一种高效的半定规划内点法，于1995年发表在《SIAM优化杂志》（*SIAM Journal on Optimization*）上，其动机来自组合优化的强界。<sup>[15](https://doi.org/10.1137/0805002)</sup><sup> • </sup><sup>[10](https://www.cambridge.org/core/journals/acta-numerica/article/abs/interiorpoint-methods-for-optimization/F6097FE6068CB228A724F28C3E3814A1)</sup> 后来的工作将该框架推广到具有可处理障碍的任意锥，如克里斯·科伊（Chris Coey）、莉亚·卡佩莱维奇（Lea Kapelevich）和胡安·巴勃罗·别尔马（Juan Pablo Vielma）于2020年推出的 Hypatia 求解器。<sup>[16](https://optimization-online.org/wp-content/uploads/2020/05/7776.pdf)</sup>

## 变体

这些命名的锥构成一个表达能力层级。每个线性规划都可归约为二次规划，每个 QP 都可归约为 SOCP，每个 SOCP 都可归约为 SDP，因此 SDP 包含 LP 和 SOCP；例如，\( t \ge \|x\|_2 \) 成立，当且仅当以 \( t \)、\( x \) 为元素的块矩阵是半正定的。<sup>[13](https://web.stanford.edu/~boyd/papers/pdf/cvxpy_rewriting.pdf)</sup><sup> • </sup><sup>[4](https://www.mit.edu/~gfarina/2024/67220s24_L06_conic_optimization/L06.pdf)</sup> 在实践中，将 SOCP 表述为 SDP 往往不是好主意，因为专门的 SOCP 算法每次迭代成本更低。<sup>[9](https://www.zib.de/userpage/sagnol/uploads/cvx/chapter6_conic_programming.pdf)</sup><sup> • </sup><sup>[17](https://web.stanford.edu/~boyd/papers/pdf/socp.pdf)</sup> 洛伦兹锥 \( L_n = \{(x_0, x): x_0 \ge \|x\|_2\} \) 处理范数约束和具有椭球不确定集的鲁棒优化，而具有有理数 \( p \) 的 \( p \) 阶锥可归约为 SOCP。<sup>[3](https://www.sciencedirect.com/science/article/pii/S2192440621001489)</sup> 指数锥 \( \mathrm{cl}\{(x,y,z): y > 0,\ y e^{x/y} \le z\} \) 给出相对熵和几何规划的锥表示，幂锥则建模 \( p \) 范数。<sup>[9](https://www.zib.de/userpage/sagnol/uploads/cvx/chapter6_conic_programming.pdf)</sup><sup> • </sup><sup>[18](https://jump.dev/JuMP.jl/stable/tutorials/conic/tips_and_tricks/)</sup> 在最困难的一端，检查完全正锥的成员资格是 NP 难的，检查共正性是 co-NP 完全的，因此这些锥通过 LP、SOCP 或 SDP 近似来使用。<sup>[3](https://www.sciencedirect.com/science/article/pii/S2192440621001489)</sup> 在标准锥之外，异类锥是具有高效对数齐次自和谐障碍 oracle 的正常锥；使用异类锥的自然表述，其维数远小于标准锥上的等价扩展表述。<sup>[16](https://optimization-online.org/wp-content/uploads/2020/05/7776.pdf)</sup>

## 应用

SOCP 直接服务于工程设计：滤波器设计、天线阵列权重设计、桁架设计，以及机器人学中的抓取力优化，此外还有金融中的投资组合优化；鲁棒线性规划和鲁棒最小二乘问题可重新表述为 SOCP。<sup>[17](https://web.stanford.edu/~boyd/papers/pdf/socp.pdf)</sup> 在组合优化中，米歇尔·X·戈曼斯（Michel X. Goemans）和大卫·P·威廉姆森（David P. Williamson）1995年对最大割的 SDP 松弛，对于非负边权的图具有约87%的性能保证，因为 SDP 值最多比真实最优值高13.83%。<sup>[19](https://doi.org/10.1145/227683.227684)</sup><sup> • </sup><sup>[3](https://www.sciencedirect.com/science/article/pii/S2192440621001489)</sup> 让·B·拉塞尔（Jean B. Lasserre）2001年的矩/SDP 层级，以及哈尼夫·D·谢拉利（Hanif D. Sherali）和沃伦·P·亚当斯（Warren P. Adams）1990年的层级，为多项式问题和零一问题提供多项式可解的松弛。<sup>[20](https://doi.org/10.1137/s1052623400366802)</sup><sup> • </sup><sup>[21](https://doi.org/10.1137/0403036)</sup> 核范数，即奇异值之和，可以写成带有 \( Y+X \succeq 0 \) 和 \( Y-X \succeq 0 \) 的 SDP，从而实现核范数矩阵补全。<sup>[7](https://zhengy09.github.io/ECE285/lectures/L5.pdf)</sup>

## 局限与替代方法

内点法中的牛顿系统在迭代接近最优解时变得病态，因此没有合适的预处理时，迭代线性求解会失败。<sup>[22](https://www.pure.ed.ac.uk/ws/portalfiles/portal/493234164/paperFinal.pdf)</sup> 几乎所有未求解到约 1e-7 的保证精度的问题都已知是不适定的，这与真正不可行有区别。<sup>[23](https://vsdp.github.io/vsdp-2020/s09_numerical_results.html)</sup> 当可行集位于锥的非平凡面中时，会出现对偶间隙和不可达，这是区分一般锥优化与 LP 的一种失效模式。<sup>[3](https://www.sciencedirect.com/science/article/pii/S2192440621001489)</sup><sup> • </sup><sup>[4](https://www.mit.edu/~gfarina/2024/67220s24_L06_conic_optimization/L06.pdf)</sup> 在 SOCP 和 SDP 中难以利用稀疏性，热启动困难，甚至 SDP 的精确可行性检验也不知道是否可在多项式时间内求解。<sup>[2](https://www.numdam.org/item/10.1051/ro/2018034.pdf)</sup> 与 LP 相比，锥规划以实际计算成本换取建模能力：没有与单纯形法相对应的方法，且 SDP 内点法每次迭代成本为 \( O(n^3) \)；与一般非线性规划相比，应用于非凸问题的内点法提供的保证更弱，最好也只是收敛到局部最优。<sup>[2](https://www.numdam.org/item/10.1051/ro/2018034.pdf)</sup><sup> • </sup><sup>[22](https://www.pure.ed.ac.uk/ws/portalfiles/portal/493234164/paperFinal.pdf)</sup>

## References

1. [A Mathematical View of Interior-Point Methods in Convex Optimization, Ch. 3: Conic Programming and Duality (Renegar, SIAM 2001)](https://epubs.siam.org/doi/10.1137/1.9780898718812.ch3)
2. [A guide to conic optimisation and its applications (RAIRO Operations Research)](https://www.numdam.org/item/10.1051/ro/2018034.pdf)
3. [Conic optimization: A survey with special focus on copositive optimization and binary quadratic problems](https://www.sciencedirect.com/science/article/pii/S2192440621001489)
4. [Lecture 6: Conic optimization (MIT 6.7220, Spring 2024)](https://www.mit.edu/~gfarina/2024/67220s24_L06_conic_optimization/L06.pdf)
5. [Advances in Convex Optimization: Conic Programming (Nemirovski survey)](https://www2.isye.gatech.edu/~nemirovs/ICMNemirovski.pdf)
6. [MOSEK Modeling Cookbook 3.4.0, Duality in conic optimization](https://docs.mosek.com/modeling-cookbook/duality.html)
7. [Lecture 5: Conic programming (Zheng, ECE 285/289)](https://zhengy09.github.io/ECE285/lectures/L5.pdf)
8. [Conic programming (John Watrous, QIT lecture notes)](https://cs.uwaterloo.ca/~watrous/QIT-notes/QIT-notes.01.pdf)
9. [Chapter VI: Conic Programming (lecture notes, ZIB)](https://www.zib.de/userpage/sagnol/uploads/cvx/chapter6_conic_programming.pdf)
10. [Interior-point methods for optimization (Forsgren, Gill, Wright, Acta Numerica 2008)](https://www.cambridge.org/core/journals/acta-numerica/article/abs/interiorpoint-methods-for-optimization/F6097FE6068CB228A724F28C3E3814A1)
11. [8.3 Conic Optimization - Interior-point optimizer, MOSEK Command Line Tools 11.2.4](https://docs.mosek.com/latest/cmdtools/solving-conic.html)
12. [Michael Grant, Stephen Boyd, Yinyu Ye (2006). Disciplined Convex Programming. Kluwer Academic Publishers eBooks.](https://doi.org/10.1007/0-387-30528-9_7)
13. [A rewriting system for convex optimization problems (CVXPY paper)](https://web.stanford.edu/~boyd/papers/pdf/cvxpy_rewriting.pdf)
14. [Yurii Nesterov, Arkadii Nemirovskii (1994). Interior-Point Polynomial Algorithms in Convex Programming. Society for Industrial and Applied Mathematics eBooks.](https://doi.org/10.1137/1.9781611970791)
15. [Farid Alizadeh (1995). Interior Point Methods in Semidefinite Programming with Applications to Combinatorial Optimization. SIAM Journal on Optimization.](https://doi.org/10.1137/0805002)
16. [Towards practical generic conic optimization (Hypatia; Coey, Kapelevich, Vielma)](https://optimization-online.org/wp-content/uploads/2020/05/7776.pdf)
17. [Applications of second-order cone programming (Lobo, Vandenberghe, Boyd, Lebret), Linear Algebra and its Applications 284 (1998) 193–228](https://web.stanford.edu/~boyd/papers/pdf/socp.pdf)
18. [Modeling with cones, JuMP documentation](https://jump.dev/JuMP.jl/stable/tutorials/conic/tips_and_tricks/)
19. [Michel X. Goemans, David P. Williamson (1995). Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. Journal of the ACM.](https://doi.org/10.1145/227683.227684)
20. [Jean B. Lasserre (2001). Global Optimization with Polynomials and the Problem of Moments. SIAM Journal on Optimization.](https://doi.org/10.1137/s1052623400366802)
21. [Hanif D. Sherali, Warren P. Adams (1990). A Hierarchy of Relaxations between the Continuous and Convex Hull Representations for Zero-One Programming Problems. SIAM Journal on Discrete Mathematics.](https://doi.org/10.1137/0403036)
22. [Interior point methods in the era of machine learning and beyond (Gondzio)](https://www.pure.ed.ac.uk/ws/portalfiles/portal/493234164/paperFinal.pdf)
23. [Numerical Results, VSDP 2020 manual](https://vsdp.github.io/vsdp-2020/s09_numerical_results.html)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Oct 15, 2026 · Last review: Sep 30, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/conic-programming

English original: https://www.edgepedia.org/conic-programming
