Passer à la navigation principale Passer à la recherche Passer au contenu principal

From rules to constraint programs with the rules2CP modelling language

  • INRIA Rocquencourt

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

In this paper, we present a rule-based modelling language for constraint programming, called Rules2CP. Unlike other modelling languages, Rules2CP adopts a single knowledge representation paradigm based on rules without recursion, and a restricted set of data structures based on records and enumerated lists given with iterators. We show that this is sufficient to model constraint satisfaction problems, together with search strategies where search trees are expressed by logical formulae, and heuristic choice criteria are defined by preference orderings on variables and formulae. We describe the compilation of Rules2CP statements to constraint programs over finite domains, by a term rewriting system and partial evaluation. We prove the confluence of these transformations and provide a complexity bound on the size of the generated programs. The expressiveness of Rules2CP is illustrated first with simple examples, and then with a complete library for packing problems, called PKML, which, in addition to pure bin packing and bin design problems, can deal with common sense rules about weights, stability, as well as specific packing business rules. The performances of both the compiler and the generated code are evaluated on Korf's benchmarks of optimal rectangle packing problems.

langue originaleAnglais
titreRecent Advances in Constraints - 13th Annual ERCIM International Workshop on Constraint Solving and Constraint Logic Programming, CSCLP 2008, Revised Selected Papers
Pages66-83
Nombre de pages18
Les DOIs
étatPublié - 14 sept. 2009
Modification externeOui
Evénement13th Annual ERCIM International Workshop on Constraint Solving and Constraint Logic Programming, CSCLP 2008 - Rome, Italie
Durée: 18 juin 200820 juin 2008

Série de publications

NomLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume5655 LNAI
ISSN (imprimé)0302-9743
ISSN (Electronique)1611-3349

Une conférence

Une conférence13th Annual ERCIM International Workshop on Constraint Solving and Constraint Logic Programming, CSCLP 2008
Pays/TerritoireItalie
La villeRome
période18/06/0820/06/08

Empreinte digitale

Examiner les sujets de recherche de « From rules to constraint programs with the rules2CP modelling language ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation