cs.CGOct 20, 2026

The Optimal Sampler for Diverse TSP Solutions: Characterization, Limits, and Learning

Authors: Ssu-Yuan Lo, Ching-Kai Wang, Kuan-Lun Chen, Hao-Tsung Yang

Organizations: National Central University, Department of Computer Science and Information Engineering, Taiwan

Abstract

We address the Diverse Traveling Salesman Problem (D-TSP) that seeks a set of kk distinct TSP tours. Each selected tour must not exceed a prescribed multiple of the optimal tour length, while the maximum pairwise Jaccard similarity within the selected set is minimized. This formulation is important for applications requiring both solution quality and fault tolerance, such as logistics planning, robotics, and strategic patrolling. We propose a novel hybrid framework that decomposes D-TSP into a sampling stage and a selection stage. The selection stage is a max-min dispersion problem, for which any approximation better than a factor of two is NP-hard; we therefore focus on the sampling stage. Our contributions are both theoretical and empirical. Theoretically, we give two end-to-end guarantees for the optimal sampling distribution, from two perspectives: including an optimal set in the sampled pool, or having at least kk mutually distant tours in the pool. The second reduces the number of samples from exponential to linear in kk, at the cost of weakening the benchmark from the best kk tours to the best βkβk for some β>1β> 1. For practical use, we prove that a pipeline that samples spanning trees and then converts to tours does not hurt the quality of the pool in principle. Empirically, both objectives are learnable, and our experiments not only validate the analysis but also outperform the baselines on both in-distribution and out-of-distribution instances, by a single trained model with no fine-tuning.

Explore similar work

CardsList
  1. DualCert: A Solver for the Traveling Salesman Problem with Constraint-Coupled Learning

    Aug 10, 2026Yancheng Song, Yongzhi Qi, Wei Qi +1Traveling Salesperson ProblemPrimal-Dual Optimization

  2. Machine Learning-based Two-Stage Graph Sparsification for the Travelling Salesman Problem

    Apr 22, 2026Bo-Cheng Lin, Yi Mei, Mengjie ZhangTraveling Salesperson ProblemGraph Sparsification