For faster navigation, this Iframe is preloading the Wikiwand page for 二次规划.

二次规划

此條目需要精通或熟悉数学的编者参与及协助编辑。請邀請適合的人士改善本条目。更多的細節與詳情請參见討論頁。另見其他需要数学專家關注的頁面

二次规划Quadratic programming),在运筹学当中,是一种特殊类型的最优化问题。

簡介

[编辑]

一個有n個變數與m個限制的二次規劃問題可以用以下的形式描述。首先給定:

  • 一個 維的向量
  • 一個 維的對稱矩陣
  • 一個 維的矩陣
  • 一個 維的向量

則此二次規劃問題的目標即是在限制條件為

的條件下,找一個n 維的向量 x ,使得

為最小。其中的转置。

根據不同的參數特性,可以得到對問題不同的結論

  • 如果Q是半正定矩阵,那么f(x)是一个凸函数。相应的二次规划为凸二次规划问题;此时若约束条件定义的可行域不为空,且目标函数在此可行域有下界,则该问题有全局最小值。
  • 如果Q是正定矩阵,则该问题有唯一的全局最小值。
  • 若Q为非正定矩阵,则目标函数是有多个平稳点和局部极小点的NP问题
  • 如果Q=0,二次规划问题就变成线性规划问题。

根据优化理论,一个点x成为全局最小值的必要条件是满足Karush-Kuhn-Tucker条件(KKT)。当f(x)是凸函数时,KKT条件也是充分条件。

当二次规划问题只有等式约束时,二次规划可以用线性方程求解。否则的话,常用的二次规划解法有:

  • 内点法(interior point)
  • active set
  • 共轭梯度法
  • 椭球法 若Q为正定矩阵,则相应的二次规划问题可由椭球法在多项式时间内求解。
  • 增广拉格朗日法
  • 梯度投影法

凸集二次规划问题是凸优化问题的一个特例。

对偶

[编辑]

每个二次规划问题的对偶问题也是二次规划问题。以正定矩阵Q为例:

对偶问题,可定义为

可用:得到的极小

,

对偶函数:

对偶问题为:

maximize :

subject to :

计算复杂性

[编辑]

当Q正定时,用椭圆法可在多项式时间内解二次规划问题。当Q非正定时,二次规划问题是NP困难的。即使Q只存在一个负特征值时,二次规划问题也是NP困难的。 [1] [2]

参考文献

[编辑]
  1. ^ Sahni, S. Computationally related problems (PDF). SIAM Journal on Computing. 1974, 3 (4): 262–279 [2022-09-07]. CiteSeerX 10.1.1.145.8685可免费查阅. doi:10.1137/0203021. (原始内容 (PDF)存档于2022-04-26). 
  2. ^ Pardalos, Panos M.; Vavasis, Stephen A. Quadratic programming with one negative eigenvalue is (strongly) NP-hard. Journal of Global Optimization. 1991, 1 (1): 15–22. S2CID 12602885. doi:10.1007/bf00120662. 
{{bottomLinkPreText}} {{bottomLinkText}}
二次规划
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?