8.5 Complete Approximation Problems 113
P
⊆ FPTAS ⊆ PTAS ⊆ APX ⊆ NPO .
But by our current definitions it is not true that
APX ⊆ NPO. From every
decision problem, even non-computable problems, we obtain an
APX-problem
in the following way. For each instance x,letS(x)={0, 1} with 1 correspond-
ing to acceptance and 0 to rejection. Let the value of the correct decision be
2, and of the incorrect decision, 1. The corresponding maximization problem
belongs to
APX, since an output of 1 always has an approximation ratio of
at most 2. But if the decision problem is not computable, then the function
v(x, 1) is not computable either. Since
NPO contains all of the practically rel-
evant optimization problems, we will now restrict the classes
P, FPTAS, PTAS,
and
APX to problems in NPO, but continue to use the same notation. Once
we have restricted these classes in this manner, the containments listed above
are true.
Definition 8.5.2. An optimization problem A is
NPO-complete if it belongs
to
NPO and all problems from NPO can be ≤
PTAS
-reduced to A. APX-complete,
PTAS-complete, Max-NPO-complete and Min-NPO-complete are defined analo-
gously.
We know from our study of
NP-completeness that the main problem will
be to find the first complete problem. After that, since the ≤
PTAS
-reductions
are transitive, it will suffice to reduce a known complete problem to another
problem from the class being considered. Not until Chapter 12 will we be able
to use the PCP Theorem to show that
Max-3-Sat is APX-complete. But there
is a problem that we can show is
NPO-complete using classical methods. As we
already know,
Sat-problems are good candidates for the “first” complete prob-
lem. An instance of the maximum weight satisfiability problem (
Max-W-Sat)
consists of clauses and non-negative integer weights for the variables that ap-
pear in them. The solution set consists of all variable assignments. The value
of a satisfying assignment is the maximum of 1 and the total weight of all the
variables that are assigned 1. The value of other variable assignments is 1.
Lemma 8.5.3.
Max-W-Sat is Max-NPO-complete.
Proof. Clearly
Max-W-Sat belongs to Max-NPO.NowletA ∈ Max-NPO.Our
task is to design a ≤
PTAS
-reduction of A to Max-W-Sat.ForA, we consider
the following nondeterministic Turing machine. For each instance x of A,the
machine nondeterministically generates a possible solution s. For this phase,
any sequence of symbols of length at most p(|x|) is allowed, where p(n)isa
polynomial bounding |s| for all s ∈ S(x)andallx with |x| = n.Nowwecheck
whether s ∈ S(x). If so, we compute v(x, s), write s and v(x, s)tothetape
and enter an accepting state. If not, we enter a rejecting state. The positions
where s and v(x, s) are written are the same for all inputs of the same length.
Now we apply the transformation from the proof of Cook’s Theorem to this
Turing machine. Finally, we give the weights of the variables. For each j,