- Introduced by
- Fred Glover
- Year
- 1989
- Type
- Local-search metaheuristic
What does it do?
Tabu Search is a local-search metaheuristic introduced by Fred Glover in 1989.
It keeps a tabu list of recently made moves and forbids them for a set period, so the search can accept worsening moves without immediately returning to where it has just been. It aims to find high-quality solutions to combinatorial problems, but it gives no guarantee of reaching the global optimum.
The intuition behind the method
Imagine navigating a mountainous landscape in the dark, trying to find the highest peak. A simple local-search climber always steps uphill and gets stuck on the nearest hill it reaches. Tabu Search carries a notepad of recently visited spots and refuses to return to them, even if backtracking would seem tempting. This enforced avoidance of recent moves pushes the search out of dead ends and into unexplored territory, so it can often reach higher ground than a plain local search would.
History
Fred Glover introduced Tabu Search in a 1989 paper in the ORSA Journal on Computing, presenting it as a way to guide local search by using memory of past moves. Glover and Laguna's 1997 book is the book-length reference on the method.
When to use it
Choose Tabu Search for combinatorial or discrete optimisation problems where exact methods are impractical and a meaningful neighbourhood, a rule for moving between nearby solutions, can be defined. It suits scheduling, routing, assignment and sequencing problems, where simple local search tends to stall in local optima. The objective function does not need to be differentiable or continuous. Avoid the method when no sensible neighbourhood exists, or when the problem is small enough to be solved exactly. Performance depends on the neighbourhood definition and the tabu tenure, which must be adapted to the problem; a poor choice of either can degrade results. Plan an iteration budget large enough to explore the neighbourhood, and check it by observing whether the best solution still improves late in the run.
Limitations and considerations
- Results depend on the neighbourhood definition and the tabu tenure. A neighbourhood that is too narrow, or a tenure that is poorly set, can trap the search or allow cycling.
- The method needs a sufficient iteration budget. The required number depends on neighbourhood size and problem difficulty, and no general figure is given on this page.
- The tabu list stores move attributes rather than full solutions, so a tabu attribute can forbid moves that lead to genuinely new solutions. The aspiration criterion is needed to recover some of these moves.
- There is no optimality guarantee, and results can vary between runs when the initial solution or any neighbourhood sampling is stochastic.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Accepts the best admissible move even when it worsens the objective, and the tabu list rather than a random acceptance rule controls which moves are allowed, so escape from local optima is systematic.
- Needs only the ability to evaluate candidate moves. It does not require gradient information, and the objective need not be differentiable or continuous.
- The tabu list prevents the search from immediately reversing recent moves, so it keeps moving into new parts of the space rather than oscillating between a few solutions.
- The aspiration criterion allows a tabu move to be accepted when it produces a new best solution, so the memory restriction does not discard the best available improvements.
Applications
- Job-shop and flow-shop scheduling — optimising the sequence of operations to minimise makespan or tardiness.
- Vehicle routing — finding efficient delivery routes subject to capacity and time-window constraints.
- Assignment and facility location — assigning tasks to resources or locating facilities to minimise cost.
- Graph colouring, network design, and telecommunications — solving discrete structural optimisation problems.
- Feature selection and hyperparameter search — exploring discrete configuration spaces in machine learning pipelines.
How it works
How it works
The search starts from an initial candidate solution, which may be generated randomly or by a greedy heuristic. The tabu list is set up as an empty queue of fixed length, and the best solution found so far is recorded. The neighbourhood, the rule that defines which solutions lie one move away from the current solution, must be defined for the specific problem.
All moves in the defined neighbourhood are generated from the current solution and evaluated with the objective function. A move is a small change, such as swapping two elements in a sequence or flipping a binary variable. The neighbourhood must be broad enough to allow meaningful exploration and small enough to be evaluated within each iteration.
Each candidate move is checked against the tabu list. A move whose characterising attribute appears on the list is tabu and is forbidden, unless it satisfies the aspiration criterion. Under that criterion, tabu status is overridden when the resulting solution is better than the best solution found so far, so the tabu restriction never blocks a new best solution.
The best of the admissible moves (all non-tabu moves, plus any tabu moves that pass the aspiration criterion) is executed, even if it worsens the objective value. Accepting deterioration is what allows the search to leave a local optimum. Simple hill climbing, by contrast, stops at the first local optimum it reaches.
After the move, its reverse (or its characterising attribute) is added to the tabu list. Once the list reaches its fixed length, the oldest entry is removed; this length is the tabu tenure. For example, in a sequencing problem where a move swaps the elements at two positions, the tabu attribute can be the pair of elements that were swapped. For the duration of the tenure, swapping that pair again is forbidden, which blocks an immediate reversal while other swaps remain available. The best recorded solution is updated if the new solution improves on it. Optional long-term structures, such as records of move frequency or recency, can steer the search towards less-visited regions (diversification) or around promising ones (intensification).
The search stops when a stopping criterion is met, such as a maximum number of iterations, a target objective value, or a number of iterations without improvement. The best solution found over the whole run is returned. The iteration budget matters: if it is too small, the neighbourhood is not explored adequately.
Common pitfalls
- A tabu tenure that is too short allows cycling to recur, which defeats the purpose of the tabu list. A tenure that is too long over-restricts the search and can prevent it from revisiting regions that contain improvements. No general default tenure is given on this page; a short pilot study comparing several tenure values on representative instances is the usual way to tune it for the problem at hand.
- An iteration budget that is too small means the neighbourhood is not explored, and the output reflects the starting solution more than the search. Monitor whether the best solution still improves late in the run before accepting the result.
- A neighbourhood that is too narrow, such as only single-swap moves on a complex structure, produces a shallow search. Check that the neighbourhood can connect the promising regions of the solution space.
- Omitting the aspiration criterion can cause the tabu list to block a move that would produce a better solution than the current best. Implement at least the standard override that accepts a tabu move when it yields a new best solution.
Frequently asked questions
How is Tabu Search different from simulated annealing?
Both methods accept worsening moves to escape local optima, but they differ in mechanism. Simulated annealing accepts worse moves probabilistically, with acceptance controlled by a temperature parameter that is lowered over the run. Tabu Search takes the best admissible move deterministically and uses an explicit memory of recent moves to prevent returning to them. Which method performs better depends on the problem and should be checked empirically.
How long should the tabu list be?
Tabu tenure, the number of iterations a move remains forbidden, is problem-dependent and is normally set by experiment. Too short a tenure allows cycling; too long a tenure over-restricts the search. Adaptive or randomised tenure strategies can reduce sensitivity to this choice.
Does Tabu Search guarantee finding the global optimum?
No. Tabu Search is a metaheuristic and provides no optimality guarantee. The result depends on the neighbourhood structure, the tenure, the number of iterations and the initial solution. If an optimal solution must be proven, an exact method such as integer programming is required, though exact methods may be computationally infeasible for large instances.
What is an aspiration criterion and why is it necessary?
An aspiration criterion is a rule that overrides the tabu status of a move under special conditions. The most common criterion is: if executing a tabu move would yield a solution better than the best solution found so far, the tabu restriction is lifted and the move is allowed. Without this override, the tabu mechanism could block a move that leads to a new best solution simply because the move was recently made.
Related methods
Sources
Glover, F. (1989). Tabu Search — Part I. ORSA Journal on Computing, 1(3), 190–206.
Open publication referenceGlover, F. & Laguna, M. (1997). Tabu Search. Springer.
ISBN: 9780792349907