Computability and Complexity - PowerPoint PPT Presentation

About This Presentation
Title:

Computability and Complexity

Description:

If P NP, then Max Independent Set and. Max Clique are not approximable ... Let G be a graph with n vertices, and let a maximal independent set of G has size k ... – PowerPoint PPT presentation

Number of Views:15
Avg rating:3.0/5.0
Slides: 16
Provided by: computingl
Category:

less

Transcript and Presenter's Notes

Title: Computability and Complexity


1
Computability and Complexity
25-1
Non-Approximability
Computability and Complexity Andrei Bulatov
2
Computability and Complexity
25-2
Optimization and Errors
In an optimization problem, for every possible
instance x we have a set S(x) of feasible
solutions for every solution y ? S(x), we
a positive goodness m(x,y) optimization
parameter opt ? min,max
To solve an optimization problem we must find for
any given x ? I, a solution y ? S(x) such that
The optimal value will be denoted OPT(x)
The relative error of a solution y (with
respect to an instance x) is
3
Computability and Complexity
25-3
FPAS
We have seen that some optimization problems can
be approximated within some fixed relative error
in polynomial time
It turns out that for some NP-hard optimization
problems we can do even better
some problems can be efficiently approximated
within any desired relative error
4
Computability and Complexity
25-4
Example
Like Knapsack, this problem has a dynamic
programming solution with time complexity in
O(nS), where , and hence
in
This is a pseudo-polynomial time algorithm
We can use this to get an approximate solution
efficiently by truncating the x values
5
Computability and Complexity
25-5
  • We have

6
Computability and Complexity
25-6
  • Hence
  • The time complexity of the truncated problem
    is in

7
Computability and Complexity
25-7
Which Problems have an FPAS
The truncation techniques we have just used is
quite general and can be applied to many problems
with a pseudo-polynomial time algorithm
Theorem There is
a FPAS for Minimal Partition,
Knapsack, Subset Sum,
Conversely, it can be shown that NP-hard
optimization problems whose instances do not
contain numbers normally do not have an FPAS
(unless P NP)
Theorem If P ?
NP, then there is no FPAS for Max-SAT,
Max-2-SAT, Vertex Cover,
8
Computability and Complexity
25-8
TSP
Theorem If P ?
NP, then TSP is not approximable
Proof
Suppose for contradiction that there is an
?-approximating algorithm for TSP that is, for
any collection of cities and distances between
them, the algorithm finds a tour of length l
such that
We use this algorithm to solve Hamilton Circuit
in polynomial time
9
Computability and Complexity
25-9
For any graph G (V,E), construct an instance
of TSP as follows
  • Let the set of cities be V
  • If G has a Hamilton Circuit, then it has a
    tour of length V

Hence the ?-approximating algorithm would find a
tour of length l such that
10
Computability and Complexity
25-10
More Non-Approximability
11
Computability and Complexity
25-11
Observation For a
graph G with n vertices, the following
conditions are equivalent
  • G has a vertex cover of size k
  • G has an independent set of size n k

Theorem If P ?
NP, then Max Independent Set and Max
Clique are not approximable
12
Computability and Complexity
25-12
Proof
We prove a weaker result
If there is an ?-approximating algorithm for
Max Independent Set then there is a FPAS for
this problem
13
Computability and Complexity
25-13
14
Computability and Complexity
25-14
Let G be a graph with n vertices, and let a
maximal independent set of G has size k
15
Computability and Complexity
25-15
Write a Comment
User Comments (0)
About PowerShow.com