Question: Recall the MAX - 3 - SAT problem: given a set of clauses C 1 , C 2 , dots, C k , each a
Recall the MAXSAT problem: given a set of clauses dots, each a disjunction of terms over a set of variables dots, find a truth assignment of the variables that satisfies as many of the clauses as possible.
a points In class we saw a very simple, polynomialtime, randomized algorithm for achieving a approximation in expectation to the optimal solution of MAXSAT. What was the algorithm? Give either a description of it in English or provide some brief pseudocode for it
b points We noted that an immediate consequence of this result in part a is the following fact: For every instance of SAT, there exists an assignment of the boolean variables that satisfies at least a fraction of all the clauses. That is if is the number of clauses, there is an assignment that satisfies at least of them.
What does the above fact imply about instances of SAT that have clauses?
Hint to get you going here: suppose we have an instance of SAT with clauses. For such an instance, according to this fact, at least how many of the clauses can be satisfied? Now what if
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
