English

Sublinear-Space Approximation Algorithms for Max r-SAT

Data Structures and Algorithms 2021-07-06 v1

Abstract

In the Max rr-SAT problem, the input is a CNF formula with nn variables where each clause is a disjunction of at most rr literals. The objective is to compute an assignment which satisfies as many of the clauses as possible. While there are a large number of polynomial-time approximation algorithms for this problem, we take the viewpoint of space complexity following [Biswas et al., Algorithmica 2021] and design sublinear-space approximation algorithms for the problem. We show that the classical algorithm of [Lieberherr and Specker, JACM 1981] can be implemented to run in nO(1)n^{O(1)} time while using (logn)(\log{n}) bits of space. The more advanced algorithms use linear or semi-definite programming, and seem harder to carry out in sublinear space. We show that a more recent algorithm with approximation ratio 2/2\sqrt{2}/2 [Chou et al., FOCS 2020], designed for the streaming model, can be implemented to run in time nO(r)n^{O(r)} using O(rlogn)O(r \log{n}) bits of space. While known streaming algorithms for the problem approximate optimum values and use randomization, our algorithms are deterministic and can output the approximately optimal assignments in sublinear space. For instances of Max rr-SAT with planar incidence graphs, we devise a factor-(1ϵ)(1 - \epsilon) approximation scheme which computes assignments in time nO(r/ϵ)n^{O(r / \epsilon)} and uses max{nlogn,(r/ϵ)log2n}\max\{\sqrt{n} \log{n}, (r / \epsilon) \log^2{n}\} bits of space.

Keywords

Cite

@article{arxiv.2107.01673,
  title  = {Sublinear-Space Approximation Algorithms for Max r-SAT},
  author = {Arindam Biswas and Venkatesh Raman},
  journal= {arXiv preprint arXiv:2107.01673},
  year   = {2021}
}