English

Rewriting Constraint Models with Metamodels

Artificial Intelligence 2010-02-17 v1

Abstract

An important challenge in constraint programming is to rewrite constraint models into executable programs calculat- ing the solutions. This phase of constraint processing may require translations between constraint programming lan- guages, transformations of constraint representations, model optimizations, and tuning of solving strategies. In this paper, we introduce a pivot metamodel describing the common fea- tures of constraint models including different kinds of con- straints, statements like conditionals and loops, and other first-class elements like object classes and predicates. This metamodel is general enough to cope with the constructions of many languages, from object-oriented modeling languages to logic languages, but it is independent from them. The rewriting operations manipulate metamodel instances apart from languages. As a consequence, the rewriting operations apply whatever languages are selected and they are able to manage model semantic information. A bridge is created between the metamodel space and languages using parsing techniques. Tools from the software engineering world can be useful to implement this framework.

Keywords

Cite

@article{arxiv.1002.3023,
  title  = {Rewriting Constraint Models with Metamodels},
  author = {Raphael Chenouard and Laurent Granvilliers and Ricardo Soto},
  journal= {arXiv preprint arXiv:1002.3023},
  year   = {2010}
}
R2 v1 2026-06-21T14:47:24.206Z