DC3: A learning method for optimization with hard constraints
Open accessThe DOI matches its DataCite record; 33 of the 33 references it cites were found in a registry or an index.
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.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
(2014) · Cited by 33,419
PyTorch: An Imperative Style, High-Performance Deep Learning Library
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al. (2019) · arXiv · doi:10.48550/arxiv.1912.01703 · Cited by 31,473
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
Ioffe, S., & Szegedy, C. (2015) · arXiv · doi:10.48550/arxiv.1502.03167 · Cited by 27,818
(2021) · A First Course in Statistical Programming with R · doi:10.1017/9781108993456.011 · Cited by 13,724
Wächter, A., & Biegler, L. T. (2006) · Mathematical Programming · doi:10.1007/s10107-004-0559-y · Cited by 9,483
(2006) · Springer Series in Operations Research and Financial Engineering · doi:10.1007/978-0-387-40065-5 · Cited by 9,008
Neural ordinary differential equations
Chen, R. T. Q., Rubanova, Y., Bettencourt, J., & Duvenaud, D. (2018) · arXiv · doi:10.48550/arxiv.1806.07366 · Cited by 2,097
OSQP: an operator splitting solver for quadratic programs
Stellato, B., Banjac, G., Goulart, P., Bemporad, A., & Boyd, S. (2020) · Mathematical Programming Computation · doi:10.1007/s12532-020-00179-2 · Cited by 1,213
Task-based End-to-end Model Learning in Stochastic Optimization
Donti, P. L., Amos, B., & Kolter, J. Z. (2017) · neural information processing systems · doi:10.48550/arxiv.1703.04529 · Cited by 644
Self-citationDifferentiable Convex Optimization Layers
Agrawal, A., Amos, B., Barratt, S. T., Boyd, S., Diamond, S., & Kolter, J. Z. (2019) · neural information processing systems · doi:10.48550/arxiv.1910.12430 · Cited by 576
Self-citationGroup Equivariant Convolutional Networks
Cohen, T., & Welling, M. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1602.07576 · Cited by 524
End-to-End Differentiable Physics for Learning and Control
Belbute-Peres, F. D. A., Smith, K. A., Allen, K. R., Tenenbaum, J. B., & Kolter, J. Z. (2018) · neural information processing systems · Cited by 488
Self-citationGreydanus, S., Dzamba, M., & Yosinski, J. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1906.01563 · Cited by 418
First-order methods almost always avoid strict saddle points
Lee, J. D., Panageas, I., Piliouras, G., Simchowitz, M., Jordan, M. I., & Recht, B. (2019) · Mathematical Programming · doi:10.1007/s10107-019-01374-3 · Cited by 375
SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solverPreprint
Wang, P.-W., Donti, P. L., Wilder, B., & Kolter, J. Z. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1905.12149 · Cited by 352
Self-citationBai, S., Kolter, J. Z., & Koltun, V. (2019) · arXiv · doi:10.48550/arxiv.1909.01377 · Cited by 338
Self-citationTackling climate change with machine learning
Rolnick, D., Donti, P. L., Kaack, L. H., Kochanski, K., Lacoste, A., Sankaran, K., Ross, A. S., Milojevic-Dupont, N., Jaques, N., Waldman-Brown, A., et al. (2023) · ACM Computing Surveys · doi:10.1145/3485128 · Cited by 336
Self-citationSurrogate-Based Modeling and Optimization: Applications in Engineering
(2013) · Springer eBooks · doi:10.1007/978-1-4614-7551-4 · Cited by 250
Melding the Data-Decisions Pipeline: Decision-Focused Learning for Combinatorial Optimization
Wilder, B., Dilkina, B., & Tambe, M. (2019) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v33i01.33011658 · Cited by 210
Learning Optimal Solutions for Extremely Fast AC Optimal Power Flow
Zamzam, A. S., & Baker, K. (2020) · 2020 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm) · doi:10.1109/smartgridcomm47815.2020.9303008 · Cited by 206 · cited 3×
“NN : A more sophisticated approach inspired by 3 that in Zamzam & Baker (2019), where (i) the neural network outputs a partial set of variables ˆ z , which is completed to the full set using the equality constraints, (ii) training is performed by supervised learning on optimal pairs ( x ( i ) , z (…”
MethodMachine learning for combinatorial optimization: A methodological tour d'horizon
Bengio, Y., Lodi, A., & Prouvost, A. (2021) · European Journal of Operational Research · doi:10.1016/j.ejor.2020.07.063 · Cited by 195
Gould, S. J., Hartley, R., & Campbell, D. J. (2021) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2021.3059462 · Cited by 174
OptNet: Differentiable Optimization as a Layer in Neural Networks
Amos, B., & Kolter, J. Z. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1703.00443 · Cited by 135
Self-citationAchieving Conservation of Energy in Neural Network Emulators for Climate Modeling
Beucler, T., Rasp, S., Pritchard, M. S., & Gentine, P. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1906.06622 · Cited by 93
Learning for Constrained Optimization: Identifying Optimal Active Constraint Sets
Misra, S., Roald, L., & Ng, Y. (2022) · INFORMS Journal on Computing · doi:10.1287/ijoc.2020.1037 · Cited by 91
Learning Warm-Start Points For Ac Optimal Power Flow
Baker, K. (2019) · 2019 IEEE 29th International Workshop on Machine Learning for Signal Processing (MLSP) · doi:10.1109/mlsp.2019.8918690 · Cited by 86
A Survey on Applications of Machine Learning for Optimal Power Flow
Hasan, F., Kargarian, A., & Mohammadi, A. (2020) · 2020 IEEE Texas Power and Energy Conference (TPEC) · doi:10.1109/tpec48276.2020.9042547 · Cited by 85 · cited 2×
“As described in reviews on topics such as combinatorial optimization (Bengio et al., 2020) and optimal power flow (Hasan et al., 2020), ML methods to speed up optimization models have thus far taken two main approaches.”
MethodDifferentiable Learning of Submodular Functions.
Djolonga, J., & Krause, A. (2017) · neural information processing systems · Cited by 84
What Game Are We Playing? End-to-end Learning in Normal and Extensive Form Games
Ling, C. K., Fang, F., & Kolter, J. Z. (2018) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2018/55 · Cited by 72
Self-citationSmart-PGSim: Using Neural Network to Accelerate AC-OPF Power Grid Simulation
Dong, W., Xie, Z., Kestor, G., & Li, D. (2020) · International Conference for High Performance Computing, Networking, Storage and Analysis (SC) · doi:10.1109/sc41405.2020.00067 · Cited by 50
Differentiable Submodular Maximization
Tschiatschek, S., Sahin, A., & Krause, A. (2018) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2018/379 · Cited by 46
Solution refinement at regular points of conic problems
Busseti, E., Moursi, W. M., & Boyd, S. (2019) · Computational Optimization and Applications · doi:10.1007/s10589-019-00122-9 · Cited by 27
Homogeneous Linear Inequality Constraints for Neural Network Activations
Frerix, T., Nießner, M., & Cremers, D. (2020) · IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · doi:10.1109/cvprw50498.2020.00382 · Cited by 25
Cited by
DeepOPF: A Feasibility-Optimized Deep Neural Network Approach for AC Optimal Power Flow Problems
Pan, X., Chen, M., Zhao, T., & Low, S. H. (2023) · IEEE Systems Journal · doi:10.1109/jsyst.2022.3201041 · Cited by 199
Physics-Informed Neural Networks for AC Optimal Power Flow
Nellikkath, R., & Chatzivasileiadis, S. (2022) · Electric Power Systems Research · doi:10.1016/j.epsr.2022.108412 · Cited by 274
“To mitigate these limitations, the NN predictions can be postprocessed to satisfy generation constraints as proposed in [8] [9] for AC-OPF.”
Metadata
- Authors
- Donti, P. L., Rolnick, D., & Kolter, J. Z.
- Affiliations
- Carnegie Mellon University (US)
- Mila - Quebec Artificial Intelligence Institute (CA)
- Robert Bosch (United States) (US)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2021
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2104.12225
- OpenAlex
- W3129572518
- Cited by
- 283
- References
- 33
- Citations by year
- 2026: 84 · 2025: 62 · 2024: 61 · 2023: 41 · 2022: 26 · 2021: 8
- FWCI
- 36.26
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- arXiv (submittedVersion, cc-by)
- Funders
- National Science Foundation (DE-FG02-97ER25308, 1803547)
- U.S. Department of Energy (FG02-97ER25308)
- Carnegie Mellon University
- Topics
- Physical Sciences › Mathematics › Numerical Analysis › Advanced Optimization Algorithms Research
- Physical Sciences › Engineering › Electrical and Electronic Engineering › Optimal Power Flow Distribution
- Physical Sciences › Computer Science › Artificial Intelligence › Metaheuristic Optimization Algorithms Research
- Keywords
- hard constraints, constraint satisfaction, equality constraints, inequality constraints, AC optimal power flow, power grid, differentiable optimization
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.