Looking Ahead to Avoid Being Late: Solving Hard-Constrained Traveling Salesman Problem

Jingxiao Chen,Ziqin Gong,Minghuan Liu,Jun Wang,Yong Yu,Weinan Zhang
DOI: https://doi.org/10.48550/arxiv.2403.05318
2024-01-01
Abstract:Many real-world problems can be formulated as a constrained TravelingSalesman Problem (TSP). However, the constraints are always complex andnumerous, making the TSPs challenging to solve. When the number of complicatedconstraints grows, it is time-consuming for traditional heuristic algorithms toavoid illegitimate outcomes. Learning-based methods provide an alternative tosolve TSPs in a soft manner, which also supports GPU acceleration to generatesolutions quickly. Nevertheless, the soft manner inevitably results indifficulty solving hard-constrained problems with learning algorithms, and theconflicts between legality and optimality may substantially affect theoptimality of the solution. To overcome this problem and to have an effectivesolution against hard constraints, we proposed a novel learning-based methodthat uses looking-ahead information as the feature to improve the legality ofTSP with Time Windows (TSPTW) solutions. Besides, we constructed TSPTW datasetswith hard constraints in order to accurately evaluate and benchmark thestatistical performance of various approaches, which can serve the communityfor future research. With comprehensive experiments on diverse datasets, MUSLAoutperforms existing baselines and shows generalizability potential.
What problem does this paper attempt to address?