Re: basic query regarding NP Complete...
- From: Simon <count.numbers@xxxxxx>
- Date: Wed, 23 Aug 2006 08:54:53 +0200
Russell Easterly wrote:
"Simon" <count.numbers@xxxxxx> wrote in message
news:4l06s3Fe7aitU1@xxxxxxxxxxxxxxxxx
Russell Easterly wrote:
You could use MaxVertex Cover for your NP-Complete problem.How, in polynomial time?
Max Vertex Cover can be converted into a sorting problem.
I should have said Maximum Independent Set.
Max Vertex Cover is easy to solve.
If max vertex cover asks for a vertex cover with maximum cardinality, then yes,
it is easy :-) But max vertex cover is generally defined in a different way. But
let's forget about max vertex cover and look at max independent set.
And yes, if you can show such a conversion (in polynomial time)
then you can prove P=NP.
Then I'm missing your point. If I replace "vertex cover" by "independent set"
you said: "Max Independent Set can be converted into a sorting problem." So you
are saying P=NP?
For example, you can show that an ordering of vertices
such that the nth vertex in the ordering is the first vertex
that has an edge with a vertex that occurs earlier in the list,
then the graph has an independent set of at least size n-1.
Is there anything to show at all?
That's why I was asking what a "sorting problem" is. I know sorting as the task
of putting elements of a list into an order such that a_i <= a_(i+1) for all
i=1,...,n-1 according to some total order "<=". In general, NP contains only
decision problems and sorting is not a decision problem ("Is this list
sortable?" seems to be pretty pointless).
What you are specifying for your independent set ordering is not a total order,
since it is not even a relation defined on the set of vertices at all. It is
rather a property of a list. So it is not a reduction of independent set to sorting.
I assume you are referring to something different when talking about "sorting
problems" but then I find this a pretty confusing answer to someone who is
trying to understand NP-completeness :-)
Cheers,
Simon
.
- Follow-Ups:
- Re: basic query regarding NP Complete...
- From: Russell Easterly
- Re: basic query regarding NP Complete...
- References:
- basic query regarding NP Complete...
- From: Prakash
- Re: basic query regarding NP Complete...
- From: Kai Schories
- Re: basic query regarding NP Complete...
- From: Prakash
- Re: basic query regarding NP Complete...
- From: Russell Easterly
- Re: basic query regarding NP Complete...
- From: Simon
- Re: basic query regarding NP Complete...
- From: Russell Easterly
- basic query regarding NP Complete...
- Prev by Date: Re: basic query regarding NP Complete...
- Next by Date: Re: Diopantine Equations and comp science
- Previous by thread: Re: basic query regarding NP Complete...
- Next by thread: Re: basic query regarding NP Complete...
- Index(es):
Relevant Pages
|