Optimising Tours for the Weighted Traveling Salesperson Problem and the Traveling Thief Problem: A Structural Comparison of Solutions

Jakob Bossek, Aneta Neumann, Frank Neumann

Abstract

The Traveling Thief Problem (TTP) and the Weighted Traveling Salesperson Problem (W-TSP) are complex extensions of the classic Traveling Salesperson Problem (TSP) that incorporate weight-dependent travel costs. This paper presents a structural comparison of these problems, exploring how their fitness landscapes interact during evolutionary optimization. Our findings reveal a counterintuitive surrogate benefit: the TTP objective function frequently acts as a more effective driver for optimizing W-TSP tours than the W-TSP objective itself. Furthermore, we demonstrate that while TTP solutions remain structurally similar to classic TSP tours, W-TSP solutions diverge significantly, adopting characteristics of greedy heuristics that prioritize weight management over distance minimization.

Introduction

The classic Traveling Salesperson Problem (TSP) focuses on finding the shortest path through a set of cities. In real-world logistics, however, the cost of travel is often influenced by the load being carried. Two notable variants address this:

  1. The Traveling Thief Problem (TTP): Integrates TSP with the Knapsack Problem. As a "thief" collects items, the increasing weight reduces travel speed, thereby increasing the total time cost.
  2. The Weighted TSP (W-TSP): Assigns weights to nodes, where the travel cost between cities is scaled by the cumulative weight collected.

Optimizing these problems requires balancing distance and weight. This research investigates whether TTP and W-TSP share similar structural properties and if one can serve as a surrogate for the other during optimization.

Methodology

The researchers utilized a (1+1) Evolutionary Algorithm (EA) with inversion mutation to explore the space of tour permutations. To isolate the impact of tour structure, they employed fixed packing plans generated with varying probabilities ($p$) of items being packed at each node.

A key component of the experimental design was the "swapping" of objective functions. The EA was run using either the W-TSP or the TTP objective as the "driver." The resulting solutions were then evaluated against both metrics to determine which fitness function navigated the search space more effectively. The study used 102 instances based on the TSPlib benchmark, varying the items per node (IPN) and packing density.

Structural Insights and Predictability

A significant finding of this study is the structural divergence between TTP and W-TSP solutions. TTP solutions tend to maintain a high degree of similarity to optimal classic TSP tours, suggesting that minimizing distance remains a primary driver even with weight penalties. In contrast, W-TSP solutions deviate sharply from TSP structures as item density increases, instead resembling Weighted Greedy (WGR) heuristics. These solutions prioritize visiting heavy nodes late in the tour to minimize the duration for which high weights are carried.

The researchers also explored the predictability of "driver" performance. By training a decision tree on instance features such as city count ($n$), items per node, and packing probability, they achieved an 81.5% accuracy in predicting which objective function would yield better results.

Decision tree for predicting the superior objective function based on instance features.

Key Results: The Surrogate Benefit

The most striking result is the "surrogate benefit": for W-TSP optimization, the TTP fitness function often outperformed the actual W-TSP objective. This suggests that the TTP landscape is less deceptive or smoother, allowing the EA to find better W-TSP solutions indirectly.

Performance ratios of W-TSP and W-TTP drivers across different problem instances and packing probabilities. Values above 1.0 indicate the alternative (surrogate) was superior.

As shown in the figure above, as the packing probability ($p$) increases, the TTP objective becomes a progressively better driver for W-TSP. This effect is consistent across various benchmark instances like berlin52 and pr2392. Conversely, the W-TSP objective is rarely a good driver for TTP, confirming that TTP is a more robust optimization driver for weight-dependent problems.

Conclusion

This research highlights the complex relationship between weight-dependent TSP variants. The discovery that TTP can serve as a superior surrogate for W-TSP optimization provides a new perspective on fitness landscape design for logistics problems. Future work will investigate these dynamics in scenarios where packing plans are not fixed, and explore the high variance observed in certain similarity metrics when the thief is allowed to change their packing choices on the fly.

Summary updated

BibTeX
@inproceedings{bossek2020optimising,
  author = {Jakob Bossek and Aneta Neumann and Frank Neumann},
  title = {{Optimising Tours for the Weighted Traveling Salesperson Problem and the Traveling Thief Problem: A Structural Comparison of Solutions}},
  booktitle = {PPSN},
  year = {2020},
  url = {https://openreview.net/forum?id=Xy9JVvk__Ft},
}
Figure