二阶微分方程方法求解带不等式约束的优化问题
Second-Order Differential Equation Method for Solving Optimization Problems with Inequality Constraints
摘要: 针对只含有不等式约束的优化问题,本文首先给出了其Karush-Kuhn-Tucker (KKT)条件,并利用光滑互补函数将KKT系统转化为一类光滑的方程组问题;其次,将光滑方程组问题转化为无约束优化问题;最后,本文提出一类二阶微分方程系统求解无约束优化问题,并讨论了二阶微分方程系统的解的稳定性及收敛速度。
Abstract: For optimization problems with only inequality constraints, this paper first presents their Karush-Kuhn-Tucker (KKT) conditions, and uses smooth complementarity functions to transform the KKT system into a class of smooth system of equations problems. Secondly, this article transforms the problem of smooth equation systems into an unconstrained optimization problem. Finally, this article proposes a class of second-order differential equation systems for solving unconstrained optimization problems, and discusses the stability and convergence speed of the solutions of second-order differential equation systems.
文章引用:李思怡, 姜莹, 宁文琪, 任泓燃. 二阶微分方程方法求解带不等式约束的优化问题[J]. 理论数学, 2024, 14(12): 1-6. https://doi.org/10.12677/pm.2024.1412399

1. 引言

在现实世界中,大多数实际问题都是包含约束条件的。例如:在建筑结构设计中,设计师需要在满足建筑安全标准、材料强度限制、建筑空间需求等多种约束条件下,优化结构的设计方案,以实现成本最低或结构性能最优[1] [2];企业在制定生产计划时,需要考虑设备产能、原材料供应、人力成本、生产周期等约束条件,以实现生产效益的最大化;物流配送过程中,需要考虑车辆的载重限制、行驶路线的交通状况、配送时间要求等约束条件,以优化物流配送方案,降低运输成本等等[3] [4]。因此,约束优化问题在很多领域都有着广泛的应用,近年来备受学者们的关注[5]-[7]

本文考虑带不等式约束的优化问题:

minf( x ) s.t.x R n g( x )0 (1)

其中 f: R n R g: R n R m 都是连续可微的, R n 表示为n维实向量空间。

本文将应用一类二阶微分方程方法求解约束优化问题。早期工作Arrow与Hurwicz [8],应用微分方程研究了优化问题的最优性条件。Antipin [9]应用一阶微分方程方法研究了一类双约束变分不等式问题,并证明了算法的全局收敛性。Attouch [10] [11]应用二阶微分方程方法求解了凸优化问题。Evtushenko与Zhadan [12]-[14]对额二阶微分方程方法进行了系统的讨论和研究。微分方程方法的主要思想是,将原问题转化为无约束最小值问题,然后针对最小值问题构造相应的一阶或者二阶微分方程系统,讨论微分方程系统的解的稳定性。本文给出了一类带不等式约束的优化问题,应用一类光滑互补函数将带不等式约束的优化问题的KKT系统转化为最小值问题,从而构造出相应的二阶微分方程系统,为约束优化问题的方法研究提供思路。

2. 问题的转化

带不等式约束的优化问题(1)的Karush-Kuhn-Tucker (KKT)条件为:

L( x,λ )=f( x )+g( x )λ=0 g( x )λ (2)

其中, L( x,λ ) 是约束优化问题的Lagrange函数, f( x ) g( x ) 分别是函数fg的梯度, λ R m 是拉格朗日乘子。

为了将KKT条件(2)转化为光滑方程组问题,本文借助文献[15]中的光滑互补函数

ϕ NR ε ( a,b )=aφ( ε,ab )

其中

φ( ε,ab )= 1 2 [ ab+ ε 2 + ( ab ) 2 ]

ε R + a,b R + ϕ:R×RR 满足 ϕ( a,b )=0 当且仅当 ab=0

由此,带不等式约束的优化问题(1)的KKT条件(2)可以转化下面光滑方程组问题

H( ε,x,λ )=( ε L( x,λ ) ϕ NR ε ( g 1 ( x ), λ 1 ) ϕ NR ε ( g m ( x ), λ m ) )=0 (3)

其中, g i ( x ), λ i R + 分别是 g( x ),λ 的分量。

θ( ε,x,λ )= 1 2 H T ( ε,x,λ )H( ε,x,λ ) = 1 2 H( ε,x,λ ) 2

则光滑方程组(3)与下面无约束优化问题(4)同解。

minθ( z )=min 1 2 H( z ) 2 (4)

其中 z=( ε,x,λ )

3. 二阶微分方程系统

本文应用具有阻尼惯性系数 γ( t ) 和时间缩放参数 β( t ) 的二阶微分方程系统(DIN-AVD) [11]

z ¨ ( t )+ α t z ˙ ( t )+β 2 θ( z( t ) ) z ˙ ( t )+θ( z( t ) )=0 (5)

来求解无约束优化问题(4),其中 γ( t ) β( t ) [ t 0 ,+ ) 上非负连续函数。

从而,建立与无约束优化问题所对应的二阶微分方程系统

( ε ¨ ( t ) x ¨ ( t ) λ ¨ ( t ) )+ α t ( ε ˙ ( t ) x ˙ ( t ) λ ˙ ( t ) )+β 2 θ( ε( t ) x( t ) λ( t ) )( ε ˙ ( t ) x ˙ ( t ) λ ˙ ( t ) )+( ε H T ( z )H( z ) x H T ( z )H( z ) λ H T ( z )H( z ) )=0 (6)

下面,分析二阶微分方程系统(6)沿轨迹值的收敛速度。假设 α3 z * argminθ 。设z是(6)的解,则 z( t ) z * ( t ) 。对于 η[ 2,α1 ] 我们定义函数 Ε η ( t ):[ t 0 ,+ )R

Ε η ( t )=t( tβ( η+2α ) )( θ( z( t ) )minθ )+ 1 2 η( z( t ) z * )+t u ˙ β ( t ) 2             +η( αη1 ) 1 2 z( t ) z * 2 (7)

其中, u ˙ β ( t )= z ˙ ( t )+βθ( z( t ) ) 。下面,讨论 d dt Ε η ( t ) 的表达式。

d dt [ t( tβ( η+2α ) )( θ( z( t ) )minθ ) ]=( 2tβ( η+2α ) )( θ( z( t ) )minθ )                                                                       +t( tβ( η+2α ) ) z ˙ ( t ),θ( z( t ) )

d dt 1 2 η( z( t ) z * )+t u ˙ β ( t ) 2 = η( z( t ) z * )+t u ˙ β ( t ),η z ˙ ( t )+ u ˙ β ( t )+t u ¨ β ( t ) = η( z( t ) z * )+t u ˙ β ( t ),( η+1α ) z ˙ ( t )( tβ )θ( z( t ) ) =η( η+1α ) z( t ) z * , z ˙ ( t ) t( αη1 ) z ˙ ( t ) 2   βt( tβ ) θ( z( t ) ) 2 η( tβ ) z( t ) z * ,θ( z( t ) )   t( tβ( η+2α ) ) z ˙ ( t ),θ( z( t ) )

d dt η( αη1 ) 1 2 z( t ) z * 2 =η( αη1 ) z( t ) z * , z ˙ ( t )

因此,

d dt Ε η ( t )=( 2tβ( η+2α ) )( θ( z( t ) )minθ )η( tβ ) z( t ) z * ,θ( z( t ) )                  t( αη1 ) z ˙ ( t ) 2 βt( tβ ) θ( z( t ) ) 2

由于 z( t ) z * ,Ψ( z( t ) ) Ψ( z( t ) )Ψ( z * ) ,当 tmax{ t 0 ,β } ,我们得到

d dt Ε η ( t )( ( η2 )tβ( α2 ) )( θ( z( t ) )minθ )t( αη1 ) z ˙ ( t ) 2                  βt( tβ ) θ( z( t ) ) 2 (8)

由定义可知函数 Ε η 是非负的。对于不等式(8):如果 η>2 ,当 t t 1 =max{ t 0 ,β, β( α2 ) η2 } 时,有 ( η2 )tβ( α2 )0 。由 αη10 ηα1 。因此有 2<ηα1 α>3 。其极限情况 η=2 (结果为 α=3 )定理3.1也包含。当 tβ 时有 βt( tβ )0 。综上可得,若 η( 2,α1 ] ,可推导出 Ε η [ t 1 ,+ ) 上是非递增的且 lim t+ Ε η ( t ) 存在。

定理3.1 α3 argminθφ ,设 z:[ t 0 ,+ )R 是(6)的解,若 η[ 2,α1 ] ,则函数

t ( t tβ ) α2 Ε η ( t )

是非递增的且 lim t+ Ε η ( t ) 存在。

证明:设 t>max{ t 0 ,β } ,由(8)可得

d dt Ε η ( t )β( α2 )( θ( z( t ) )minθ ) (9)

在式(9)两边同时乘以 t( tβ ) ,由 λ+2α1 ,得

t( tβ ) d dt Ε η ( t )β( α2 )t( tβ )( θ( z( t ) )minθ ) β( α2 )t( tβ( η+2α ) )( θ( z( t ) )minθ ) β( α2 ) Ε η ( t ) (10)

将(10)两边同时乘以 t α3 ( tβ ) 1α ,得

( t tβ ) α2 d dt Ε η ( t )β( α2 ) t α3 ( tβ ) α1 Ε η ( t )

进一步得

d dt [ ( t tβ ) α2 Ε λ ( t ) ]0

因此, ( t tβ ) α2 Ε η ( t ) 是非递增的。由 Ε η 的非负性,当 t+ 时,其极限存在。

定理3.2 α>3 argminθϕ ,设 z:[ t 0 ,+ )R 是(6)的解,则z有界。同时,设 η[ 2,α1 ] t 1 =max{ t 0 ,β } ,对于所有的 ts> t 1 ,我们有

θ( z( t ) )minθ 1 t 2 ( s sβ ) α2 Ε η ( s )=Ο( t 2 )

证明:取 η[ 2,α1 ] ,由 Ε η 的定义,有

1 2 λ( z( t ) z * )+t( z ˙ ( t )+βθ( z( t ) ) ) 2 Ε η ( t ) (11)

根据定理3.1,有 lim t+ Ε η ( t ) 存在,令M Ε η 的上界。将(11)左侧的平方项展开,有

λ 2 1 2 z( t ) z * 2 +λt z( t ) z * , z ˙ ( t ) +λt z( t ) z * ,βΨ( z( t ) ) + t 2 1 2 z ˙ ( t )+βΨ( z( t ) ) 2 M (12)

由此可以推导出

η 1 2 z( t ) z * 2 +t z( t ) z * , z ˙ ( t ) M η (13)

h( t )= 1 2 z( t ) z * 2 ,式(13)两边同时乘 t λ1 ,可以得到

η t η1 h( t )+ t η h ˙ ( t )= d dt ( t η h( t ) ) M η t η1 (14)

将(14)两边从 t 1 t> t 1 进行求定积分,得到

t η h( t ) t 1 η h( t 1 ) M η 2 ( t η t 1 η )

因此

h( t )h( t 1 )+ M η 2

因此h是有界的。有 Ε η 的定义,有

θ( z( t ) )minθ Ε η ( t ) t( tβ( η+2α ) ) Ε η ( t ) t( tβ )

由定理3.1,函数 ( t tβ ) α2 Ε λ ( t ) 是非递增的。因此,当 ts> t 1 时,可以推出

θ( z( t ) )minθ 1 t( tβ ) ( tβ t ) α2 ( s sβ ) α2 Ε η ( s ) 1 t 2 ( tβ t ) α3 ( s sβ ) α2 Ε η ( s ) 1 t 2 ( s sβ ) α2 Ε η ( s )

由此定理3.2得证。

4. 结论

本文应用一类光滑互补函数(NR函数),将带不等式约束的优化问题的KKT条件转化为一个无约束优化问题。基于无约束优化问题,本文构造了一个二阶微分方程系统,说明了二阶微分方程系统的解收敛到无约束最优化问题,并通过讨论二阶微分方程系统的解稳定性理论,说明了其解的收敛速度。本文基于约束优化问题的理论研究,为约束优化问题的求解方法提供思路。

参考文献

[1] 蓝倜恩. 优化技术在土建结构设计中的应用[J]. 建筑结构学报, 1981, 2(6): 12-19.
[2] 孙芳垂. 建筑结构优化设计案例分析[M]. 北京: 中国建筑工业出版社, 2011.
[3] 常剑峰, 钟约先, 韩赞东. 制造系统中能力约束下的生产批量计划优化方法[J]. 清华大学学报: 自然科学版, 2004, 44(5): 605-608.
[4] 肖依永, 常文兵, 张人千. 能力与资源双重约束下的启发式组合生产计划研究[J]. 中国管理科学, 2008, 16(6): 33-40.
[5] 周珩. RICU异常行为患者身体约束优化流程应用效果观察[J]. 护理学, 2022, 11(2): 213-217.
[6] 钱立泽. 树种算法改进及其求解实际约束优化问题应用[D]: [硕士学位论文]. 长春: 吉林财经大学, 2022.
[7] 黄文, 陈建恒, 郭媛媛, 等. 黎曼流形上的无约束优化及其应用[J]. 厦门大学学报(自然科学版), 2023, 62(6): 1012-1038.
[8] Arrow, K.J. and Hurwicz, L. (1956) Reduction of Constrained Maxima to Saddle-Point Problems. Berkeley Symposium on Mathematical Statistics and Probability, 3, 1-20.
[9] Antipin, A.S. (2000) Solving Variational Inequalities with Coupling Constraints with the Use of Differential Equations. Differential Equations, 36, 1587-1596.
https://doi.org/10.1007/bf02757358
[10] Attouch, H., Chbani, Z. and Riahi, H. (2019) Fast Proximal Methods via Time Scaling of Damped Inertial Dynamics. SIAM Journal on Optimization, 29, 2227-2256.
https://doi.org/10.1137/18m1230207
[11] Attouch, H. and Cabot, A. (2017) Asymptotic Stabilization of Inertial Gradient Dynamics with Time-Dependent Viscosity. Journal of Differential Equations, 263, 5412-5458.
https://doi.org/10.1016/j.jde.2017.06.024
[12] Extushenko, Y. (1974) Two Numerical Methods of Solving Nonlinear Programming. Doklady Mathematics, 15, 420-423.
[13] Evtushenko, Y.G. and Zhadan, V.G. (1973) Numerical Methods of Solving Some Operational Research Problems. USSR Computational Mathematics and Mathematical Physics, 13, 56-77.
https://doi.org/10.1016/0041-5553(73)90100-6
[14] Evtushenko, Y.G. and Zhadan, V.G. (1977) A Relaxation Method for Solving Problems of Non-Linear Programming. USSR Computational Mathematics and Mathematical Physics, 17, 73-87.
https://doi.org/10.1016/0041-5553(77)90105-7
[15] Sun, J., Fu, W., Alcantara, J.H. and Chen, J. (2021) A Neural Network Based on the Metric Projector for Solving SOCCVI Problem. IEEE Transactions on Neural Networks and Learning Systems, 32, 2886-2900.
https://doi.org/10.1109/tnnls.2020.3008661