arXiv:2610.31513cs.DSOct 2026

Manuscript Offprint

arXiv:2610.31513

Closing All-Exp Gaps in Local Search for the Traveling Salesman Problem and Maximum Constraint Assignment

Sophia Heimann, Hung P. Hoang, Stefan Hougardy

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

We prove the all-exp property for the Traveling Salesman Problem with the 2-opt neighborhood, and for (3,2,2)(3, 2, 2)- and (2,3,2)(2, 3, 2)-Maximum Constraint Assignment with the flip neighborhood. The all-exp property states that infinitely many instances have an initial solution from which every sequence of improving moves to a local optimum, and hence every run of local search, has exponential length. For the Traveling Salesman Problem, the all-exp property was previously known for every k-opt neighborhood with k≥3k \geq 3, so our result for 2-opt completes the picture for all k-opt neighborhoods. In (p,q,r)(p, q, r)-Maximum Constraint Assignment, each constraint involves at most p variables, each variable occurs in at most q constraints, and each domain has size r. Decreasing any of the parameters of (3,2,2)(3, 2, 2) or (2,3,2)(2, 3, 2) yields a problem in which every sequence of improving flips has polynomial length, so both Maximum Constraint Assignment results are tight. All three results settle long-standing open problems. Our proofs build on a common construction idea, which reveals a close connection between the local-search dynamics of the three problems.

*Hertz Chair for Algorithms and Optimization, University of Bonn, Germany (sheimann@uni-bonn.de)

†^{\dagger}Algorithms and Complexity Group, Faculty of Informatics, TU Wien, Austria, (phoang@ac.tuwien.ac.at) funded by the Austrian Science Fund (FWF, project 10.55776/ESP1136425)

†^{\dagger}Research Institute for Discrete Mathematics and Hausdorff Center for Mathematics, University of Bonn, Germany (hougardy@or.uni-bonn.de) funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany's Excellence Strategy – EXC-2047/1 – 390685813

Contents

1 Introduction 2

2 Preliminaries 6
2.1 Local-search problems 6
2.2 TSP with the k-opt neighborhood 7
2.3 Maximum Constraint Assignment 7

3 (3,2,2)-MCA has the all-exp property 7

4 TSP with the 2-opt neighborhood has the all-exp property 12
4.1 The construction 13
4.2 Tour characterization 14
4.3 States of the tour 16
4.4 Correctness 20

5 (2,3,2)-MCA has the all-exp property 23
5.1 Graph representation of binary MCA 24
5.2 The “following” primitive 24
5.3 The construction 25
5.4 Correctness 28