TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to solve an NP-complete problem in linear time

12 点作者 sinab将近 6 年前

4 条评论

olliej将近 6 年前
It sounds (towards the end) that this is saying that accepting a approximation of correct is often good enough, and that can often be made polynomial time.<p>Which is of course correct. There are lots of algorithms where there exist theoretical minimum complexities, but good approximations can do far better: lossy compression for example vastly beats the Shannon limit, google maps doesn’t take decades to plot a route from San Francisco to New York, etc
评论 #20246668 未加载
bkberry352将近 6 年前
In the unlikely situation that you skipped to the comments without reading the linked article, the solution is to not solve the exact NP-complete problem since 99.95+% of the time, the linear time approximation algorithm is sufficient.
jsnider3将近 6 年前
Words cannot express how skeptical I am.<p>If noone writes a rebuttal to this within a week, I will accept that it might plausibly be able to do what the title claims.<p>Edit:<p>Actually, it seems like the claim in the article is different from the claim in the title. That&#x27;s misleading.
votepaunchy将近 6 年前
Demonstrates a clear lack of understanding of NP-completeness.<p>From the blog: &quot;There is a million dollar prize on offer for a solution to the P vs. NP problem, so it’s understandable that one may wonder whether this blog post is an official entry. It is not.&quot;<p>From [1]: &quot;If any NP-complete problem has a polynomial time algorithm, all problems in NP do.&quot;<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NP-completeness" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NP-completeness</a>