# What complexity class is the TSP problem?

Is the travelling salesman problem (TSP) $$FNP$$-complete or is it $$FP^{NP}$$-complete?

• It is better to make your question self-contained by including (some of) the relevant definitions, or links to Wikipedia – 6005 Jun 13 '20 at 22:13

It has been proven that TSP is $$FP^{NP}$$-complete but it remains an open question whether TSP is a function problem in $$FNP$$ (it probably is not). The reason is that, in the case of TSP, the optimal solution is not an adequate certificate, as we do not know how to verify in polynomial time that it is optimal.
You can see a proof that TSP is $$FP^{NP}$$-complete here, starting on page 418.