An Optimal Arc Consistency Algorithm for a Chain of Atmost Constraints with Cardinality

The AtMostSeqCard constraint is the conjunction of a cardinality constraint on a sequence of n variables and of n−q+1 constraints AtMostu on each subsequence of size q. This constraint is useful in car-sequencing and crew-rostering problems. In [18], two algorithms designed for the AmongSeq constraint were adapted to this constraint with a O(2qn) and O(n3) worst case time complexity, respectively. In [10], another algorithm similarly adaptable to filter the AtMostSeqCard constraint with a time complexity of O(n2) was proposed. In this paper, we introduce an algorithm for achieving Arc Consistency on the AtMostSeqCard constraint with a O(n) (hence optimal) worst case time complexity. We then empirically study the efficiency of our propagator on instances of the car-sequencing and crew-rostering problems.

[1]  Jean-Charles Régin,et al.  Generalized Arc Consistency for Global Cardinality Constraint , 1996, AAAI/IAAI, Vol. 1.

[2]  Toby Walsh,et al.  CSPLIB: A Benchmark Library for Constraints , 1999, CP.

[3]  Nicolas Beldiceanu,et al.  Introducing global constraints in CHIP , 1994 .

[4]  Michael J. Maher,et al.  Flow-Based Propagators for the SEQUENCE and Related Global Constraints , 2008, CP.

[5]  Jean-Charles Régin,et al.  A Filtering Algorithm for Global Sequencing Constraints , 1997, CP.

[6]  Gert Smolka Principles and Practice of Constraint Programming-CP97 , 1997, Lecture Notes in Computer Science.

[7]  Frédéric Benhamou Principles and Practice of Constraint Programming - CP 2006, 12th International Conference, CP 2006, Nantes, France, September 25-29, 2006, Proceedings , 2006, CP.

[8]  Christine Solnon,et al.  The car sequencing problem: Overview of state-of-the-art methods and industrial case-study of the ROADEF'2005 challenge problem , 2008, Eur. J. Oper. Res..

[9]  Gilles Pesant,et al.  Revisiting the Sequence Constraint , 2006, CP.

[10]  Sophie Demassey,et al.  Sequencing and Counting with the multicost-regular Constraint , 2009, CPAIOR.

[11]  Gary Yat Chung Wong,et al.  Constraint-based rostering using meta-level reasoning and probability-based ordering , 2004, Eng. Appl. Artif. Intell..

[12]  Laurence A. Wolsey,et al.  Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems, 4th International Conference, CPAIOR 2007, Brussels, Belgium, May 23-26, 2007, Proceedings , 2007, CPAIOR.

[13]  Toby Walsh,et al.  SLIDE: A Useful Special Case of the CARDPATH Constraint , 2008, ECAI.

[14]  Gilles Pesant,et al.  A Regular Language Membership Constraint for Finite Sequences of Variables , 2004, CP.

[15]  Gilles Pesant,et al.  A Cost-Regular Based Hybrid Column Generation Approach , 2006, Constraints.

[16]  Toby Walsh,et al.  Encodings of the Sequence Constraint , 2007, CP.

[17]  Toby Walsh,et al.  The SLIDE Meta-Constraint , 2006 .

[18]  Christian Bessière Principles and Practice of Constraint Programming - CP 2007, 13th International Conference, CP 2007, Providence, RI, USA, September 23-27, 2007, Proceedings , 2007, CP.

[19]  Krzysztof R. Apt,et al.  Logic Programming , 1990, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[20]  Pascal Van Hentenryck,et al.  Solving the Car-Sequencing Problem in Constraint Logic Programming , 1988, ECAI.

[21]  Simon Boivin,et al.  Résolution du problème de car-sequencing à l'aide d'une approche de type FC , 2005 .

[22]  Gilles Pesant,et al.  New filtering algorithms for combinations of among constraints , 2009, Constraints.

[23]  Mark Wallace,et al.  Principles and Practice of Constraint Programming – CP 2004 , 2004, Lecture Notes in Computer Science.

[24]  Mats Carlsson,et al.  Revisiting the Cardinality Operator and Introducing the Cardinality-Path Constraint Family , 2001, ICLP.