Encodings of the SEQUENCE constraint

  • Authors:
  • Sebastian Brand;Nina Narodytska;Claude-Guy Quimper;Peter Stuckey;Toby Walsh

  • Affiliations:
  • NICTA and University of Melbourne;NICTA and University of NSW;Omega Optimisation;NICTA and University of Melbourne;NICTA and University of NSW

  • Venue:
  • CP'07 Proceedings of the 13th international conference on Principles and practice of constraint programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The SEQUENCE constraint is useful in modelling car sequencing, rostering, scheduling and related problems. We introduce half a dozen new encodings of the SEQUENCE constraint, some of which do not hinder propagation. We prove that, down a branch of a search tree, domain consistency can be enforced on the SEQUENCE constraint in just O(n2 log n) time. This improves upon the previous bound of O(n3) for each call down the tree. We also consider a generalization of the SEQUENCE constraint - the Multiple SEQUENCE constraint. Our experiments suggest that, on very large and tight problems, domain consistency algorithms are best. However, on smaller or looser problems, much simpler encodings are better, even though these encodings hinder propagation. When there are multiple SEQUENCE constraints, a more expensive propagator shows promise.