In 1975, Kalmanson proved that if the distance matrix in the travelling salesman problem (TSP) fulfills certain combinatorial conditions (that are nowadays called the Kalmanson conditions) then the TSP is solvable in polynomial time [Canad. J. Math., 27 (1995), pp. 1000--1010]. We deal with the problem of deciding, for a given instance of the TSP, whether there is a renumbering of the cities such that the corresponding renumbered distance matrix fulfills the Kalmanson conditions. Two results are derived: first, it is shown that---in case it exists---such a renumbering can be found in polynomial time. Secondly, it is proved that such a renumbering exists if and only if the instance possesses the so-called master tour property. A recently posed question by Papadimitriou is thereby answered in the negative.