Algorithmic techniques for the TSP