The Smart Table Constraint

Table Constraints are very useful for modeling combinatorial problems in Constraint Programming (CP). They are a universal mechanism for representing constraints, but unfortunately the size of their tables can grow exponentially with their arities. In this paper, we propose to authorize entries in tables to contain simple arithmetic constraints, replacing classical tuples of values by so-called smart tuples. Smart table constraints can thus be viewed as logical combinations of those simple arithmetic constraints. This new form of tuples allows us to encode compactly many constraints, including a dozen of well-known global constraints. We show that, under a very reasonable assumption about the acyclicity of smart tuples, a Generalized Arc Consistency algorithm of low time complexity can be devised. Our experimental results demonstrate that the smart table constraint is a highly promising general purpose tool for CP.

[1]  Jean-Charles Régin Improving the Expressiveness of Table Constraints , 2011 .

[2]  Christian Bessiere,et al.  Arc Consistency for General Constraint Networks: Preliminary Results , 1997, IJCAI.

[3]  Ian P. Gent,et al.  Watched Literals for Constraint Propagation in Minion , 2006, CP.

[4]  Christophe Lecoutre,et al.  STR2: optimized simple tabular reduction for table constraints , 2011, Constraints.

[5]  Roland H. C. Yap,et al.  A Path-Optimal GAC Algorithm for Table Constraints , 2012, ECAI.

[6]  Pascal Van Hentenryck,et al.  Design, Implementation, and Evaluation of the Constraint Language cc(FD) , 1994, Constraint Programming.

[7]  Mats Carlsson,et al.  Compiling and Executing Disjunctions of Finite Domain Constraints , 1995, ICLP.

[8]  Julian R. Ullmann,et al.  Partition search for non-binary constraint satisfaction , 2007, Inf. Sci..

[9]  Ian P. Gent,et al.  Short and Long Supports for Constraint Propagation , 2013, J. Artif. Intell. Res..

[10]  Christophe Lecoutre,et al.  Constraint Networks: Techniques and Algorithms , 2009 .

[11]  Toby Walsh,et al.  Global Constraints for Lexicographic Orderings , 2002, CP.

[12]  Peter Nightingale,et al.  Extending Simple Tabular Reduction with Short Supports , 2013, IJCAI.

[13]  Barry O'Sullivan,et al.  Search Strategies for Rectangle Packing , 2008, CP.

[14]  Eugene C. Freuder,et al.  The Complexity of Some Polynomial Network Consistency Algorithms for Constraint Satisfaction Problems , 1985, Artif. Intell..

[15]  Toby Walsh,et al.  Propagating Logical Combinations of Constraints , 2005, IJCAI.

[16]  Jörg Würtz,et al.  Constructive Disjunction Revisited , 1996, KI.

[17]  Jean-Charles Régin,et al.  Improving GAC-4 for Table and MDD Constraints , 2014, CP.

[18]  Carme Torras,et al.  Solving Strategies for Highly Symmetric CSPs , 1999, IJCAI.

[19]  Ian P. Gent,et al.  Data Structures for Generalised Arc Consistency for Extensional Constraints , 2007, AAAI.

[20]  Peter Nightingale,et al.  Implementing logical connectives in constraint programming , 2010, Artif. Intell..

[21]  Fahiem Bacchus,et al.  GAC on Conjunctions of Constraints , 2001, CP.

[22]  Jean-Charles Régin,et al.  A Fast Arc Consistency Algorithm for n-ary Constraints , 2005, AAAI.

[23]  Pascal Van Hentenryck,et al.  Optimal and efficient filtering algorithms for table constraints , 2013, Constraints.

[24]  Roland H. C. Yap,et al.  Optimizing STR Algorithms with Tuple Compression , 2013, CP.

[25]  Christophe Lecoutre,et al.  Generalized Arc Consistency for Positive Table Constraints , 2006, CP.

[26]  Toby Walsh,et al.  Propagation algorithms for lexicographic ordering constraints , 2006, Artif. Intell..

[27]  Olivier Lhomme Practical Reformulations With Table Constraints , 2012, ECAI.

[28]  Olivier Lhomme,et al.  Arc-Consistency Filtering Algorithms for Logical Combinations of Constraints , 2004, CPAIOR.

[29]  Toby Walsh,et al.  A Compression Algorithm for Large Arity Extensional Constraints , 2007, CP.