Abstract The Travelling Thief Problem (TTP) is a challenging combinatorial optimization problem that attracts many scholars. The TTP interconnects two well-known NP-hard problems: the Travelling Salesman Problem (TSP) and the 0-1 Knapsack Problem (KP). Increasingly algorithms have been proposed for solving this novel problem that combines two interdependent sub-problems. In this paper, TTP is investigated theoretically and empirically. An algorithm based on the score value calculated by our proposed formulation in picking items and sorting items in the reverse order in the light of the scoring value is proposed to solve the problem. Different approaches for solving the TTP are compared and analyzed; the experimental investigations suggest that our proposed approach is very efficient in meeting or beating current state-of-the-art heuristic solutions on a comprehensive set of benchmark TTP instances.
Introduction to the Travelling Thief Problem
The Travelling Thief Problem (TTP) is a complex combinatorial optimization challenge that merges two classic NP-hard problems: the Travelling Salesman Problem (TSP) and the 0-1 Knapsack Problem (KP). In a standard TSP, the objective is to find the shortest route through a set of cities. In a standard KP, the goal is to select the most valuable items that fit within a weight capacity.
In TTP, these problems are interdependent: as the thief picks up items, the knapsack becomes heavier, which reduces travel speed. This increased weight extends the total travel time, thereby increasing the "rent" paid for the knapsack. The objective is to find a tour and a picking plan that maximizes total profit minus total rent. The core challenge lies in this interdependence; an optimal solution for the TSP or KP individually rarely results in an optimal solution for the TTP.
The RWS Algorithm: Scoring and Reverse Allocation
To address the TTP, this paper introduces the RWS (Item Selection Weight and Reverse Order Allocation) algorithm. The methodology is built upon three main components:
1. The Expanded Weight (EW) Formula
The researchers developed a novel scoring function to evaluate items. Traditional scores often rely on simple profit-to-weight ratios. The EW formula, $Score = \frac{p_k}{w_k^\alpha \times \sum d}$, applies an exponent ($\alpha$) to the weight. Empirical testing revealed that setting $\alpha = 1.5$ yields the best results for large-scale problems, effectively penalizing heavy items more severely than a linear scale would.
2. Reverse Order Allocation
A key insight of the RWS algorithm is the "Late Bloomer" strategy. Because items picked up early in the tour slow the thief down for the entire remaining journey, it is often more beneficial to prioritize high-value items located near the end of the route. By processing the picking plan in reverse—from the last city back to the start—the algorithm minimizes the time spent travelling at a reduced velocity.
3. Algorithmic Framework
The RWS algorithm utilizes the Lin-Kernighan Heuristic (LKH) to generate an initial tour. It then applies the EW formula and reverse-order logic to create an initial picking plan. Finally, the solution is refined using 2-OPT for the tour and Simulated Annealing for the knapsack component to explore the local search space.
Experimental Datasets
The study utilizes the comprehensive TTP benchmark suite introduced by Polyakovskiy et al. (2013), based on real-world city locations from the TSPLIB library. The instances are divided into four categories:
- Category A: 1 item per city, strongly correlated weights/values, small knapsack capacity.
- Category B: 5 items per city, uncorrelated, average capacity.
- Category C: 10 items per city, uncorrelated, high capacity.
- Category D: 9 items per city, uncorrelated, high capacity.
The tests cover scales ranging from 76 cities to over 33,000 cities.
Key Insights and Results
The authors demonstrate that weight is the dominant factor in the TTP objective function. The $\alpha$ exponent in the scoring formula is critical as it forces the algorithm to be highly selective regarding heavy items. Furthermore, by using a scoring threshold (picking items with a score higher than the average), the algorithm narrows its search space, allowing it to handle massive instances within a 600-second time limit.
The RWS algorithm was compared against three state-of-the-art solvers: MATLS, S5, and CS2SA*.
- Superiority in Large Scales: RWS consistently outperformed or matched other algorithms, particularly in Category C. In these scenarios, RWS achieved the best average ranking (1.7) compared to S5 (2.6) and MATLS (3.05).
- Statistical Significance: Friedman tests confirmed that the RWS approach provides a statistically significant improvement in solution quality for medium and large-scale problems.
Conclusion and Future Work
While RWS is highly effective, the authors identify areas for further research. The current approach focuses heavily on the Knapsack component; future work could explore more integrated optimization that simultaneously refines the tour and the picking plan. Additionally, while RWS excels in high-capacity scenarios, simpler algorithms like S5 can perform better when knapsack space is extremely tight (Category A). The authors aim to apply these interdependency insights to more complex multi-component problems in supply chain and logistics.
Summary updated