# Learning for Constrained Optimization: Identifying Optimal Active Constraint Sets

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

## Key facts

- Cited by 36 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 26 Feb 2018.

## Built on by (most cited first, 30 of 36)

- [DC3: A learning method for optimization with hard constraints](https://mlsanity.com/paper/2104.12225/) (2021)
- [Tutorial on amortized optimization](https://mlsanity.com/paper/2202.00665/) (2022)
- [Learning to Warm-Start Fixed-Point Optimization Algorithms](https://mlsanity.com/paper/2309.07835/) (2023)
- [Learning Optimization Proxies for Large-Scale Security-Constrained Economic Dispatch](https://mlsanity.com/paper/2112.13469/) (2021)
- [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)
- [FSNet: Feasibility-Seeking Neural Network for Constrained Optimization with Guarantees](https://mlsanity.com/paper/2506.00362/) (2025)
- [Learning Constrained Optimization with Deep Augmented Lagrangian Methods](https://mlsanity.com/paper/2403.03454/) (2024)
- [Spatial Network Decomposition for Fast and Scalable AC-OPF Learning](https://mlsanity.com/paper/2101.06768/) (2021)
- [CaVE: A Cone-Aligned Approach for Fast Predict-then-optimize with Binary Linear Programs](https://mlsanity.com/paper/2312.07718/) (2023)
- [Learning Regionally Decentralized AC Optimal Power Flows with ADMM](https://mlsanity.com/paper/2205.03787/) (2022)
- [Ensuring DNN Solution Feasibility for Optimization Problems with Convex Constraints and Its Application to DC Optimal Power Flow Problems](https://mlsanity.com/paper/2112.08091/) (2021)
- [Metric Learning to Accelerate Convergence of Operator Splitting Methods for Differentiable Parametric Programming](https://mlsanity.com/paper/2404.00882/) (2024)
- [Graph Neural Networks for Learning Real-Time Prices in Electricity Market](https://mlsanity.com/paper/2106.10529/) (2021)
- [Taking the human out of decomposition-based optimization via artificial intelligence: Part II. Learning to initialize](https://mlsanity.com/paper/2310.07082/) (2023)
- [Data-Driven Performance Guarantees for Classical and Learned Optimizers](https://mlsanity.com/paper/2404.13831/) (2024)
- [Accelerating process control and optimization via machine learning: A review](https://mlsanity.com/paper/2412.18529/) (2024)
- [A Physics-Informed Machine Learning for Electricity Markets: A NYISO Case Study](https://mlsanity.com/paper/2304.00062/) (2023)
- [Predict-Then-Optimize by Proxy: Learning Joint Models of Prediction and Optimization](https://mlsanity.com/paper/2311.13087/) (2023)
- [Constraint Matters: Multi-Modal Representation for Reducing Mixed-Integer Linear programming](https://mlsanity.com/paper/2508.18742/) (2025)
- [Machine Learning for Electricity Market Clearing](https://mlsanity.com/paper/2205.11641/) (2022)
- [Grid-SiPhyR: An end-to-end learning to optimize framework for combinatorial problems in power systems](https://mlsanity.com/paper/2206.06789/) (2022)
- [HoP: Homeomorphic Polar Learning for Hard Constrained Optimization](https://mlsanity.com/paper/2502.00304/) (2025)
- [Partially-Supervised Neural Network Model For Quadratic Multiparametric Programming](https://mlsanity.com/paper/2506.05567/) (2025)
- [LEAF: A Learning-Enabled ADMM Framework for Accelerated Convex Optimization](https://mlsanity.com/paper/2606.08993/) (2026)
- [Energy System Digitization in the Era of AI: A Three-Layered Approach towards Carbon Neutrality](https://mlsanity.com/paper/2211.04584/) (2022)
- [A Sequential Deep Learning Algorithm for Sampled Mixed-integer Optimisation Problems](https://mlsanity.com/paper/2301.10703/) (2023)
- [Unit Commitment Predictor With a Performance Guarantee: A Support Vector Machine Classifier](https://mlsanity.com/paper/2310.08601/) (2023)
- [Online Planning of Power Flows for Power Systems Against Bushfires Using Spatial Context](https://mlsanity.com/paper/2404.13391/) (2024)
- [Machine Learning for Fairness-Aware Load Shedding: A Real-Time Solution via Identifying Binding Constraints](https://mlsanity.com/paper/2407.18989/) (2024)

## Abstract (arXiv)

In many engineered systems, optimization is used for decision making at time-scales ranging from real-time operation to long-term planning. This process often involves solving similar optimization problems over and over again with slightly modified input parameters, often under tight latency requirements. We consider the problem of using the information available through this repeated solution process to directly learn a model of the optimal solution as a function of the input parameters, thus reducing the need to solve computationally expensive large-scale parametric programs in real time. Our proposed method is based on learning relevant sets of active constraints, from which the optimal solution can be obtained efficiently. Using active sets as features preserves information about the physics of the system, enables interpretable models, accounts for relevant safety constraints, and is easy to represent and encode. However, the total number of active sets is also very large, as it grows exponentially with system size. The key contribution of this paper is a streaming algorithm that learns the relevant active sets from training samples consisting of the input parameters and the corresponding optimal solution, without any assumptions on the problem structure. The algorithm comes with theoretical performance guarantees, and is known to converge fast for problem instances with a small number of relevant active sets. It can thus be used to establish the practicability of the learning method. Through extensive experiments on the Optimal Power Flow problem, we observe that often only a few active sets are relevant in practice, suggesting that the active sets is the appropriate level of abstraction for a learning algorithm to target.
