To Repair or Not to Repair? Investigating the Importance of AB-Cycles for the State-of-the-Art TSP Heuristic EAX
Jonathan Heins, Darrell Whitley, Pascal Kerschke
TL;DR
This work addresses the performance gap in the Stage I component of the state-of-the-art TSP solver EAX by deriving a necessary-and-sufficient fast check for AB-cycle validity based on $C$-vertices, enabling faster or repair-free offspring generation. It introduces two EAX variants (only-complete and ratio-based) and fixes the Stage II offspring count to 20, then benchmarks them across 10,000 evolved instances. The ratio-based variant substantially reduces PAR10 on several instance classes, particularly small LKH-friendly ones, while overall performance remains competitive across others, highlighting the importance of AB-cycle selection and offspring management. These findings offer practical guidance for crossover design, open avenues to improve Stage II strategies, and suggest broader implications for GPX and related recombination operators in large-scale TSP solving.
Abstract
The Edge Assembly Crossover (EAX) algorithm is the state-of-the-art heuristic for solving the Traveling Salesperson Problem (TSP). It regularly outperforms other methods, such as the Lin-Kernighan-Helsgaun heuristic (LKH), across diverse sets of TSP instances. Essentially, EAX employs a two-stage mechanism that focuses on improving the current solutions, first, at the local and, subsequently, at the global level. Although the second phase of the algorithm has been thoroughly studied, configured, and refined in the past, in particular, its first stage has hardly been examined. In this paper, we thus focus on the first stage of EAX and introduce a novel method that quickly verifies whether the AB-cycles, generated during its internal optimization procedure, yield valid tours -- or whether they need to be repaired. Knowledge of the latter is also particularly relevant before applying other powerful crossover operators such as the Generalized Partition Crossover (GPX). Based on our insights, we propose and evaluate several improved versions of EAX. According to our benchmark study across 10 000 different TSP instances, the most promising of our proposed EAX variants demonstrates improved computational efficiency and solution quality on previously rather difficult instances compared to the current state-of-the-art EAX algorithm.
