Exploiting Short Supports for Improved Encoding of Arbitrary Constraints into SAT

Encoding to SAT and applying a highly efficient modern SAT solver is an increasingly popular method of solving finite-domain constraint problems. In this paper we study encodings of arbitrary constraints where unit propagation on the encoding provides strong reasoning. Specifically, unit propagation on the encoding simulates generalised arc consistency on the original constraint. To create compact and efficient encodings we use the concept of short support. Short support has been successfully applied to create efficient propagation algorithms for arbitrary constraints. A short support of a constraint is similar to a satisfying tuple however a short support is not required to assign every variable in scope. Some variables are left free to take any value. In some cases a short support representation is smaller than the table of satisfying tuples by an exponential factor. We present two encodings based on short supports and evaluate them on a set of benchmark problems, demonstrating a substantial improvement over the state of the art.

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

[2]  Ian Miguel,et al.  Automatically Improving SAT Encoding of Constraint Problems Through Common Subexpression Elimination in Savile Row , 2015, CP.

[3]  Peter J. Stuckey,et al.  Encoding Linear Constraints with Implication Chains to CNF , 2015, CP.

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

[5]  Yves Deville,et al.  The Smart Table Constraint , 2015, CPAIOR.

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

[7]  Peter J. Stuckey,et al.  MiniZinc with Functions , 2013, CPAIOR.

[8]  Fahiem Bacchus,et al.  GAC Via Unit Propagation , 2007, CP.

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

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

[11]  Armin Biere Lingeling, Plingeling and Treengeling Entering the SAT Competition 2013 , 2013 .

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

[13]  Niklas Sörensson,et al.  Translating Pseudo-Boolean Constraints into SAT , 2006, J. Satisf. Boolean Model. Comput..

[14]  K. Rustan M. Leino,et al.  Verification, Model Checking, and Abstract Interpretation : 17th International Conference, VMCAI 2016, St. Petersburg, FL, USA, January 17-19, 2016. Proceedings , 2016 .

[15]  Toby Walsh,et al.  Handbook of satisfiability , 2009 .

[16]  Ian P. Gent,et al.  Automatically Improving Constraint Models in Savile Row through Associative-Commutative Common Subexpression Elimination , 2014, CP.

[17]  Daniel Kroening,et al.  Automatic Generation of Propagation Complete SAT Encodings , 2016, VMCAI.

[18]  Peter Nightingale,et al.  Essence' Description , 2016, ArXiv.

[19]  Sharad Malik,et al.  Chaff: engineering an efficient SAT solver , 2001, Proceedings of the 38th Design Automation Conference (IEEE Cat. No.01CH37232).

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

[21]  Joao Marques-Silva Practical applications of Boolean Satisfiability , 2008, 2008 9th International Workshop on Discrete Event Systems.

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

[23]  Benjamin W. Wah,et al.  A discrete Lagrangian-based global-search method for solving satisfiability problems , 1996, Satisfiability Problem: Theory and Applications.

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

[25]  Albert Oliveras,et al.  Cardinality Networks: a theoretical and empirical study , 2011, Constraints.

[26]  Inês Lynce,et al.  Towards Robust CNF Encodings of Cardinality Constraints , 2007, CP.