A General and Streamlined Differentiable Optimization Framework
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 9 of its 26 references that are in the map. First posted on arXiv 29 Oct 2025.
Builds on
9 of 26 references.
References · 9
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 599
- 2019Differentiable Convex Optimization Layerscited by 465
- 2015Parallelizing the dual revised simplex methodcited by 89
- 2019A Differentiable Programming System to Bridge Machine Learning and Scientific Computingcited by 83
- 2022Theseus: A Library for Differentiable Nonlinear Optimizationcited by 65
- 2022JuMP 1.0: Recent improvements to a modeling language for mathematical optimizationcited by 37
- 2022Flexible Differentiable Optimization via Model Transformationscited by 16
- 2023Accelerating Optimal Power Flow with GPUs: SIMD Abstraction of Nonlinear Programs and Condensed-Space Interior-Point Methodscited by 11
- 2025Sobolev Training of End-to-End Optimization Proxiescited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.