Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Unmasking Four Knapsack Problems in the Traveling Thief Benchmark

Four benchmark instances lose their travel cost by a rounding error

  • Problem Four benchmark files store a renting rate of 0.00, so tours stop mattering.
  • Method The authors recompute the renting rate for the four instances with the generator's rule. They use a published reference tour from linkern and an exact knapsack packing, so the new rates can be reproduced.
  • Results Five of nine published methods report 144,219 on one categorized instance, while the optimum is 144,426. The corrected instances make the tour matter again.

Why a zero rent turns TTP into a knapsack problem

The traveling thief problem scores a solution as the profit of the picked items minus the rent times the travel time. The rent R sets how strongly travel time weighs on that score, so a large R lets travel dominate the objective. When R is zero, the travel term vanishes, and every tour gives the same objective. Maximizing the profit under the capacity limit then becomes the 0-1 knapsack problem, and any tour can serve as the basis.

The authors read the rent line of all 9,720 files and found four files with a rent of 0.00. Each of these four instances has 1,000 cities and 999 items. With a rent of zero, a solution's objective equals the total profit of its picked items, whatever its tour. Table 1 lists the four instances with their capacities, optimal profits and numbers of items packed.

The most visible case is the category A instance built on dsj1000, which belongs to the 60 categorized instances. Its optimal profit is 144,426, computed by dynamic programming and checked with Gurobi. Five of the nine methods in Table 2 report 144,219, which is 207 below that optimum. On this instance, the comparison measures how well each method packs items rather than how it coordinates the tour with the packing.

Removing this instance barely moves the published rankings, since the mean ranks shift by at most 0.06 for S5.

Where two decimals lose the rent

Polyakovskiy et al. set the rent of each instance as the optimal packing's profit divided by the travel time of a reference tour. That tour comes from linkern, the Chained Lin-Kernighan local search in the Concorde solver, which returns a very good tour but not necessarily an optimal one. Because its result depends on a random seed, the tour is only one of many possible reference tours.

The rule itself never gives zero, because the optimal profit is positive.

The authors of the generator don't publish its code, so the size of the ratio has to be estimated from the instance data. Rule (3) then gives a rent of about 0.003, and any value below 0.005 becomes 0.00 when written with two decimals.

The files confirm this reading in Table 3, which lists the rents of the thirty dsj1000 instances. In the benchmark, the capacity of level k is k/11 of the total weight, rounded down, so a higher level holds more profit. A larger knapsack therefore raises the optimal profit in rule (3), and with it the rent, at each level.

If the generator truncated instead, the interval would have a width of 0.01. Across all 9,720 files, 52% of the instances have q ≤ 0.1%, while 949 instances have q > 1%. Twenty-eight files have r = 0.01, giving q = 50%, and 217 instances have q > 5%.

How far rounding reaches beyond the zeros

The relative rounding half-width q measures how much precision a stored rent may have lost, given the rounding to the nearest hundredth. If a positive rent r was rounded to the nearest hundredth, its value before rounding lies within 0.005 of r. The authors call q = 0.005/r the relative rounding half-width, and they stress that it is not the actual error, which is unknown.

If the generator truncated instead, the interval would have a width of 0.01, so the authors also consider that case. The generator's code isn't distributed, so the authors compute q from the stored values alone.

The authors computed q for all 9,720 files, and 52% of the instances have q at most 0.1%. For 949 instances q is above 1%, for 217 it is above 5%, and for 100 it is above 10%. Twenty-eight files store r = 0.01, which gives q = 50%, and another 23 store r = 0.02, which gives q = 25%.

Among the categorized instances, eleven have q above 1%, and four of them have q above 5%. These four are category A on pla7397, category A on pla33810, category A on usa13509, and category B on dsj1000. The authors don't change these instances, because they remain proper TTP instances. Still, the intended rent, and with it the weight of the tour in the objective, may differ noticeably from the stored value.

Why the original rents can't be recovered

The generator's tour and packing were never published, so the rent behind each file can't be rebuilt exactly. The benchmark's authors publish a tour for just one TSP instance, a280. Using that tour, the paper's authors reimplemented the rule with the linkern output and an exact knapsack solver. The recomputed rents of the 120 instances built on a280 have a median ratio of 0.975 to the stored values.

90% of those ratios lie between 0.89 and 1.08, so the implementation stays close to the files. Rounded to two decimals, only one of the 120 recomputed rents equals the stored value. So the same implementation stays close to the files but doesn't reproduce them.

The authors ran linkern with ten seeds on each of the four instances. The travel time changes with where the heavy items are picked along the tour, as Table 4 shows.

The packing chosen by the original knapsack solver of Martello et al. (1999) is unknown.

This fits the rounding explanation without proving it, since the generator's code isn't available. None of these tours gives the original value, so the lost value can only be estimated.

Defining new rents on a fixed reference solution

The new rent needs three choices that Rule (3) leaves open, and the authors fix each one so the rent can be recomputed. The packing is the optimal packing from a dynamic program over the items in file order. This tie-breaking returns the same packing in every run, but it doesn't mean the optimal packing is unique. The authors checked the optimal profit with Gurobi.

The tour is linkern with its default settings, the random seed 1, and a start at the depot, as in the benchmark authors' code. Another build of linkern may return a different tour, so the command alone doesn't fix the rent. Another seed would give another valid rent, as Table 4 shows, so the published tour defines the new rent. The travel time follows the calculation of Section 3.1, and the rent is the ratio given by Rule (3).

The files store the double-precision value in the shortest decimal form that returns the same double, instead of a fixed number of decimals. The authors check the zero objective with an absolute tolerance of 10 −8, and the residuals stay below 4×10 −11 on the four instances. Table 5 lists the travel time and the rent with six significant digits, and the seed 1 tour has a length of 18,665,994 for all four instances.

The reference solution restores the calibration that the original rule intended on each corrected instance. The verify.py script checks feasibility, packing optimality, the rent equation and the zero objective within the tolerance. For dsj1000 n999 bounded-strongly-corr 01, the new rent is 0.00284177 on a travel time of 50,822,606.

Do the corrected instances behave as TTP again?

The authors ran CoCoP, the public CoCo+ code of Namazi et al., ten times on each original and corrected file. Each run had a budget of 600 seconds of wall-clock time, and every solution was evaluated on the .ttp file used by that run.

That is expected, because with a zero rent the tour can't change the value.

The mean values lie between 31% and 46% of the optimal knapsack profit, since the travel time now carries a cost.

The packing changes as well: on the bounded strongly correlated file CoCo+ picks 220 to 246 items, compared to 291 in the optimal knapsack. On the two similar-weights files every run picked 90 and 181 items, although up to 91 and 182 items fit.

Shipping the files and ttplib

The authors converted all 9,720 original .ttp files to JSON, so users can read them with most programming languages. Each JSON file keeps the header, the cities with their coordinates, and the items with their profit, weight and city. The four corrected versions are JSON files that equal the originals except for the rent, and they keep the original names.

They sit in a separate folder, so the two versions can't be mixed up.

A user who prefers the .ttp format can copy the new rent from the JSON file into the RENTING RATIO line of the original file. The public Hugging Face dataset has two folders, instances with the 9,720 original instances and corrected with the four corrected ones. A user can download any file directly from the dataset, without any software.

The authors built ttplib, an open-source Python library, and this note describes its version 0.2.2. Installing it with pip install ttplib takes one command, and ttplib.load("dsj1000 n999 uncorr 01") loads an instance by name. Users therefore never have to download the whole benchmark.

The library lists instances with filters on the TSP instance, the knapsack type and the number of items. ttplib.iter_instances() loads instances one at a time and frees the memory as it goes.

Limitations of the corrected rents and the CoCo+ runs

The new rents aren't the original rents, so results on the corrected files can't be compared with results on the original files. The new rents also depend on the seed-1 tour, and another seed gives another valid rent, with a spread shown in Table 4. The paper's rule (3) leaves the tour open, so the authors fixed it to the published tour instead of the command.

The reference runs use CoCoP alone with ten runs per file, which the authors describe as a budget of 600 seconds per run. Table 2 reports the best value over all runs of several CoCo variants for CoCo+, so the two figures aren't the same kind of number. The rounding analysis assumes rounding to the nearest hundredth, and the generator's code isn't distributed.

If the generator truncated instead, the interval would have a width of 0.01, so the paper's estimates would change.

What future studies should do with these four instances

They should also run the corrected files and report both results, so the corrected results can serve as a base for future comparisons. The reference results in Section 3.3 give the starting point for that base.

They should state which version they used, because the two versions give different rents. Among the categorized instances, four instances have a relative rounding half-width above 5%.

Paper info

Authors
Mohammed Mizan Alanazi, Mahdi Khemakhem
Venue
arXiv · Preprint
First published
2026-11-9
Added
2026-11-11
Updated
2026-11-9
Version
v1
arXiv
2611.12597
Category
cs.CL · cs.AI
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

The traveling thief problem (TTP) asks a thief to choose a tour and a packing together, and the benchmark of 9,720 instances of Polyakovskiy et al. (2014) is the standard test set for comparing TTP heuristics. We show that four of these instances are not TTP instances at all. Their files give a renting rate of 0.00, so the tour has no effect on the objective and each instance reduces to a 0-1 knapsack problem. One of them belongs to the 60 categorized instances on which new methods are usually compared, and on it five of nine published methods report exactly the same value. The cause is the format of the files, which keep the renting rate with two decimals, while the rule of the generator gives a rate close to 0.003 on these instances. The same rounding may shift the rate of 949 other instances by more than 1%. Since the tour and the packing used by the generator were not published, the original rates cannot be recovered. We therefore define new rates with the same rule, applied to a fully specified reference solution that we publish, and we show with a published heuristic that the corrected instances behave as TTP instances again. We also give reference results on the corrected instances and recommendations for future studies. Finally, we present ttplib, a new open-source Python library that loads any of the 9,720 instances, including the corrected ones, without downloading the whole benchmark.

Quote from the paper

Mohammed Mizan Alanazi, Mahdi Khemakhem (2026). Unmasking Four Knapsack Problems in the Traveling Thief Benchmark. arXiv:2611.12597v1. https://arxiv.org/abs/2611.12597v1

BibTeX
@misc{alanazi2026unmasking,
  title = {{Unmasking Four Knapsack Problems in the Traveling Thief Benchmark}},
  author = {Mohammed Mizan Alanazi and Mahdi Khemakhem},
  year = {2026},
  eprint = {2611.12597},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.12597v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up