arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.05392math.OCcs.MScs.NAmath.NA
收藏

OpenSQP: 一种用于非线性优化的可重构开源SQP算法

OpenSQP: A Reconfigurable Open-Source SQP Algorithm in Python for Nonlinear Optimization

University of California San Diego(加州大学圣地亚哥分校)

Anugrah Jo Joshy, John T. Hwang

AI总结:

OpenSQP 是一种用 Python 实现的可重构开源 SQP 算法,通过模块化设计提供灵活性,能够适应特定应用需求并与其他优化算法竞争。

摘要:

序列二次规划(SQP)方法在解决广泛非线性优化问题方面取得了显著成功。这些方法通过迭代构造并求解二次规划(QP)子问题来计算收敛于局部最小值的方向。尽管有许多开源和商业的SQP算法可用,但其实现缺乏必要的透明性和模块化,无法适应特定应用或替换不同模块以创建新优化器。为解决这一差距,我们提出了OpenSQP,一种用Python实现的模块化和可重构的SQP算法,其性能与领先算法相当。我们以允许用户轻松修改或替换组件如 merit 函数、线搜索过程、Hessian近似和 QP 解决方案的方式实现了 OpenSQP。这种灵活性使算法能够为特定需求创建定制变体。为了证明可靠性,我们使用 OpenSQP 的标准配置展示了数值结果,该配置使用平滑的增广拉格朗日 merit 函数进行线搜索,并使用拟牛顿 BFGS 方法近似 Hessian。我们在此配置上对 CUTEst 测试套件中的全面问题集进行了基准测试。结果表明,其性能与已证明的非线性优化算法如 SLSQP、SNOPT 和 IPOPT 相当。

英文摘要:

Sequential quadratic programming (SQP) methods have been remarkably successful in solving a broad range of nonlinear optimization problems. These methods iteratively construct and solve quadratic programming (QP) subproblems to compute directions that converge to a local minimum. While numerous open-source and commercial SQP algorithms are available, their implementations lack the transparency and modularity necessary to adapt and fine-tune them for specific applications or to swap out different modules to create a new optimizer. To address this gap, we present OpenSQP, a modular and reconfigurable SQP algorithm implemented in Python that achieves robust performance comparable to leading algorithms. We implement OpenSQP in a manner that allows users to easily modify or replace components such as merit functions, line search procedures, Hessian approximations, and QP solvers. This flexibility enables the creation of tailored variants of the algorithm for specific needs. To demonstrate reliability, we present numerical results using the standard configuration of OpenSQP that employs a smooth augmented Lagrangian merit function for the line search and a quasi-Newton BFGS method for approximating the Hessians. We benchmark this configuration on a comprehensive set of problems from the CUTEst test suite. The results demonstrate performance that is competitive with proven nonlinear optimization algorithms such as SLSQP, SNOPT, and IPOPT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑