A comparison of encodings for cardinality constraints in a SAT solver

10/27/2018
by   Ed Wynn, et al.
0

Cardinality constraints are important in many Sat problems; previous studies provide contradictory conclusions about the best encoding to use. Here, three encodings are compared: Sinz's sequential-counter, Bailleux and Boufkhad's tree-based, and Abío and coworkers' sort-based approaches. The sequential-counter approach is found to be the fastest of these for a range of related, combinatorial test cases. All encodings permit multiple solutions in the auxiliary variables for a single solution to the main variables; the numbers of multiple solutions can be very large, and might impede a Sat solver. Variants of the encodings are developed, where extra clauses reduce the numbers of multiple solutions. These variants are found to have remarkably little effect on solution time, even when the number of clauses is approximately doubled. The results accentuate the well-known observation that clause count and other measures of encoding size are not reliable indicators of the difficulty of a Sat problem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/02/2018

A SAT Encoding for the n-Fractions Problem

This note describes a SAT encoding for the n-fractions puzzle which is p...
research
05/12/2020

Yet Another Comparison of SAT Encodings for the At-Most-K Constraint

The at-most-k constraint is ubiquitous in combinatorial problems, and nu...
research
05/07/2011

Solving Rubik's Cube Using SAT Solvers

Rubik's Cube is an easily-understood puzzle, which is originally called ...
research
05/19/2023

Evolutionary Diversity Optimisation in Constructing Satisfying Assignments

Computing diverse solutions for a given problem, in particular evolution...
research
08/20/2014

Incremental Cardinality Constraints for MaxSAT

Maximum Satisfiability (MaxSAT) is an optimization variant of the Boolea...
research
05/28/2020

Unlucky Explorer: A Complete non-Overlapping Map Exploration

Nowadays, the field of Artificial Intelligence in Computer Games (AI in ...
research
01/20/2018

A high-performance analog Max-SAT solver and its application to Ramsey numbers

We introduce a continuous-time analog solver for MaxSAT, a quintessentia...

Please sign up or login with your details

Forgot password? Click here to reset