Constraint Learning by Optimizing over Trained Neural Networks: A Pragmatic Tutorial

Jiaxiao Fang, Thiago Serra
10/26/2026
math.OCcs.LG

No confident code implementation found for this paper.

Abstract

Constraint learning is an emerging paradigm of modeling optimization problems with the help of machine learning. In this paradigm, trained machine learning models are embedded into the optimization model.

Show full abstract

For example, we can learn constraints empirically from available data, or we can avoid using a nonlinear objective function by learning a simpler approximation for it. Neural networks become a compelling option if the machine learning models must capture more elaborate and nuanced relationships. However, optimization models embedding neural networks may become too large or too slow to solve. In this tutorial, we present practical considerations for an effective and efficient use of constraint learning with neural networks and validate it with a case study highlighting the benefit of smaller and sparser networks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fang2026constraint,
  title  = {Constraint Learning by Optimizing over Trained Neural Networks: A Pragmatic Tutorial},
  author = {Jiaxiao Fang and Thiago Serra},
  year   = {2026},
  eprint = {2610.35505},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.35505v1}
}

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

Discussion