Skip to content
DraconiticResearch
Search Sources API
197,787 studies31 sourcesUpdated 48 min ago
PreprintarXiv licencearXiv

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

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.

Related

  1. Introducing ResIN: An Applied Tutorial to the Response-Item-Networks Package for R
    Philip Warncke, Dino Carpentras, Adrian Lueders +1
    PsyArXivPreprintCC BY 4.0Full textStatisticsOSF
  2. Estimating Optimal Dynamic Treatment Regimes for Personalized Education: A Tutorial and Applications with Machine Learning
    Chenguang Pan, Yuxuan Li, Thomas Harris +1
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  3. A Constraint-Aware Generative Framework for Synthetic Origin-Destination Demand in Logistics Networks
    Leian Chen
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  4. Optimizing Sparse Boolean Rule Networks using Mixed Integer Linear Programming
    Thomas Pammer, Johannes Fürnkranz, Markus Sinnl
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  5. Optimal Control of Dynamic Gas Networks Using Gaussian Processes with Chance-Constraint Reformulation
    Taiwo A. Adebiyi, Robert Ferrando, Manuel Garcia +3
    arXivPreprintCC BY 4.0Full textOptimisation & controlarXiv
BibTeX
@misc{fang2026constraint,
  title = {{Constraint Learning by Optimizing over Trained Neural Networks: A Pragmatic Tutorial}},
  author = {Jiaxiao Fang and Thiago Serra},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.35505},
  eprint = {2610.35505},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.35505},
}
RIS
TY  - UNPB
TI  - Constraint Learning by Optimizing over Trained Neural Networks: A Pragmatic Tutorial
AU  - Jiaxiao Fang
AU  - Thiago Serra
PY  - 2026
DA  - 2026/10/26
PB  - arXiv
DO  - 10.48550/arxiv.2610.35505
UR  - https://arxiv.org/abs/2610.35505
AB  - 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.
ER  -