by chrisandchips · 3y ago · 0 comments
This is a really cool point, no one ever mentioned this to me when I learned about this stuff at university. I wonder though, is there data for this ? Are businesses willing to take the risk and how do they mitigate ?
I'm not sure how popular they are in the wild, but there are a lot of approximation algorithms as well for solving version of these problems that are almost-but-not-quite the same. I wonder if that's just what lots of real-world use cases actually need.
I remember in one lecture where the dude drew an unweighted graph on the board, claiming it to be in NP.
But he'd already proven it to be planar (by construction), which (and correct me if I'm wrong) simplifies the problem to P.
Vertex cover is NP-complete on planar graphs even if each vertex has at most three neighbors.
Travelling Salesman is NP-complete on planar graphs.
So is independent set, dominating set, 3-coloring...
This reduces the problem from finding the shortest hamiltonian cycle to finding any such cycle.