CP-Model-Zoo: A Natural Language Query System for Constraint Programming Models

Augustin Crespin, Ioannis Kostis, Hélène Verhaeghe, Pierre Schaus
9/9/2025
cs.AI

No confident code implementation found for this paper.

Abstract

Constraint Programming and its high-level modeling languages have long been recognized for their potential to achieve the holy grail of problem-solving. However, the complexity of modeling languages, the large number of global constraints, and the art of creating good models have often hindered non-experts from choosing CP to solve their combinatorial problems. While generating an expert-level model from a natural-language description of a problem would be the dream, we are not yet there. We propose a tutoring system called CP-Model-Zoo, exploiting expert-written models accumulated through the years. CP-Model-Zoo retrieves the closest source code model from a database based on a user's natural language description of a combinatorial problem. It ensures that expert-validated models are presented to the user while eliminating the need for human data labeling. Our experiments show excellent accuracy in retrieving the correct model based on a user-input description of a problem simulated with different levels of expertise.

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{crespin2025cpmodelzoo,
  title  = {CP-Model-Zoo: A Natural Language Query System for Constraint Programming Models},
  author = {Augustin Crespin and Ioannis Kostis and Hélène Verhaeghe and Pierre Schaus},
  year   = {2025},
  eprint = {2509.07867},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.07867v1}
}

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

Discussion