Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In the MAX SAT problem, we are given a formula ?? with m clauses over n variables and we want to find a truth assignment

In the MAX SAT problem, we are given a formula ?? with m clauses over n variables and we want to find a truth assignment that satisfies 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 the expected number of clauses satisfied by the above algorithm and provide a lower bound for this number in terms of the input parameters.

(b) Next assume that each clause contains exactly k literals. Give the expected number of clauses satisfied now and provide a lower bound for this number. How does it compare to the lower bound above?

(c) Now de-randomize the above algorithm as follows: instead of flipping a coin for each variable, select the value that satisfies the most as-yet-unsatisfied clauses. Give a lower bound for the number of clauses satisfied by this deterministic algorithm.

Hint: let L_i be the number of clauses containing at least one of the variables {x_1, . . . , x_i}. Show that after i variables have been assigned, the number of satisfied clauses is greater than L_i/2.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

10. Are you a. a leader? b. a follower? _______

Answered: 1 week ago

Question

What did they do? What did they say?

Answered: 1 week ago