English

Reusing Comparator Networks in Pseudo-Boolean Encodings

Data Structures and Algorithms 2023-05-09 v2

Abstract

A Pseudo-Boolean (PB) constraint is a linear inequality constraint over Boolean literals. One of the popular, efficient ideas used to solve PB-problems (a set of PB-constraints) is to translate them to SAT instances (encodings) via, for example, sorting networks, then to process those instances using state-of-the-art SAT-solvers. In this paper we show an improvement of such technique. By using a variation of a greedy set cover algorithm, when adding constraints to our encoding, we reuse parts of the already encoded PB-instance in order to decrease the size (the number of variables and clauses) of the resulting SAT instance. The experimental evaluation shows that the proposed method increases the number of solved instances.

Keywords

Cite

@article{arxiv.2205.04129,
  title  = {Reusing Comparator Networks in Pseudo-Boolean Encodings},
  author = {Michał Karpiński and Marek Piotrów},
  journal= {arXiv preprint arXiv:2205.04129},
  year   = {2023}
}

Comments

Accepted to ICTAI 2022

R2 v1 2026-06-24T11:11:11.694Z