Tabu Search
Tabu Search
Tabu Search
2
Tabu Search Strategy
• 3 main strategies [7]:
– Forbidding strategy: control what enters the
tabu list
– Freeing strategy: control what exits the tabu
list and when
– Short-term strategy: manage interplay
between the forbidding strategy and freeing
strategy to select trial solutions
3
Parameters of Tabu Search [5]
• Local search procedure
• Neighborhood structure
• Aspiration conditions
• Form of tabu moves
• Addition of a tabu move
• Maximum size of tabu list
• Stopping rule
4
Basic Ingredients of Tabu Search
• A chief way to exploit memory in tabu search is to classify a subset of the
moves in a neighborhood as forbidden (or tabu) [1].
• A tabu list records forbidden moves, which are referred to as tabu moves
[5].
5
Basic Tabu Search Algorithm [4]
• Step 1: Choose an initial solution i in S. Set i* = i and k=0.
6
Tabu Search Stopping Conditions
Some immediate stopping conditions could be the following [4]:
7
Flowchart of a Standard Tabu
Search Algorithm [7]
Yes
Final solution
8
Example [5]
– Minimum spanning tree problem with constraints.
– Objective: Connects all nodes with minimum costs
Costs
B B
20 30 20 30
10 5 10 5
A C E A C E
25 25
15 40 15 40
D D
B Optimal Solution
20 30
Cost = 70
10 5
A C E Additional iterations only find
25
inferior solutions
15 40
D
13
Extensions
• Long term memory • How often have
• We’ll see how this solution elements
information is used in been used during the
a minute search so far?
• Which moves lead to
local optima?
14
Diversification
• When search not • Restart: avoid beginning
near known local optima
going well; e.g., (stored in LTM!)
haven’t found an • Modify objective function for
a fixed number of iterations
improving neighbor in – Penalize frequently
performed moves or moving
some iterations to oft visited solutions (LTM!)
– Change absolute constraints
• New best solutions to large penalties
become rare – Note: both of these could be
used throughout the search;
the 2nd one was in our
example
15
Intensification
• Intensify search in • Revisit one of the best
promising regions solutions so far (LTM!)
and shrink Tabu list for
small number of
• When to intensify vs. iterations
diversify: interesting; • Temporarily change the
further topic we will objective function to
reward solutions with
not cover “good” components
based on performance
in search so far
16
Pros and Cons
• Pros:
– Allows non-improving solution to be accepted in order to escape
from a local optimum (true too for GA, SimAnn, AntColOpt)
– The use of Tabu list (helps avoid cycles and move reversal)
– Can be applied to both discrete and continuous solution spaces
– For larger and more difficult problems (scheduling, quadratic
assignment and vehicle routing), tabu search obtains solutions
that rival and often surpass the best solutions previously found
by other approaches [1].
• Cons:
– Too many parameters to be determined
– Number of iterations could be very large
– Global optimum may not be found, depends on parameter
settings (also true of GA, SimAnn, AntColOpt)
17
References
[1] Glover, F., Kelly, J. P., and Laguna, M. 1995. Genetic Algorithms and Tabu Search:
Hybrids for Optimization. Computers and Operations Research. Vol. 22, No. 1, pp.
111 – 134.
[2] Glover, F. and Laguna, M. 1997. Tabu Search. Norwell, MA: Kluwer Academic
Publishers.
[3] Hanafi, S. 2001. On the Convergence of Tabu Search. Journal of Heuristics. Vol. 7,
pp. 47 – 58.
[4] Hertz, A., Taillard, E. and Werra, D. A Tutorial on Tabu Search. Accessed on April
14, 2005: http://www.cs.colostate.edu/~whitley/CS640/hertz92tutorial.pdf
[5] Hillier, F.S. and Lieberman, G.J. 2005. Introduction to Operations Research. New
York, NY: McGraw-Hill. 8th Ed.
[6] Ji, M. and Tang, H. 2004. Global Optimizations and Tabu Search Based on Mamory.
Applied Mathematics and Computation. Vol. 159, pp. 449 – 457.
[7] Pham, D.T. and Karaboga, D. 2000. Intelligent Optimisation Techniques – Genetic
Algorithms, Tabu Search, Simulated Annealing and Neural Networks. London:
Springer-Verlag.
[8] Reeves, C.R. 1993. Modern Heuristic Techniques for Combinatorial Problems. John
Wiley & Sons, Inc.
18