Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Recall the MAX - 3 - SAT problem: given a set of clauses 1 , 2 , dots, , each a disjunction of 3 terms

Recall the MAX
-
3
-
SAT problem: given a set of clauses
1
,
2
,
dots,
,
each a disjunction of
3
terms over a set of variables
=
{
1
,
2
,
dots,
}
,
find a truth assignment of the variables that satisfies as many of the
clauses as possible.
(
a
)
(
3
points
)
In class we saw a very simple, polynomial
-
time, randomized algorithm for achieving a
7
8
approximation
(
in expectation
)
to the optimal solution of MAX
-
3
-
SAT. What was the algorithm? Give either a description of it in English or provide some brief pseudocode for it
.
(
b
)
(
2
points
)
We noted that an immediate consequence of this result in part
(
a
)
is the following fact: For every instance of
3
-
SAT, there exists an assignment of the boolean variables that satisfies at least a
7
8
fraction of all the clauses. That is
,
if
is the number of clauses, there is an assignment that satisfies at least
7
8
of them.

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

f. Did they change their names? For what reasons?

Answered: 1 week ago