Sublinear-Space Approximation Algorithms for Max r-SAT

07/04/2021
by   Arindam Biswas, et al.
0

In the Max r-SAT problem, the input is a CNF formula with n variables where each clause is a disjunction of at most r 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 n^O(1) time while using (logn) 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 [Chou et al., FOCS 2020], designed for the streaming model, can be implemented to run in time n^O(r) using O(r logn) 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 r-SAT with planar incidence graphs, we devise a factor-(1 - ϵ) approximation scheme which computes assignments in time n^O(r / ϵ) and uses max{√(n)logn, (r / ϵ) log^2n} bits of space.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset