Graph Neural Networks for Maximum Constraint Satisfaction

Jan Toenshoff, Martin Ritzert, Hinrikus Wolf, Martin Grohe
9/18/2019
cs.AIcs.LG
gnn

Official code: RUNCSP/RUN-CSP (10 stars, Python, GPL-3.0, last commit 2023-03-24).

Abstract

Many combinatorial optimization problems can be phrased in the language of constraint satisfaction problems. We introduce a graph neural network architecture for solving such optimization problems.

Show full abstract

The architecture is generic; it works for all binary constraint satisfaction problems. Training is unsupervised, and it is sufficient to train on relatively small instances; the resulting networks perform well on much larger instances (at least 10-times larger). We experimentally evaluate our approach for a variety of problems, including Maximum Cut and Maximum Independent Set. Despite being generic, we show that our approach matches or surpasses most greedy and semi-definite programming based algorithms and sometimes even outperforms state-of-the-art heuristics for the specific problems.

View on arXivView PDF

Code Implementations(1)

RUNCSP/RUN-CSPOfficial100%
GPL-3.0
105PythonFeb 6, 20203 years agoGPL-3.0

Similar Papers

Cite this paper

@article{toenshoff2019graph,
  title  = {Graph Neural Networks for Maximum Constraint Satisfaction},
  author = {Jan Toenshoff and Martin Ritzert and Hinrikus Wolf and Martin Grohe},
  year   = {2019},
  eprint = {1909.08387},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.08387}
}

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/1909.08387.svg)](https://codeofpaper.com/paper/1909.08387)

Discussion