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-citation
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
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: DC3: A learning method for optimization with hard constraints. https://app.cochat.ai/papers/10.48550/arxiv.2104.12225
- The paper
- Donti, P. L., Rolnick, D., & Kolter, J. Z. (2021). DC3: A learning method for optimization with hard constraints. arXiv. https://doi.org/10.48550/arxiv.2104.12225
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.