# CANOS: A Fast and Scalable Neural AC-OPF Solver Robust To N-1 Perturbations

arXiv: https://arxiv.org/abs/2403.17660 · HTML: https://mlsanity.com/paper/2403.17660/

## Key facts

- Cited by 27 papers in the map (data through 14 Oct 2026).
- Builds on 14 of its 47 references that are in the map.
- First posted on arXiv 26 Mar 2024.

## Builds on (most cited first, 14 of 14)

- [Relational inductive biases, deep learning, and graph networks](https://mlsanity.com/paper/1806.01261/) (2018)
- [Interaction Networks for Learning about Objects, Relations and Physics](https://mlsanity.com/paper/1612.00222/) (2016)
- [End-to-End Constrained Optimization Learning: A Survey](https://mlsanity.com/paper/2103.16378/) (2021)
- [Predicting AC Optimal Power Flows: Combining Deep Learning and Lagrangian Dual Methods](https://mlsanity.com/paper/1909.10461/) (2019)
- [pandapower - an Open Source Python Tool for Convenient Modeling, Analysis and Optimization of Electric Power Systems](https://mlsanity.com/paper/1709.06743/) (2017)
- [Learning Optimal Solutions for Extremely Fast AC Optimal Power Flow](https://mlsanity.com/paper/1910.01213/) (2019)
- [The Power Grid Library for Benchmarking AC Optimal Power Flow Algorithms](https://mlsanity.com/paper/1908.02788/) (2019)
- [Relational inductive bias for physical construction in humans and machines](https://mlsanity.com/paper/1806.01203/) (2018)
- [Learning rigid dynamics with face interaction graph networks](https://mlsanity.com/paper/2212.03574/) (2022)
- [PowerModels.jl: An Open-Source Framework for Exploring Power Flow Formulations](https://mlsanity.com/paper/1711.01728/) (2017)
- [Topology-aware Graph Neural Networks for Learning Feasible and Adaptive ac-OPF Solutions](https://mlsanity.com/paper/2205.10129/) (2022)
- [Leveraging power grid topology in machine learning assisted optimal power flow](https://mlsanity.com/paper/2110.00306/) (2021)
- [OPF-Learn: An Open-Source Framework for Creating Representative AC Optimal Power Flow Datasets](https://mlsanity.com/paper/2111.01228/) (2021)
- [Solutions of DC OPF are Never AC Feasible](https://mlsanity.com/paper/1912.00319/) (2019)

## Built on by (most cited first, 27 of 27)

- [Foundation Models for the Electric Power Grid](https://mlsanity.com/paper/2407.09434/) (2024)
- [OPFData: Large-scale datasets for AC optimal power flow with topological perturbations](https://mlsanity.com/paper/2406.07234/) (2024)
- [Graph Reinforcement Learning for Power Grids: A Comprehensive Survey](https://mlsanity.com/paper/2407.04522/) (2024)
- [Towards Generalization of Graph Neural Networks for AC Optimal Power Flow](https://mlsanity.com/paper/2510.06860/) (2025)
- [GENCO - A Unified Neural Solver Embedded in a Development Framework for Steady-State Grid Analysis](https://mlsanity.com/paper/2608.09921/) (2026)
- [Sparser, Better, Faster, Stronger: Sparsity Detection for Efficient Automatic Differentiation](https://mlsanity.com/paper/2501.17737/) (2025)
- [Improving Graph Neural Networks by Learning Continuous Edge Directions](https://mlsanity.com/paper/2410.14109/) (2024)
- [Flow-Aware GNN for Transmission Network Reconfiguration via Substation Breaker Optimization](https://mlsanity.com/paper/2508.01951/) (2025)
- [gridfm-datakit-v1: A Python Library for Scalable and Realistic Power Flow and Optimal Power Flow Data Generation](https://mlsanity.com/paper/2512.14658/) (2025)
- [Optimal Power Grid Operations with Foundation Models](https://mlsanity.com/paper/2409.02148/) (2024)
- [Optimization Proxies using Limited Labeled Data and Training Time -- A Semi-Supervised Bayesian Neural Network Approach](https://mlsanity.com/paper/2410.03085/) (2024)
- [LUMINA: A Grid Foundation Model for Benchmarking AC Optimal Power Flow Surrogate Learning](https://mlsanity.com/paper/2605.02133/) (2026)
- [Physics-Informed Graph Neural Networks for Robust AC-Optimal Power Flow](https://mlsanity.com/paper/2410.04818/) (2024)
- [Differentiable Optimization for Deep Learning-Enhanced DC Approximation of AC Optimal Power Flow](https://mlsanity.com/paper/2504.01970/) (2025)
- [Revisiting Deep AC-OPF](https://mlsanity.com/paper/2509.00655/) (2025)
- [Cheap Thrills: Effective Amortized Optimization Using Inexpensive Labels](https://mlsanity.com/paper/2603.05495/) (2026)
- [Towards Systematic Generalization for Power Grid Optimization Problems](https://mlsanity.com/paper/2605.02026/) (2026)
- [Newton's Lantern: A Reinforcement Learning Framework for Finetuning AC Power Flow Warm Start Models](https://mlsanity.com/paper/2605.11102/) (2026)
- [Accelerating Quasi-Static Time Series Simulations with Foundation Models](https://mlsanity.com/paper/2411.08652/) (2024)
- [Dynamic Domain Adaptation-Driven Physics-Informed Graph Representation Learning for AC-OPF](https://mlsanity.com/paper/2506.00478/) (2025)
- [Residual Correction Models for AC Optimal Power Flow Using DC Optimal Power Flow Solutions](https://mlsanity.com/paper/2510.16064/) (2025)
- [Generating adversarial inputs for a graph neural network model of AC power flow](https://mlsanity.com/paper/2602.17975/) (2026)
- [WARP: A Benchmark for Primal-Dual Warm-Starting of Interior-Point Solvers](https://mlsanity.com/paper/2605.05728/) (2026)
- [Graph Machine Learning: An Opportunity for Power Systems](https://mlsanity.com/paper/2608.16494/) (2026)
- [Scaling Laws for Physics-Aware ACOPF Surrogate Learning](https://mlsanity.com/paper/2609.16282/) (2026)
- [GridSFM: A Foundation Model for Solving AC Optimal Power Flow](https://mlsanity.com/paper/2609.30173/) (2026)
- [Mycelium: A Generalizable Cross-Grid Multi-Task Model for Electrical Distribution Systems](https://mlsanity.com/paper/2609.33120/) (2026)

## Abstract (arXiv)

Optimal Power Flow (OPF) refers to a wide range of related optimization problems with the goal of operating power systems efficiently and securely. In the simplest setting, OPF determines how much power to generate in order to minimize costs while meeting demand for power and satisfying physical and operational constraints. In even the simplest case, power grid operators use approximations of the AC-OPF problem because solving the exact problem is prohibitively slow with state-of-the-art solvers. These approximations sacrifice accuracy and operational feasibility in favor of speed. This trade-off leads to costly "uplift payments" and increased carbon emissions, especially for large power grids. In the present work, we train a deep learning system (CANOS) to predict near-optimal solutions (within 1% of the true AC-OPF cost) without compromising speed (running in as little as 33--65 ms). Importantly, CANOS scales to realistic grid sizes with promising empirical results on grids containing as many as 10,000 buses. Finally, because CANOS is a Graph Neural Network, it is robust to changes in topology. We show that CANOS is accurate across N-1 topological perturbations of a base grid typically used in security-constrained analysis. This paves the way for more efficient optimization of more complex OPF problems which alter grid connectivity such as unit commitment, topology optimization and security-constrained OPF.
