The Impact of Literal Sorting on Cardinality Constraint Encodings
Joseph E. Reeves, João Filipe, Min-Chien Hsu, Ruben Martins, Marijn J. H. Heule
Abstract
The effectiveness of satisfiability solvers strongly depends on the quality of the encoding of a given problem into conjunctive normal form. Cardinality constraints are prevalent in numerous problems, prompting the development and study of various types of encoding. We present a novel approach to optimizing cardinality constraint encodings by exploring the impact of literal orderings within the constraints. By strategically placing related literals nearby each other, the encoding generates auxiliary variables in a hierarchical structure, enabling the solver to reason more abstractly about groups of related literals. Unlike conventional metrics such as formula size or propagation strength, our method leverages structural properties of the formula to redefine the roles of auxiliary variables to enhance the solver's learning capabilities. The experimental evaluation on benchmarks from the maximum satisfiability competition demonstrates that literal orderings can be more influential than the choice of the encoding type. Our literal ordering technique improves solver performance across various encoding techniques, underscoring the robustness of our approach.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext af0c5d75-ecfc-43ce-8b98-07908a54c00dBuilds on1
Related papers
- Ordered Objectives in Maximum SatisfiabilityJeremias Berg, André Schidler, Matti JärvisaloAAAI 2026
- A Cardinal Improvement to Pseudo-Boolean SolvingJan Elffers, Jakob NordströmAAAI 2020 · 9 citations
- FourierSAT: A Fourier Expansion-Based Algebraic Framework for Solving Hybrid Boolean ConstraintsAnastasios Kyrillidis, Anshumali Shrivastava, Moshe Y. Vardi, Zhiwei ZhangAAAI 2020 · 20 citations
- Cutting to the Core of Pseudo-Boolean Optimization: Combining Core-Guided Search with Cutting Planes ReasoningJo Devriendt, Stephan Gocht, Emir Demirovic, Jakob Nordström et al.AAAI 2021 · 31 citations
- Online Bayesian Moment Matching based SAT Solver HeuristicsHaonan Duan, Saeed Nejati, George Trimponias, Pascal Poupart et al.ICML 2020 · 7 citations
