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

AI-generated keywords: At-most-k constraint Binary-adder encoding Sequential-counter encoding Parallel-counter encoding Pigeonhole problem

AI-generated Key Points

  • Sequential-counter encoding is competitive for k > 1
  • Parallel-counter encoding is more compact than binary-adder encoding but lacks arc consistency through unit propagation
  • Binary-adder encoding performs remarkably well for the at-most-k constraint
  • Experiment evaluates encodings using the pigeonhole problem as a benchmark
  • Encodings are tested based on CPU time using Maple SAT solver
  • Table 1 compares encodings for at-most-one constraint in terms of CPU time, showing small and unsatisfiable instances as well as large and satisfiable instances
  • Table 2 compares encodings for ≤k (where k > 1) based on CPU time, consistently showing binary-adder encoding performing better than sequential counter and parallel counter encodings across various instances
  • Complete adders and enforcement of cardinality on all new variables contribute to superior speed of binary-adder encoding
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Neng-Fa Zhou

License: CC ZERO 1.0

Abstract: The at-most-k constraint is ubiquitous in combinatorial problems, and numerous SAT encodings are available for the constraint. Prior experiments have shown the competitiveness of the sequential-counter encoding for k $>$ 1, and have excluded the parallel-counter encoding, which is more compact that the binary-adder encoding, from consideration due to its incapability of enforcing arc consistency through unit propagation. This paper presents an experiment that shows astounding performance of the binary-adder encoding for the at-most-k constraint.

Submitted to arXiv on 12 May. 2020

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2005.06274v1

This paper presents a comparison of SAT encodings for the at-most-k constraint, which is commonly used in combinatorial problems. Previous experiments have shown that the sequential-counter encoding is competitive for k > 1. The parallel-counter encoding is more compact than the binary-adder encoding but has been excluded due to its inability to enforce arc consistency through unit propagation. This paper introduces an experiment that demonstrates the remarkable performance of the binary-adder encoding for the at-most-k constraint. The experiment evaluates different encodings using the pigeonhole problem as a benchmark. The goal of this problem is to assign P pigeons to H holes, with each hole capable of holding up to K pigeons. The encodings are tested based on their CPU time using the Maple SAT solver. Table 1 provides a comparison of encodings for the at-most-one constraint in terms of CPU time and shows that some instances are small and unsatisfiable while others are large and satisfiable. Table 2 further compares encodings for ≤k (where k > 1) based on CPU time and reveals that the binary-adder encoding consistently performs better than both sequential counter and parallel counter encodings across various instances. The use of complete adders and enforcement of cardinality on all new variables contribute to its superior speed. In conclusion, this experiment demonstrates that the binary adder encoding exhibits astounding performance for solving combinatorial problems with the at most k constraint compared to other encodings such as sequential counter and parallel counter.
Created on 05 Sep. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.