NLPOpt-Net:一种具有可行性保证的非线性优化学习方法
NLPOpt-Net: A Learning Method for Nonlinear Optimization with Feasibility Guarantees
AI总结:
NLPOpt-Net通过结合神经网络与投影结构,解决约束非线性优化问题,确保约束满足并提升求解效率。
摘要:
NLPOpt-Net是一种非线性优化学习方法,通过结合神经网络与投影结构,解决受约束的非线性优化问题。该方法利用神经网络通过修改后的拉格朗日函数和一致性损失函数驱动优化过程,同时通过多层投影结构确保约束满足。投影部分采用局部二次近似来逼近原始非线性优化问题,在某些条件下(如凸性)具有下降性质,进一步提升神经网络的预测效果。NLPOpt-Net采用无反向传播的修改版Chambolle-Pock算法求解约束二次投影,并利用隐函数定理实现高效的反向传播。投影结构的固定特性允许在训练完成后将神经网络与投影部分解耦。NLPOpt-Net能够高效解决大规模凸二次规划、二次约束二次规划、非线性规划及非凸问题,优化间隙接近零,约束违反程度降低至机器精度。此外,它还能够提供接近准确的活跃集预测和对应的对偶变量,从而实现多参数编程的可扩展方法。将投影部分编译为C语言可将推理时间提升一个数量级,相比JAX。我们提供了代码和NLPOpt-Net作为可直接使用的包,包含GPU支持。
英文摘要:
Nonlinear Parametric Optimization Network (NLPOpt-Net) is an unsupervised learning architecture to solve constrained nonlinear programs (NLP). Given the structure of an NLP, it learns the parametric solution maps with guaranteed constraint satisfaction. The architecture consists of a backbone neural network (NN) followed by a multilayer ($k$-layered) projection. While the NN drives toward optimality through a loss function consisting of a modified Lagrangian augmented with a consistency loss, the projection ensures feasibility by projecting the NN predictions in the original constraint manifold. Instead of typical distance minimization, our projection exploits local quadratic approximations of the original NLP. Under certain conditions (such as convexity), the projection has a descent property, which improves the NN predictions further. NLPOpt-Net deploys an inversion-free, modified Chambolle-Pock algorithm to solve the constrained quadratic projections during the forward pass and uses the implicit function theorem for efficient backpropagation. The fixed structure of the projection further allows decoupling of the NN and the projection once the training is complete. NLPOpt-Net solves large-scale convex QP, QCQP, NLP, and nonconvex problems with near zero optimality gap and constraint violations reduced to machine precision. Additionally, it provides near accurate prediction of the active sets and corresponding dual variables, thereby enabling a scalable approach for multiparametric programming. Compiling the projection in C provides order of magnitude improvement in inference time compared to JAX. We provide the codes and NLPOpt-Net as a ready to use package that includes GPU support.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。