NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GPU-Accelerated Sequential Quadratic Programming Algorithm for Solving ACOPF

Bowen Li, Kibaek KimCDC 2023

Abstract

Sequential quadratic programming (SQP) is widely used in solving nonlinear optimization problems, offering advantages such as warm-starting solutions, high accuracy, and quadratic convergence using second-order information. In this study, we develop a scalable SQP algorithm for solving the alternating current optimal power flow (ACOPF) problem, leveraging the parallel computing capabilities of graphics processing units (GPUs). Our methodology incorporates the alternating direction method of multipliers (ADMM) to initialize and decompose the quadratic programming (QP) subproblems within each SQP iteration into independent small subproblems for each electric grid component. We implemented the proposed SQP algorithm using our portable Julia package, ExaAdmm.jl, which solves ADMM subproblems in parallel on all major GPU architectures. Numerical experiments comparing our approach with CPU-based ADMM and the state-of-the-art interior point solver Ipopt demonstrate that for larger instances, our GPU-based SQP solver dramatically reduces solution time by efficiently leveraging GPU many-core architectures.

Introduction

The Alternating Current Optimal Power Flow (ACOPF) problem is a cornerstone of power systems engineering, determining the most cost-effective generation and routing of electricity while adhering to non-linear physical laws (Ohm’s and Kirchhoff’s laws) and operational constraints. While Sequential Quadratic Programming (SQP) is a robust tool for such non-linear problems—providing high accuracy and the ability to "warm-start" from previous solutions—it faces significant scalability challenges. As power grids expand, the Quadratic Programming (QP) subproblems solved at each SQP iteration become computationally prohibitive for real-time management. This research addresses these bottlenecks by introducing a GPU-accelerated SQP framework that decomposes massive subproblems into thousands of parallel tasks.

Methodology

The proposed algorithm combines the mathematical rigor of trust-region SQP with the massive parallelism of GPUs through a decomposition strategy:

  1. SQP Outer Loop: A trust-region SQP method handles the non-linearities of the ACOPF problem.
  2. ADMM Decomposition: Instead of solving a centralized QP subproblem, the Alternating Direction Method of Multipliers (ADMM) is used to "decouple" grid constraints. This breaks the global problem into thousands of small, independent optimization tasks for individual components like generators, buses, and transmission lines.
  3. GPU Acceleration: These independent subproblems are solved simultaneously using ExaAdmm.jl, a Julia-based package designed to offload optimizations to GPU cores.
  4. Refined Formulation: The QP formulation was improved to eliminate certain dependent variables (e.g., voltage and angle differences), preventing trust-region constraints from inducing unnecessary infeasibility.

The algorithm was evaluated using 15 IEEE power network cases, ranging from 9 to 6,468 buses, providing a comprehensive benchmark for scalability.

Results and Discussion

The performance of the GPU-accelerated SQP solver was compared against a CPU-based ADMM version and a version using the standard interior-point solver Ipopt for the QP subproblems.

Small to Medium-Scale Networks

For smaller networks (under 300 buses), centralized solvers like Ipopt remain highly efficient. As shown in the data, the overhead associated with data transfer to the GPU often outweighs the parallel processing benefits for these smaller instances. However, as the network size approaches 300 buses, the performance gap begins to close, and the GPU starts to show its potential.

Performance comparison of SQP solvers on small to medium-sized power networks.

Large-Scale Networks and GPU Speedup

The true strength of the GPU-accelerated approach is evident in large-scale networks. By treating every line and bus as a separate mathematical entity, the bottleneck of a single giant matrix inversion is replaced by thousands of parallel operations. Traditional solvers like Ipopt often struggle with "infeasible" subproblems in large networks, whereas the ADMM-based approach is more robust due to its augmented Lagrangian nature.

As detailed in the large-scale results, the GPU-accelerated method achieved significant speedups. Notably, in the case2968rte benchmark, the proposed method was nearly 10 times faster than the Ipopt-based solver, reducing the solution time from 171.04 seconds to 17.39 seconds. For the 6,468-bus system, the solver maintained its advantage, completing the task in 143.03 seconds compared to Ipopt's 250.89 seconds.

Performance comparison on large-scale power networks, highlighting the speedup achieved by the GPU-accelerated ADMM approach.

Conclusion

This study demonstrates that mapping the physical structure of power grids to a decomposition algorithm like ADMM allows for effective GPU acceleration of SQP. While the current "basic" SQP implementation shows promise, future work will focus on incorporating advanced features such as feasibility restoration and second-order corrections to enhance reliability. Additionally, automating the tuning of ADMM penalty parameters ($\rho$) and optimizing the trade-off between inner-loop inexactness and outer-loop convergence will be critical for transitioning this research into production-ready grid management tools.

Summary updated

BibTeX
@inproceedings{li2023gpu,
  author = {Bowen Li and Kibaek Kim},
  title = {{GPU-Accelerated Sequential Quadratic Programming Algorithm for Solving ACOPF}},
  booktitle = {CDC},
  year = {2023},
}
Figure