Meta Heuristic Method
Meta Heuristic Method
Applications
Lin-Yu Tseng ()
Department of Computer Science
Graduate Institute of Networking and Multimedia
National Chung Hsing University
OUTLINE
I. Optimization Problems
II. Strategies for Solving NP-hard Optimization
Problems
III. What is a Metaheuristic ?
IV. Trajectory Methods
V . Population-Based Methods
VI. The Applications of Metaheuristics
VII. Conclusions
I. Optimization Problems
Computer Science
z
z
Operational Research
z
z
Optimization problems
Calculus-based method
Hill climbing
An example : TSP
(Traveling Salesman Problem)
23
1
10
5
2
3
18
20
15
4
5
A solution
7
A sequence
12345
Tour length = 31
13452
Tour length = 63
Fundamental Properties of
Metaheuristics [Blum and Roli 2003]
Metaheuristics are strategies that guide the
search process.
The goal is to efficiently explore the search space
in order to find (near-)optimal solutions.
Techniques which constitute metaheuristic
algorithms range from simple local search
procedures to complex learning processes.
Metaheuristic algorithms are approximate and
usually non-deterministic.
Fundamental Properties of
Metaheuristics (cont.)
They may incorporate mechanisms to avoid
getting trapped in confined areas of the search
space.
The basic concepts of metaheuristics permit an
abstract level description.
Metaheuristics are not problem-specific.
Metaheuristics may make use of domain-specific
knowledge in the form of heuristics that are
controlled by the upper level strategy.
Todays more advanced metaheuristics use search
experience (embodied in some form of memory)
to guide the search.
Trajectory Methods
x2
x1
x3
X4
X5
f ( s' ) f ( s)
Tabu list
Tabu tenure: the length of the tabu list
Aspiration condition
Tabu Search
max
'
N k' , k = 1,..., k max
k 1
'
k = kmax
x'
x' '
x' '
k k +1
x x' '
k 1
N2N1
Best
N1
x1
N
x
x
x
x
x
x
x
Best
Best
V. Population-Based Methods
1. Genetic Algorithm Holland 1975
z Coding
z Fitness
z Initial
population
An example : TSP
(Traveling Salesman Problem)
23
1
10
5
2
18
6
20
15
4
5
A solution
7
A sequence
12345
Tour length = 31
13452
Tour length = 63
Genetic Algorithm
Reproduction (Selection)
Crossover
Mutation
Example 1
Maximize f(x) = x2 where x I and 0 x 31
Reproduction
Roulette Wheel
Reproduction
Crossover
Mutation
The probability of mutation
Pm = 0.001
20 bits * 0.001 = 0.02 bits
Initial population
Pheromone
Initialization
Loop
Loop
Each ant applies a state transition rule to
incrementally build a solution and applies a
local updating rule to the pheromone
Until each of all ants has built a complete solution
A global pheromone updating rule is applied
Until End_Condition
Example : TSP
A simple heuristics a greedy method: choose
the shortest edge to go out of a node
23
1
10
2
6
5
18
20
15
4
Solution : 15432
max uJ r { ru ( ru ) } if
S , otherwise
q q0
rs ( rs )
k
p rs = ru ( ru )
uJ r
0
if
if
s Jr
s Jr
0 < <1
0 < <1
1
if ( r , s ) globally best tour
= L gb ,
0 ,
otherwise
Initialization:
- Positions and velocities
Modify velocities
- based on personal best and global best.
Here I am,
now!
pBest
gBest
xt
v
xt+1
New
Position !
VII. Conclusions
For NP-hard optimization problems and
complicated search problems, metaheuristic
methods are very good choices for solving these
problems.
More efficient than branch-and-bound.
Obtain better quality solutions than heuristic
methods.
Hybridization of metaheuristics
How to make the search more systematic ?
How to make the search more controllable ?
How to make the performance scalable?
References
1. Osman, I.H., and Laporte,G. Metaheuristics:A bibliography. Ann. Oper. Res. 63,
513623, 1996.
2. Blum, C., and Andrea R. Metaheuristics in Combinatorial Optimization: Overview
and Conceptual Comparison. ACM Computing Surveys, 35(3), 268308, 2003.
3. Kirkpatrick, S., Gelatt. C. D., and Vecchi, M. P. Optimization by simulated
annealing, Science, 13 May 1983 220, 4598, 671680, 1983.
4. Glover, F. Future paths for integer programming and links to artificial intelligence,
Comput. Oper. Res. 13, 533549, 1986.
5. Hansen, P. and Mladenovi, N. An introduction to variable neighborhood search. In
Metaheuristics: Advances and trends in local search paradigms for optimization, S.
Vo, S. Martello, I. Osman, and C. Roucairol, Eds. Kluwer Academic Publishers,
Chapter 30, 433458, 1999.
6. Holland, J. H. Adaption in natural and artificial systems. The University of Michigan
Press,Ann Harbor, MI. 1975.
7. Dorigo, M. Optimization, learning and natural algorithms (in italian). Ph.D. thesis,
DEI, Politecnico di Milano, Italy. pp. 140, 1992.
8. Kennedy, J. and Eberhart, R. Particle Swarm Optimization, Proceedings of the 1995
IEEE International Conference on Neural Networks, pp. 1942-1948, IEEE Press, 1995.
!
!
!