Course Solutions Uncategorized (Solved) : Max Sat Problem Given Formula M Clauses N Variables Want Find Truth Assignment Satisfies M Q29767592 . . . .

(Solved) : Max Sat Problem Given Formula M Clauses N Variables Want Find Truth Assignment Satisfies M Q29767592 . . . .

 

In the MAX SAT problem, we are given a formula ?? with m clausesover n variables and we want to find a truth assignment thatsatisfies as many clauses as possible.

Here is a simple randomized algorithm for this problem.

for each variable do

set its value to either 0 or 1 by flipping a coin

end for

(a) Suppose that the j-th clause has kj literals. Give theexpected number of clauses satisfied by the above algorithm andprovide a lower bound for this number in terms of the inputparameters.

(b) Next assume that each clause contains exactly k literals.Give the expected number of clauses satisfied now and

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post