cs.AIOct 9, 2026

Learning Size Independent Constraint Models from Input Data and Positive and Negative Example Solutions

Authors: Helmut Simonis

Organizations: School of Computer Science and Information Technology, University College Cork, Ireland

Abstract

In this paper we describe a Constraint Acquisition Tool that generates size independent constraint programs from input data and positive and negative example solutions of multiple problem instances. The system finds size specific models based on typical constraint patterns over global and binary constraints, then generalizes the models to a size independent model that can be run on unseen input data. The system produces MiniZinc code as well as a textual description of the model. We evaluate the tool on the example problems of the PTHG21 Challenge and show the feasibility of the approach.

Figures & tables

Explore similar work

CardsList
  1. MPMMine: Better Benchmarks for Constraint Acquisition

    May 25, 2026Rafał Stachowiak, Tomasz P. PawlakBenchmark ConstructionBenchmark Design

  2. PyCSP3: Modeling Combinatorial Constrained Problems in Python

    Sep 1, 2020Christophe Lecoutre, Nicolas SzczepanskiConstrained OptimizationConstraint Satisfaction

  3. Improving Constraint Models with LLM Agents

    Aug 8, 2026Florentina Voboril, Stefan SzeiderLarge Language Model-Guided OptimizationCombinatorial Optimization