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 $(\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 $\sqrt{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 \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 $r$-SAT with planar incidence graphs, we devise a factor-$(1 - \epsilon)$ approximation scheme which computes assignments in time $n^{O(r / \epsilon)}$ and uses $\max\{\sqrt{n} \log{n}, (r / \epsilon) \log^2{n}\}$ bits of space.
翻译:在 最大 $ = SAT 问题中, 输入是一个 CNF 公式, 含有 $n 变量, 其中每个条款都是 $ $ 的脱钩 。 目标是计算一个尽可能满足多个条款的任务 。 虽然对此问题有大量的多元时间近似算法, 但是在 [ Biswas et al., Algorithmica 2021] 之后, 我们从空间复杂性的角度来看待 。 我们显示, 为流动模型设计的 [利贝勒和斯派克, JACM 1981] 经典算法可以以 $ O(1) 美元运行 。 使用 $ (log{n} } $ 。 虽然更先进的算法使用线性或半确定性的程序, 似乎更难在亚线性空间中执行。 我们显示, 用于流动模型的 $ sqr = = 美元 。 comliar_ = 2. [CFOC 2020] 的较近的算法, 可以用时间 = 美元 。