DC3: A learning method for optimization with hard constraints

Priya L. Donti, David Rolnick, J. Zico Kolter
4/25/2021
cs.LGmath.OCstat.ML

Official code: locuslab/DC3 (179 stars, Python, Apache-2.0, last commit 2021-09-18).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

locuslab/DC3Official100%
Apache-2.0

DC3: A Learning Method for Optimization with Hard Constraints

17931Python, Jupyter NotebookMar 22, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{donti2021dc,
  title  = {DC3: A learning method for optimization with hard constraints},
  author = {Priya L. Donti and David Rolnick and J. Zico Kolter},
  year   = {2021},
  eprint = {2104.12225},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.12225}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.12225.svg)](https://codeofpaper.com/paper/2104.12225)

Discussion