The Rules2CP Modeling Language

François Fages, Julien Martin
Projet Contraintes, INRIA Rocquencourt, France
http://contraintes.inria.fr/rules2cp/
rules2cp@inria.fr


Overview

Rules2CP is a general purpose rule-based modeling language for constraint programming. It aims at making constraint programming technology easier to use by non-programmers, by modeling combinatorial optimization problems with logical rules and elementary data structures, and by allowing the building of Rules2CP libraries for specific problems.

The Packing Knowledge Modeling Language PKML is such a library developed in the framework of the European Net-WMS project for higher-dimensional bin packing problems taking into account extra placement constraints and specific industrial requirements.

The Rules2CP compiler transforms Rules2CP statements into constraint programs in different target systems, currently Sicstus-Prolog and Choco-Java. The Rules2CP compiler is implemented in Sicstus Prolog.

Documentation

Download & Installation

Rules2CP is a free software protected by the GNU General Public License GPL version 2. This is an Open Source license that allows free usage of this software.

Current version : rules2cp-1.1_linux-i32.tar.gz or rules2cp-1.1_linux-i32.tar.bz2.

Unpack the archive to installation-path and add installation-path/rules2cp/compiler/bin/ to your PATH environment variable.
Add installation-path to your CLASSPATH environment variable

Feedback and bug reports:

Feedback on the use of Rules2CP is particularly welcomed.

Mail to  rules2cp@inria.fr