In terms of worst-case asymptotic runtime, which NP-complete problem has the fastest-known (exact) algorithm and what is the algorithm? Is there something known that is faster than $O(n^2*2^n)$?
-
$\begingroup$ What algorithm has running time $O(n^2 \cdot 2^n)$? EDIT: I assume you mean the Held–Karp algorithm for Traveling Salesman. $\endgroup$Guildenstern– Guildenstern2014年05月04日 21:29:35 +00:00Commented May 4, 2014 at 21:29
-
3$\begingroup$ You can take a look at the answers to the question Are there subexponential-time algorithms for NP-complete problems?. $\endgroup$Ainsley H.– Ainsley H.2014年05月04日 22:05:05 +00:00Commented May 4, 2014 at 22:05
-
$\begingroup$ "Faster than $O(\_)$" does not make sense. You mean $\Theta$? Or is the question, "Is there an algorithm with a better proven upper runtime bound than $O(\_)$?" $\endgroup$Raphael– Raphael2014年05月05日 06:53:03 +00:00Commented May 5, 2014 at 6:53
-
$\begingroup$ The latter. It's valid point; there could be an algorithm A that's faster than B in practice but not with a tighter upper bound. I'm not sure why it doesn't make sense to say "faster than an upper bound" rather than "faster than a lower AND upper bound"... $\endgroup$Wuschelbeutel Kartoffelhuhn– Wuschelbeutel Kartoffelhuhn2014年05月05日 13:19:03 +00:00Commented May 5, 2014 at 13:19
1 Answer 1
Vertex Cover has an algorithm running in time 1ドル.2738^k + nk,ドル and is thus faster than 2ドル^n n^2,ドル even with $k=n$. You can check out Table of FPT races for a short list of FPT running times of different problems. Here, $n$ is the number of vertices and $k$ is the solution size.
Also, the question Are there subexponential-time algorithms for NP-complete problems? addresses similar questions.
-
$\begingroup$ The questions asks for fastest known algorithms and the table you link to does have "faster" algorithms than the VC one (in particular subexponential ones), so it's probably not the best to cite. $\endgroup$Raphael– Raphael2014年05月05日 15:18:57 +00:00Commented May 5, 2014 at 15:18
-
2$\begingroup$ See also this similar question and David Eppstein's answer Best-case Running-time to solve an NP-Complete problem on mathoverflow. $\endgroup$Ainsley H.– Ainsley H.2014年05月05日 15:35:53 +00:00Commented May 5, 2014 at 15:35
-
$\begingroup$ @Raphael Yes, for instance Minimum Fill-In has an algorithm which for every $\epsilon > 0,ドル runs in $O( (1+\epsilon)^k + \text{poly}(n))$ time. $\endgroup$Ainsley H.– Ainsley H.2015年04月26日 03:52:22 +00:00Commented Apr 26, 2015 at 3:52
Explore related questions
See similar questions with these tags.