r/computerscience • • Nov 28 '20

Scientists create the most efficient algorithm for the Traveling Salesman Problem (TSP) to date. Solving this problem would lead to many breakthroughs outside the field as computer science such as the ability to cure cancer.

202 Upvotes

25 comments sorted by

View all comments

Show parent comments

41

u/Techfreak102 Nov 28 '20

To be fair, if they found a polynomial time algorithm to solve the TSP, then we would be able to solve cancer pretty quick. I want to say I learned in my masters Automata course that cancer gene sequencing/unraveling problems are in NPC, so if we had a P solution to TSP, we’d have a P solution to those cancer related problems. It wouldn’t be too far off as I understood it at the time

3

u/adzawie Nov 28 '20

If the polynomial time algorithm is O(ngoogleplex ), then practically it’s still not computationally tractable...

-2

u/Techfreak102 Nov 28 '20

Well, that isn’t really realistic even if P=NP (which obviously it doesn’t). This is still an algorithm that someone is creating, so realistically you wouldn’t see anything beyond the possibility of an actual programmer. I’m pretty sure the worst problem I came across in my masters work that was borderline NP, but proven to actually be P, had something like a bound of O(n1000). So, ridiculous, but not that ridiculous when talking about super computers

1

u/tim466 Nov 29 '20

n1000 would be ridiculous plus there might be a huge constant.