Page 1 of 1

Suggestions required on NP Complete Problem

Posted: Thu Dec 11, 2008 3:52 am
by ChPravin
Hello everyone,

Please give in your ideas and suggestions to this problem:

Given a directed graph G = (V,E) and a positive integer
k, we wish to determine whether there is a subset V ? ? V of size k such that
every cycle in G contains at least one vertex in V ?. Show that this problem
is NP-complete.

Thanks & Regards,

Re: Suggestions required on NP Complete Problem

Posted: Thu Oct 22, 2009 7:06 am
by gajaykrishnan
Well you can do this by reducing HAMCYCLE to your problem.
Adding a restriction of k=|V|, your problem is equivalent to deciding for HAMCYCLE. Since the restricted version is already known to be NP-complete, the unrestricted version (your problem) is also NP-complete.
I hope you can flush out this proof.

Re: Suggestions required on NP Complete Problem

Posted: Thu Oct 22, 2009 10:30 pm
by mf
No, that's not it. Read the problem more carefully. When k=|V|, the answer is trivially always "yes".

Re: Suggestions required on NP Complete Problem

Posted: Thu Oct 22, 2009 10:37 pm
by mf
Looks like this problem is called 'Maximum Acyclic Subgraph' in literature.