GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

MAX-3SAT

MAX-3SAT is a problem in the computational complexity subfield of computer science. It generalises the Boolean satisfiability problem (SAT) which is a decision problem considered in complexity theory. It is defined as: Given a 3-CNF formula Φ (i.e. with at most 3 variables per clause), find an assignment that satisfies the largest number of clauses. MAX-3SAT is a canonical complete problem for the complexity class MAXSNP (shown complete in Papadimitriou pg. 314). Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

MAX-3SAT is a problem in the computational complexity subfield of computer science. It generalises the Boolean satisfiability problem (SAT) which is a decision problem considered in complexity theory. It is defined as: Given a 3-CNF formula Φ (i.e. with at most 3 variables per clause), find an assignment that satisfies the largest number of clauses. MAX-3SAT is a canonical complete problem for the complexity class MAXSNP (shown complete in Papadimitriou pg. 314). The decision version of MAX-3SAT is NP-complete. Therefore, a polynomial-time solution can only be achieved if P = NP. An approximation within a factor of 2 can be achieved with this simple algorithm, however: Output the solution in which most clauses are satisfied, when either all variables = TRUE or all variables = FALSE. Every clause is satisfied by one of the two solutions, therefore one solution satisfies at least half of the clauses. The Karloff-Zwick algorithm runs in polynomial-time and satisfies ≥ 7/8 of the clauses. While this algorithm is randomized, it can be derandomized using, e.g., the techniques from to yield a deterministic (polynomial-time) algorithm with the same approximation guarantees. Enumerating all random strings R i ∈ V, we obtain poly(x) strings since the length of each string r(x) = O(\log |x|) . For each R i V chooses q positions i 1 ,...,i q and a Boolean function f R : {0,1} q ->{0,1} and accepts if and only if f R (π(i 1 ,...,i q )). Here π refers to the proof obtained from the Oracle. Next we try to find a Boolean formula to simulate this. We introduce Boolean variables x 1 ,...,x l , where l is the length of the proof. To demonstrate that the Verifier runs in Probabilistic polynomial-time, we need a correspondence between the number of satisfiable clauses and the probability the Verifier accepts. For every R, add clauses representing f R (x i1 ,...,x iq ) using 2 q SAT clauses. Clauses of length q are converted to length 3 by adding new (auxiliary) variables e.g. x 2 ∨ x 10 ∨ x 11 ∨ x 12 = ( x 2 ∨ x 10 ∨ y R ) ∧ ( R ∨ x 11 ∨ x 12 ). This requires a maximum of q2 q 3-SAT clauses. If z ∈ L then there is a proof π such that V π (z) accepts for every R i . All clauses are satisfied if x i = π(i) and the auxiliary variables are added correctly. If input z ∉ L then For every assignment to x 1 ,...,x l and y R 's, the corresponding proof π(i) = x i causes the Verifier to reject for half of all R ∈ {0,1} r(|z|) . For each R, one clause representing f R fails. Therefore, a fraction \frac{1}{2} \frac{1}{q2^{q}} of clauses fails. It can be concluded that if this holds for every NP-complete problem then the PCP theorem must be true. For every ε > 0, there is a PCP-verifier M for 3-SAT that reads a random string r of length and computes query positions i r , j r , k r in the proof π and a bit b r . It accepts if and only if π(i r ) ⊕ π(j r ) ⊕ π(k r ) = b r . The Verifier has completeness (1−ε) and soundness 1/2 + ε (refer to PCP (complexity)). The Verifier satisfies z \in L \implies \exists \pi Pr[V^{\pi} (z) = 1] \ge 1 - \epsilon z \not \in L \implies \forall \pi Pr[V^{\pi} (z) = 1] \le \frac{1}{2} + \epsilon If the first of these two equations were equated to "=1" as usual, one could find a proof π by solving a system of linear equations (see MAX-3LIN-EQN) implying P = NP. If z ∈ L, a fraction ≥ (1 − ε) of clauses are satisfied. If z ∉ L, then for a (1/2 − ε) fraction of R, 1/4 clauses are contradicted. This is enough to prove the hardness of approximation ratio \frac{1-\frac{1}{4}(\frac{1}{2}-\epsilon)}{1-\epsilon} = \frac{7}{8} + \epsilon' The best possible approximation ratio for MAX-3SAT(B), as a function of B, is at least 7/8+\Omega(1/B) and at most 7/8+O(1/\sqrt{B}) , unless NP=RP. Some explicit bounds on the approximability constants for certain values of B are known. Berman, Karpinski and Scott proved that for the "critical" instances of MAX-3SAT in which each literal occurs exactly twice, and each clause is exactly of size 3, the problem is approximation hard for some constant factor. MAX-EkSAT is a parameterized version of MAX-3SAT where every clause has exactly literals, for k ≥ 3. It can be efficiently approximated with approximation ratio 1- (1/2)^{k} using ideas from coding theory. It has been proved that random instances of MAX-3SAT can be approximated to within factor .

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"MAX-3SAT". 1788421130. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1372983793

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·