On Matrices, Automata, and Double Counting

Matrix models are ubiquitous for constraint problems. Many such problems have a matrix of variables $\mathcal{M}$, with the same constraint defined by a finite-state automaton $\mathcal{A}$ on each row of $\mathcal{M}$ and a global cardinality constraint ${\mathit{gcc}}$ on each column of $\mathcal{M}$. We give two methods for deriving, by double counting, necessary conditions on the cardinality variables of the ${\mathit{gcc}}$ constraints from the automaton $\mathcal{A}$. The first method yields linear necessary conditions and simple arithmetic constraints. The second method introduces the cardinality automaton, which abstracts the overall behaviour of all the row automata and can be encoded by a set of linear constraints. We evaluate the impact of our methods on a large set of nurse rostering problem instances.

[1]  Louis-Martin Rousseau,et al.  Modeling the Regular Constraint with Integer Programming , 2007, CPAIOR.

[2]  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.

[3]  Mats Carlsson,et al.  Deriving Filtering Algorithms from Constraint Checkers , 2004, CP.

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

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

[6]  Catriel Beeri,et al.  On the Desirability of Acyclic Database Schemes , 1983, JACM.

[7]  Mario Vanhoucke,et al.  On the characterization and generation of nurse scheduling problem instances , 2009, Eur. J. Oper. Res..

[8]  Nicolas Beldiceanu,et al.  Global Constraint Catalog , 2005 .

[9]  Nicolas Barnier,et al.  Solving the Kirkman's schoolgirl problem in a few seconds , 2002 .

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

[11]  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.

[12]  Roberto Rossi,et al.  Synthesizing Filtering Algorithms for Global Chance-Constraints , 2009, CP.

[13]  Patrice Boizumault,et al.  Solving Nurse Rostering Problems Using Soft Global Constraints , 2009, CP.

[14]  Stasys Jukna,et al.  Extremal Combinatorics , 2001, Texts in Theoretical Computer Science. An EATCS Series.

[15]  Francesca Rossi,et al.  Principles and Practice of Constraint Programming – CP 2003 , 2003, Lecture Notes in Computer Science.

[16]  Jean-Charles Régin,et al.  The Cardinality Matrix Constraint , 2004, CP.

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

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

[19]  Ian Miguel,et al.  Constraints for Breaking More Row and Column Symmetries , 2003, CP.

[20]  Toby Walsh,et al.  Breaking Row and Column Symmetries in Matrix Models , 2002, CP.