0

What's the difference between traveling-salesman problem and Chinese postman problem From a Time complexity perspective? I mean which one is more time complexity between TSP and CPP ?

Guy Coder
  • 24,501
  • 8
  • 71
  • 136

1 Answers1

0

Chinese postman problem can be solved in polynomial time (https://en.wikipedia.org/wiki/Route_inspection_problem), TSP is NP complete (https://en.wikipedia.org/wiki/Travelling_salesman_problem).

So unless P=NP, the travelling salesman problem has a higher time complexity.

Daniel Junglas
  • 5,830
  • 1
  • 5
  • 22