News for hackers. Stuff that matters.
Re:Solving NP-hard puzzles with the oldest trick in the book by master_yoda_1 on Thursday October 14, 2021 @11:41AM (#28865822)
I request the moderator of hn to please flag this post. This fraud is claiming to solve np hard problem in title and some jokers at hn make it to the front page of hn
Re:Solving NP-hard puzzles with the oldest trick in the book by Delk on Thursday October 14, 2021 @12:09PM (#28866211)
I didn't read the title that way. You can have a (heuristic) solver that finds solutions to some instances of an NP-hard problem in reasonable time. That's not the same as claiming to have an algorithm that, in the strict theoretical CS sense, would solve that problem (i.e. all instances of it) in polynomial time. The latter claim would be highly suspicious by default; the former need not be, as it doesn't imply anything extraordinary.

Quote from OP in another comment:

> I think a better way to phrase it is that we are writing a solver for a reasonable subset of inputs to an NP-hard problem.

Re:Solving NP-hard puzzles with the oldest trick in the book by master_yoda_1 on Thursday October 14, 2021 @01:08PM (#28866988)
Many expert spend life on approximation of np hard problem. For the name of holy God if you don’t understand something then please don’t trivialize it.
Re:Solving NP-hard puzzles with the oldest trick in the book by perl4ever on Thursday October 14, 2021 @10:58PM (#28873660)
Was the headline changed from "problem" to "puzzle"?
Re:Solving NP-hard puzzles with the oldest trick in the book by lostmsu on Friday October 15, 2021 @03:58PM (#28882402)
Is this even a NP-hard problem?
Re:Solving NP-hard puzzles with the oldest trick in the book by taintegral on Friday October 15, 2021 @07:08PM (#28884171)
I would really enjoy a proof that it is not!
Re:Solving NP-hard puzzles with the oldest trick in the book by gwern on Thursday October 14, 2021 @11:52AM (#28865984)
Could you be more specific about the fraud? Optimizing your code to use appropriate data structures, and using state reduction to remove symmetries and duplicate states seems like a perfectly cromulent way of reducing a problem to its true core, which may be small enough to bruteforce.
Re:Solving NP-hard puzzles with the oldest trick in the book by master_yoda_1 on Thursday October 14, 2021 @01:06PM (#28866959)
Claiming to solve np hard problem is a fraud. Just put optimizing code in title.
Re:Solving NP-hard puzzles with the oldest trick in the book by throwaway81523 on Thursday October 14, 2021 @02:08PM (#28867794)
> Claiming to solve np hard problem is a fraud.

Claiming to solve an np hard problem in polynomial time on all inputs would be either a fraud or a breakthrough. This is not such a claim. The algorithm is organized to perform well on many but not all inputs--its worst case is exponential time and it doesn't pretend to be otherwise. If you play chess against a chess engine like Stockfish, the exact same thing is going on, and in fact the algorithms involved are closely related to the one in the article.

Re:Solving NP-hard puzzles with the oldest trick in the book by perl4ever on Thursday October 14, 2021 @10:57PM (#28873645)
I'd suggest that maybe "puzzle" has a slightly different connotation than "problem".

I think a "puzzle" is a concrete instance of a more formal and abstract "problem".

So I don't think claiming to solve an instance (or many!) of a problem is inappropriate.

Re:Solving NP-hard puzzles with the oldest trick in the book by kbelder on Thursday October 14, 2021 @03:21PM (#28868759)
People solve specific np-hard problems all the time, every day. They just don't solve THE np-hard problem.