by devmor · 2w ago · 0 comments
You have to approach those with a goal of "be better than x" rather than "be exact".
Caveat that I am an amateur in this field, but given the Traveling Salesman problem in your example, if we aren't allowed to use an existing solver to check against, I'd aim for a suite of validation functions that certify different parts of reaching the solution like:
- validate properties of the logic that have to hold up, such as "shifting the order of my list of cities alone should never change the outcome"
- validate that the outcome never reaches above or below certain bounds that we know aren't possible due to trivial understanding of the problem
- validate that the outcome is always below some other algorithm we know is inefficient
Essentially, for most logic problems, checking validity is exponentially simpler than deriving a solution, but with optimization problems specifically, we are validating that the outcome is not wrong rather than is correct.
No comments yet.