# Neural Networks for Encoding Dynamic Security-Constrained Optimal Power Flow

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

## Key facts

- Cited by 15 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 17 Mar 2020.

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

- [Mixed-Integer Optimization with Constraint Learning](https://mlsanity.com/paper/2111.04469/) (2021)
- [Learning Optimization Proxies for Large-Scale Security-Constrained Economic Dispatch](https://mlsanity.com/paper/2112.13469/) (2021)
- [Optimization with Constraint Learning: A Framework and Survey](https://mlsanity.com/paper/2110.02121/) (2021)
- [Modeling the AC Power Flow Equations with Optimally Compact Neural Networks: Application to Unit Commitment](https://mlsanity.com/paper/2110.11269/) (2021)
- [Neur2SP: Neural Two-Stage Stochastic Programming](https://mlsanity.com/paper/2205.12006/) (2022)
- [Optimization Over Trained Neural Networks: Taking a Relaxing Walk](https://mlsanity.com/paper/2401.03451/) (2024)
- [Closing the Loop: A Framework for Trustworthy Machine Learning in Power Systems](https://mlsanity.com/paper/2203.07505/) (2022)
- [Computational Tradeoffs of Optimization-Based Bound Tightening in ReLU Networks](https://mlsanity.com/paper/2312.16699/) (2023)
- [Global Performance Guarantees for Neural Network Models of AC Power Flow](https://mlsanity.com/paper/2211.07125/) (2022)
- [Deep Learning for Two-Stage Robust Integer Optimization](https://mlsanity.com/paper/2310.04345/) (2023)
- [Data-driven Small-signal Modeling for Converter-based Power Systems](https://mlsanity.com/paper/2108.13046/) (2021)
- [Emission-Aware Optimization of Gas Networks: Input-Convex Neural Network Approach](https://mlsanity.com/paper/2209.08645/) (2022)
- [Machine Learning for Improved Gas Network Models in Coordinated Energy Systems](https://mlsanity.com/paper/2209.12731/) (2022)
- [Optimization over Trained (and Sparse) Neural Networks: A Surrogate within a Surrogate](https://mlsanity.com/paper/2505.01985/) (2025)
- [Leveraging Multi-Task Learning for Multi-Label Power System Security Assessment](https://mlsanity.com/paper/2505.06207/) (2025)

## Abstract (arXiv)

This paper introduces a framework to capture previously intractable optimization constraints and transform them to a mixed-integer linear program, through the use of neural networks. We encode the feasible space of optimization problems characterized by both tractable and intractable constraints, e.g. differential equations, to a neural network. Leveraging an exact mixed-integer reformulation of neural networks, we solve mixed-integer linear programs that accurately approximate solutions to the originally intractable non-linear optimization problem. We apply our methods to the AC optimal power flow problem (AC-OPF), where directly including dynamic security constraints renders the AC-OPF intractable. Our proposed approach has the potential to be significantly more scalable than traditional approaches. We demonstrate our approach for power system operation considering N-1 security and small-signal stability, showing how it can efficiently obtain cost-optimal solutions which at the same time satisfy both static and dynamic security constraints.
