This paper presents DiffAPQP, a solver-flexible framework and open-source Python package for scalable DfL with affine-parametric quadratic programs and presents the first solver-based end-to-end DfL demonstration on the IEEE 118-bus system with a 24-hour coupled economic-dispatch and redispatch horizon.
Abstract
Decision-focused learning (DfL) trains forecasting models to align downstream decision consequences, such as power-system operating costs. However, its application to realistic power networks is limited by the need to repeatedly solve and differentiate large optimization problems during training. This paper presents DiffAPQP, a solver-flexible framework and open-source Python package for scalable DfL with affine-parametric quadratic programs. To accelerate the forward pass, DiffAPQP automatically canonicalizes quadratic power-system models written in CVXPY into a differentiation-ready representation and takes advantage of the repetitive solving structure through solver warm-start and solver-data update during training. For the backward pass acceleration, we establish the equivalence between differentiation through the full KKT system and a reduced system obtained by eliminating inactive inequality constraints. For training losses depending solely on the optimal value, we further derive an envelope-theorem-based gradient that avoids solving an adjoint KKT system, resulting in eligible backward time. To our knowledge, this work presents the first solver-based end-to-end DfL demonstration on the IEEE 118-bus system with a 24-hour coupled economic-dispatch and redispatch horizon. Under matched SCS and Clarabel backends on a Linux machine, DiffAPQP achieves $2.27\times$--$3.58\times$ closed-loop and $3.62\times$--$4.38\times$ counterfactual end-to-end DfL training speedups over CvxpyLayers. The best solver configurations increase these speedups to $3.91\times$ (from 38.65 to 9.55 min/epoch) and $6.39\times$ (from 10.73 to 1.68 min/epoch), respectively. Additionally, DiffAPQP reduces peak memory usage by approximately $50\%$, while keeping similar operating costs as CvxpyLayers.
PowerModels-ACOPF-AI is introduced, a two-stage Bayesian Neural Network (BNN) surrogate designed to predict generator set points, bus voltages, and phase angles with uncertainty with strong generalization capability, efficient handling of stochastic renewable injections, and the ability to provide rapid, uncertainty-aw...
Bhuban Dhamala, J. Tabarez, Anup Pandey· 0 citations
An Input Convex Neural Network architecture is proposed to learn a convex surrogate of the second-stage value function, enabling fast first-stage optimization while preserving convexity by construction.
Andrea Fusco, Andrea Lodi, Lavanya Marla· 0 citations
This work proposes a single-level optimization formulation that incorporates the Karush-Kuhn-Tucker optimality conditions of the lower-level MVO into the upper-level learning problem, and explicitly preserves the budget and short-sale constraints while remaining tractable for standard nonlinear optimization solvers.
We introduce a novel approach to tackling large-scale capacity expansion problems in power systems by integrating machine learning techniques with multi-horizon stochastic programming that combines long-term strategic decision-making under uncertainty with short-term operational decisions and uncertainties. Our propose...
Taehyeon Kwon, A. Subramanyam· IISE Annual Conference &...· 0 citations
A Deep Reinforcement Learning–Enhanced Dynamic Optimization Framework (DRL-DOF) that integrates uncertainty-aware policy optimization, temporal-attention actor–critic networks, and digital twin simulation for precision investment management is presented.
Yu-Hao Zhou· International Conference on...· 0 citations
This work proposes an integrated learning and robust optimization (ILRO) framework, where a robust decision problem is used both to define the training problem (termed the RSPO loss problem), and to produce the deployed decision, which achieves both robustness and learning-decision alignment.
Chengpeng Tan, Yu-Chen Mao, Shu-Ming Wang et al.· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.