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

On Solving Unit Commitment with Alternating Current Optimal Power Flow on GPU

Weiqi Zhang, Youngdae Kim, Kibaek KimarXiv 2023 · DOI

Abstract

We consider the unit commitment (UC) problem that employs the alternating current optimal power flow (ACOPF) constraints, which is formulated as a mixed-integer nonlinear programming problem and thus challenging to solve in practice. We develop a new scalable algorithm based on alternating direction method of multiplier (ADMM), which enables quickly finding a good feasible solution of the UC-ACOPF problem. Our algorithm employs the component-based decomposition that solves a large number of independent small subproblems, each of which represents an individual grid component (e.g., generator, bus, and transmission line), as well as the UC subproblem. We implement the algorithm in Julia, as part of the existing package ExaAdmm.jl, which can efficiently run on GPUs as well as CPUs. The numerical results are reported by using IEEE test instances.

Introduction

Power grid operators face a daily "Unit Commitment" (UC) challenge: deciding which generators to turn on and off to meet demand at the lowest cost. Traditionally, this is solved using simplified, linear "Direct Current" (DC) models. However, real physics follows "Alternating Current" (AC) laws, which are nonlinear and non-convex. Ignoring AC constraints during scheduling can lead to plans that are physically impossible to implement or unnecessarily expensive. The "holy grail" is UC-ACOPF—solving the commitment and the AC physics simultaneously. This creates a Mixed-Integer Nonlinear Programming (MINLP) problem, which is notoriously difficult and slow to solve for large-scale grids.

Methodology

The authors propose a new decomposition scheme based on the Alternating Direction Method of Multipliers (ADMM). Their approach breaks the massive, monolithic problem into thousands of tiny, independent subproblems using a two-level ADMM structure. The grid is decomposed into fundamental components—generators, buses, and transmission lines—where each component's physics is solved as a separate subproblem.

A key innovation is the use of a custom Dynamic Programming (DP) algorithm for the UC subproblems instead of general-purpose integer solvers like CPLEX. Because the UC subproblem for a single generator has a specific structure, DP can solve it in linear time. This entire optimization loop is implemented in Julia using the ExaAdmm.jl package and offloaded to GPUs to exploit massive parallel processing.

Comparison of UC scheduling performance between CPLEX and the proposed DP approach on CPU and GPU.

Results

The researchers evaluated their algorithm using standard IEEE test instances (case9 to case300) with demand data based on historical ISO-NE trajectories. The results demonstrate significant performance gains. For the 300-bus system, the GPU-accelerated ADMM achieved a 4.7x speedup over the CPU version.

Performance metrics and speedup of the ADMM algorithm across various IEEE test cases.

The custom DP algorithm proved exceptionally efficient, solving subproblems up to 100,000 times faster than CPLEX. In terms of solution quality, the optimality gap ranged from 1.6% to 4.8%. While slightly higher than the branch-and-bound solver Juniper.jl, the ADMM approach successfully found solutions for large cases where Juniper.jl failed to converge within the time limit. Furthermore, the per-iteration time on the GPU remained nearly flat as grid size increased, highlighting the scalability of the approach.

Conclusion

By shifting the computational burden from solver complexity to massive parallelism, this work provides a scalable path for solving UC-ACOPF in large-scale grids. Future work will focus on automating the tuning of ADMM penalty parameters, potentially using Reinforcement Learning, to further improve convergence stability and speed.

Summary updated

BibTeX
@misc{zhang2023solving,
  author = {Weiqi Zhang and Youngdae Kim and Kibaek Kim},
  title = {{On Solving Unit Commitment with Alternating Current Optimal Power Flow on GPU}},
  year = {2023},
  eprint = {2310.13145},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.13145},
}
Figure