DC3: A learning method for optimization with hard constraints
Priya L. Donti, David Rolnick, J. Zico Kolter
Abstract
Large optimization problems with hard constraints arise in many settings, yet classical solvers are often prohibitively slow, motivating the use of deep networks as cheap "approximate solvers." Unfortunately, naive deep learning approaches typically cannot enforce the hard constraints of such problems, leading to infeasible solutions. In this work, we present Deep Constraint Completion and Correction (DC3), an algorithm to address this challenge. Specifically, this method enforces feasibility via a differentiable procedure, which implicitly completes partial solutions to satisfy equality constraints and unrolls gradient-based corrections to satisfy inequality constraints. We demonstrate the effectiveness of DC3 in both synthetic optimization tasks and the real-world setting of AC optimal power flow, where hard constraints encode the physics of the electrical grid. In both cases, DC3 achieves near-optimal objective values while preserving feasibility.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2f873dec-cf43-4c32-ab2b-65d666e8a0b8Cited by top-tier papers58
- Characterizing possible failure modes in physics-informed neural networksAditi S. Krishnapriyan, Amir Gholami, Shandian Zhe, Robert M. Kirby et al.NeurIPS 2021 · 1,421 citations
- Model-Based Domain GeneralizationAlexander Robey, George J. Pappas, Hamed HassaniNeurIPS 2021 · 167 citations
- On the Constrained Time-Series Generation ProblemAndrea Coletta, Sriram Gopalakrishnan, Daniel Borrajo, Svitlana VyetrenkoNeurIPS 2023 · 92 citations
- Self-Supervised Primal-Dual Learning for Constrained OptimizationSeonho Park, Pascal Van HentenryckAAAI 2023 · 81 citations
- Deep Equilibrium Approaches to Diffusion ModelsAshwini Pokle, Zhengyang Geng, J. Zico KolterNeurIPS 2022 · 61 citations
Builds on1
Related papers
- Ensuring DNN Solution Feasibility for Optimization Problems with Linear ConstraintsTianyu Zhao, Xiang Pan, Minghua Chen, Steven H. LowICLR 2023
- Neural Fields with Hard Constraints of Arbitrary Differential OrderFangcheng Zhong, Kyle Fogarty, Param Hanji, Tianhao Wu et al.NeurIPS 2023 · 10 citations
- Enforcing Hard Linear Constraints in Deep Learning Models with Decision RulesGonzalo E. Constante, Hao Chen, Can LiNeurIPS 2025 · 13 citations
- Predicting AC Optimal Power Flows: Combining Deep Learning and Lagrangian Dual MethodsFerdinando Fioretto, Terrence W. K. Mak, Pascal Van HentenryckAAAI 2020 · 250 citations
- Optimization Proxies using Limited Labeled Data and Training Time - A Semi-Supervised Bayesian Neural Network ApproachParikshit Pareek, Abhijith Jayakumar, Kaarthik Sundar, Sidhant Misra et al.ICML 2025
