arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.25986cs.LGmath.OC
收藏

一个通用且精简的可微优化框架

A General and Streamlined Differentiable Optimization Framework

Georgia Institute of Technology(佐治亚理工学院);PSR;Mines Paris-PSL(巴黎综合理工学院);Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室);UCLouvain(列日大学)

Andrew W. Rosemberg, Joaquim Dias Garcia, François Pacaud, Robert B. Parker, Benoît Legat, Kaarthik Sundar, Russell Bent, Pascal Van Hentenryck

AI总结:

本文提出更新后的DiffOpt.jl框架,通过KKT系统微分统一Julia优化栈中的建模与微分,提供原生参数API直接计算导数,支持凸与非凸规划,并验证了其在多领域大规模实验中的有效性。

摘要:

通过对约束优化问题进行微分,在学习、控制和大规模决策系统中日益变得核心,但由于求解器的专门化和接口不匹配,其实际集成仍然具有挑战性。本文提出了一个通用且精简的框架——更新后的DiffOpt.jl——在Julia优化栈中统一了建模与微分。该框架在标准正则性假设下,通过对KKT系统进行微分,计算平滑且可能非凸规划的向前和反向模式解及目标函数的敏感性。一个一流的、JuMP原生的以参数为中心的API允许用户声明命名参数并直接获得关于这些参数的导数——即使某个参数出现在多个约束和目标函数中——从而消除了系数级接口中脆弱的簿记工作。我们在凸和非凸模型上展示了这些能力,包括经济调度、带有锥风险约束的均值-方差投资组合选择,以及非线性机器人逆运动学。两项配套研究进一步展示了其规模化影响:能源市场中战略竞价的基于梯度的迭代方法,以及使用求解器准确敏感性的端到端优化代理的Sobolev式训练。这些结果共同表明,可微优化可以作为实验、学习、校准和设计的常规工具部署——而无需偏离标准的JuMP建模实践,同时保留对广泛求解器生态系统的访问。

英文摘要:

Differentiating through constrained optimization problems is increasingly central to learning, control, and large-scale decision-making systems, yet practical integration remains challenging due to solver specialization and interface mismatches. This paper presents a general and streamlined framework-an updated DiffOpt.jl-that unifies modeling and differentiation within the Julia optimization stack. The framework computes forward - and reverse-mode solution and objective sensitivities for smooth, potentially nonconvex programs by differentiating the KKT system under standard regularity assumptions. A first-class, JuMP-native parameter-centric API allows users to declare named parameters and obtain derivatives directly with respect to them - even when a parameter appears in multiple constraints and objectives - eliminating brittle bookkeeping from coefficient-level interfaces. We illustrate these capabilities on convex and nonconvex models, including economic dispatch, mean-variance portfolio selection with conic risk constraints, and nonlinear robot inverse kinematics. Two companion studies further demonstrate impact at scale: gradient-based iterative methods for strategic bidding in energy markets and Sobolev-style training of end-to-end optimization proxies using solver-accurate sensitivities. Together, these results demonstrate that differentiable optimization can be deployed as a routine tool for experimentation, learning, calibration, and design-without deviating from standard JuMP modeling practices and while retaining access to a broad ecosystem of solvers.

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

↑