Skip to content
Review

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

Oct 2026 · 0 citations · 134 references
Mathematics Computer Science

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. 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 source

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.