Scripts (or models) are programmed by inheriting from the class Gecode::Space. For many examples see Example scripts (models).