Extending Simple Tabular Reduction with Short Supports

Constraint propagation is one of the key techniques in constraint programming, and a large body of work has built up around it. Special-purpose constraint propagation algorithms frequently make implicit use of short supports -- by examining a subset of the variables, they can infer support (a justification that a variable-value pair still forms part of a solution to the constraint) for all other variables and values and save substantial work. Recently short supports have been used in general purpose propagators, and (when the constraint is amenable to short supports) speed ups of more than three orders of magnitude have been demonstrated. In this paper we present SHORTSTR2, a development of the Simple Tabular Reduction algorithm STR2+. We show that SHORTSTR2 is complementary to the existing algorithms SHORTGAC and HAGGISGAC that exploit short supports, while being much simpler. When a constraint is amenable to short supports, the short support set can be exponentially smaller than the full-length support set. Therefore SHORTSTR2 can efficiently propagate many constraints that STR2+ cannot even load into memory. We also show that SHORTSTR2 can be combined with a simple algorithm to identify short supports from full-length supports, to provide a superior drop-in replacement for STR2+.

[1]  Subhash Khot,et al.  Hardness of Minimizing and Learning DNF Expressions , 2008, 2008 49th Annual IEEE Symposium on Foundations of Computer Science.

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

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

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

[5]  Roland H. C. Yap,et al.  An optimal coarse-grained arc consistency algorithm , 2005, Artif. Intell..

[6]  Ian P. Gent,et al.  Minion: A Fast Scalable Constraint Solver , 2006, ECAI.

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

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

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

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

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

[12]  Roland H. C. Yap,et al.  An MDD-based generalized arc consistency algorithm for positive and negative table constraints and some global constraints , 2010, Constraints.

[13]  Nils J. Nilsson,et al.  Artificial Intelligence , 1974, IFIP Congress.

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

[15]  Ian P. Gent,et al.  Exploiting Short Supports for Generalised Arc Consistency for Arbitrary Constraints , 2011, IJCAI.

[16]  Ian P. Gent,et al.  Generating Special-Purpose Stateless Propagators for Arbitrary Constraints , 2010, CP.