The Kth Traveling Salesman Problem is Pseudopolynomial when TSP is polynomial
Brahim Chaourar

TL;DR
This paper demonstrates that the Kth Traveling Salesman Problem becomes pseudopolynomial solvable when the classical TSP can be solved in polynomial time, highlighting a nuanced complexity relationship.
Contribution
It establishes that KthTSP is pseudopolynomial under the condition that TSP is polynomial, providing new insights into the problem's complexity.
Findings
KthTSP is NP-hard for fixed K.
KthTSP is pseudopolynomial if TSP is polynomial.
The result links TSP complexity to the KthTSP variant.
Abstract
Given an undirected graph with a weight function , and a positive integer , the Kth Traveling Salesman Problem (KthTSP) is to find Hamilton cycles such that, for any Hamilton cycle , we have . This problem is NP-hard even for fixed. We prove that KthTSP is pseudopolynomial when TSP is polynomial.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimization and Packing Problems · Advanced Graph Theory Research · Advanced Combinatorial Mathematics
The Kth Traveling Salesman Problem is Pseudopolynomial when TSP is polynomial
Brahim Chaourar
Department of Mathematics and Statistics, Al Imam University (IMSIU), P.O. Box 90950, Riyadh 11623, Saudi Arabia
Correspondence address: P.O. Box 287574, Riyadh 11323, Saudi Arabia
Abstract.
Given an undirected graph with a weight function , and a positive integer , the Kth Traveling Salesman Problem (KthTSP) is to find Hamilton cycles such that, for any Hamilton cycle , we have . This problem is NP-hard even for fixed. We prove that KthTSP is pseudopolynomial when TSP is polynomial.
2010 Mathematics Subject Classification: Primary 90C27, Secondary 90C57.
Key words and phrases: K best solutions, Traveling Salesman Problem, Kth best Traveling Salesman Problem, pseudopolynomial.
1. Introduction
Sets and their characterisitic vectors will not be distinguished. We refer to Bondy and Murty [1] and Schrijver [17] about, respectively, graph theory and polyhedra terminolgy and facts.
Given an undirected graph with a weight function , and a positive integer , the Kth Traveling Salesman Problem (KthTSP) is to find distinct Hamilton cycles such that, for any Hamilton cycle , we have . Since KthTSP is the famous TSP for , then KthTSP is NP-hard even for fixed. KthTSP is motivated by searching near optimal solutions with some special properties: when in addition of the TSP comstraints, ”there are some other wich might be difficult to consider explicitly in a mathematical model, or if considered, would increase largely the size of the model. By finding the best, second best, …, Kth best solution, we are able to sequentially verify these solutions with respect to the additional constraints and stop when a solution that satisfies all of them is found” [19]. Another motivation is that if, for any reason, the route of the best solution is unavailable, then alternate solutions (routes) are desirable [16].
Finding K best solutions of an optimization problem in general has been studied by few authors [11, 14, 15, 18] and almost the same situation happened for particular problems [2, 3, 4, 5, 6, 9, 10, 12, 13, 15].
The remainder of the paper is organized as follows: in section 2, we give an algorithm for finding K best solutions for a general model containing KthTSP, then, in section 3, we apply this algorithm to KthTSP and deduce that it is polynomial on and when TSP is polynomial. And we conclude in section 4.
2. An Algorithm for Finding K Best Solutions of a Large Class of Combinatorial Optimization Problems
Let be a polyhedra, be the number of its facets, be the set of all neighbors of an extreme point , the Kth best solution in , regarding to a given weight function and a given positive integer .
Based on the following property, an algorithm has been used for particular problems [5, 6].
Proposition 2.1**.**
For any positive integer such that ,
[TABLE]
Since selecting best numbers from a list of numbers requires a running time complexity of [7], solving an system of linear equations is [8], and if is the running time complexity for finding the best solution on , then we have the following two consequences.
Corollary 2.2**.**
The running time complexity for finding K best solutions of regarding to a given weight function is where is the maximum cardinality of all .
Since can be bounded by then:
Corollary 2.3**.**
The running time complexity for finding K best solutions of regarding to a given weight function is .
Corollary 2.4**.**
If and are polynomial on then finding K best solutions of is pseudopolynomial, i.e., polynomial on and .
We will propose now a new algorithm which generalizes one used in [11] for the Kth Best Base of a Matroid (KBBM).
Let us give a general model of combinatorial objects containing Hamilton cycles.
Let be a finite set and . We say that is an -bases system, where is a positive integer, if the following conditions hold:
- (1)
such that ; 2. (2)
there exists a positive integer such that , for any ; 3. (3)
for any , there exist , , and such that , and .
Such pair verifying the condition (3) is called an -exchangeable pair.
Note that bases of a matroid form a 1-bases system and we will prove that Hamilton cycles of a complete graph form a 2-bases system.
We have then the following property for K best solutions of -bases system.
Theorem 2.5**.**
Given a weight function and a jth -best solution (of ) . If is an -exchangeable pair such that such that is an -exchangeable pair and }, then is a (j+1)th -best solution of .
Proof.
By induction on .
By using the condition (3) of the definition of -bases systems, any can be expressed as for some -exchangeable pairs . Since is a -best solution then -exchangeable pairs such that }=. Thus . So is the 2nd -best solution.
Suppose now that and let be the ith -best solution for .
For any subset we can get a and ( gives itself and gives the -best solution). It follows that because of a similar argument as for . ∎
This proof gives an algorithm for finding K best solutions in -bases systems. The algorithm consists of finding the best solution first () and then the 2nd best by adding a subset to the (best) solution (), finding the matched subsets of our (best) solution forming an -echangeable pair () and choosing the best subset of this solution forming an exchangeable pair (). By repeating this procedure times, the running time complexity of this algorithm is where is the running time complexity of the oracle used to find exchangeable pairs.
3. KthTSP is pseudopolynomial when TSP is polynomial
First we need to prove that Hamilton cycles of a complete graph verify the properties (1)-(3) of -bases systems.
Theorem 3.1**.**
Hamilton cycles of a complete graph form a 2-bases system.
Proof.
For Hamilton cycles, E is the set of edges of a given complete graph .
Property (1): It is clear that .
Property (2): It is clear that .
Property (3): Let and two distinct Hamilton cycles and . We will prove this property by induction on .
If (respectively 3) then let and . It is not difficult to see that , (respectively ) and is an -exchangeable pair.
If (respectively ), with , then there exists a circuit (of cardinality 4) such that , , and is a Hamilton cycle. It is clear that . By induction, can be expressed in means of and -exchangeable pairs. If then we are done. Else, one of the removed -exchangeable pairs should contain and by subsituting , we will get an -exchangeable pair with components of cardinality 3. ∎
Since finding exchangeable pairs corresponds to choose 2 nonadjacent edges (respectively 3 edges) from a Hamilton cycle and to find 2 nonadjacent edges (respectively 3 edges) such that exchanging between them gives a new Hamilton cycle then . It follows that the running time complexity of our algorithm for KthTSP is . Then we can state our main result.
Corollary 3.2**.**
KthTSP is pseudopolynomial when TSP is polynomial.
Proof.
If TSP is polynomial for (special instances of) complete graphs then is polynomial and we are done.
If TSP is polynomial for special classes of graphs, then we can put an infinity weight to removed edges from the corresponding complete graph and we get the same result. ∎
Note that, with a natural modification, our algorithm works for arbitrary weights and for Max KthTSP.
4. Conclusion
We have generalized an algorithm described in [11] for a generalization of bases of a matroid. By applying this algorithm to Hamilton cycles, we have proved that KthTSP is psudopolynomial when TSP is polynomial. Future investigations can be applying this algorithm for appropriate combinatorial objects.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. A. Bondy and U. S. R. Murty (2008), Graph Theory with Applications , Elsevier, New York.
- 2[2] P. M. Camerini, L. Fratta, and F. Maffioli (1975), Efficient Methods for Ranking Trees , Proceedings 3rd International Symposium on Network Theory, Split, Yugoslavia: 419.
- 3[3] P. M. Camerini, L. Fratta, and F. Maffioli (1980 a), Ranking Arborescences in O(K m log n) time , European Journal of Operations Research 4: 235.
- 4[4] P. M. Camerini, L. Fratta, and F. Maffioli (1980 b), The K Best Arborescences of a Network , Proceedings 3rd International Symposium on Network Theory, Split, Yugoslavia: 419.
- 5[5] B. Chaourar (2008), On the Kth Best Base of a Matroid , Operations Research Letters 36 (2): 239-242.
- 6[6] B. Chaourar (2010), An O(K n log[K n]) algorithm for the Kth Best Spanning Tree in Series Parallel Graphs , Arabian Journal for Science and Engineering, Arabian Journal for Science and Engineering 35 (1D): 29-35.
- 7[7] T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein (2009), Introduction to Algorithms , 3rd Edition, MIT Press, Cambridge, USA.
- 8[8] R. W. Farebrother (1988), Linear Least Squares Computations , M. Dekker, New York, USA.
