News for hackers. Stuff that matters.
Re:Tesla's Simultaneous Brilliance and Incompetence Revealed... by mygo on Saturday April 28, 2018 @12:35AM (#16946081)
You can use the decision version of an optimization problem to answer the optimization problem.

For example when you're looking for the fastest route, you're not directly asking "is this the fastest route?" You're asking "Is there a route shorter than length x?" It's a yes or no question, that's easy to verify given a certificate. If the answer is "yes" then the certificate is a route produced that is shorter than length x.

Assuming the existence of an algorithm that can reliably produce a verifiable "yes" with a certificate or "no", you ask "Is there a route shorter than length x?" and if the answer is yes (which you can easily verify), you keep reducing the length of x in the question until the answer to the question is not yes (no certificate can be produced). The certificate of the limiting "yes" is the optimal solution.

Re:Tesla's Simultaneous Brilliance and Incompetence Revealed... by tlb on Sunday April 29, 2018 @05:35PM (#16954035)
That technique isn't as powerful as sometimes believed. In your example, you've assumed the uncomputable thing, an algorithm which reliably produces a solution to a problem for which one exists. Consider, "Is there a proof in fewer than x lines of the Riemann hypothesis?"
Re:Tesla's Simultaneous Brilliance and Incompetence Revealed... by mygo on Monday April 30, 2018 @09:03AM (#16958214)
I don’t think that a candidate solution to your problem statement can be deterministically verified in polynomial time.

Any candidate solution produced would be subjective to the interpreter who is verifying it as to whether it satisfies the requirements of a proof (maybe they want more definitions, less shorthand notation, maybe in french, references in APA style with full names, etc, all of which would effect the length of the proof).

So whereas a candidate solution to your question is difficult to verify, it is not in this P vs NP discussion.