Heuristic — local search

Tabu Search

Aliastabu_search
TypeHeuristic — local search
Auto-seeds fromnn (nearest neighbor)

Description

Local search with short-term memory. Maintains a tabu list of recently visited solutions (or recently applied moves) to prevent cycling. At each step the algorithm selects the best non-tabu neighbor of the current solution, even if that neighbor is worse — allowing escape from local optima. Entries age out of the tabu list after a fixed tenure.

Auto-expands to pipeline(nn, tabu_search).

Options

FlagDescriptionDefault
--epochsMaximum iterations

Usage

teeline solve tabu_search -i ./data/tsplib/berlin52.tsp
teeline solve tabu_search -i ./data/tsplib/berlin52.tsp --epochs=500

References