Motivation behind Simulated Annealing:
![]() |
An analogy to SA: shaking a bottle to increase its content's density. |
Basic Terms of SA:
where each
is viewed as a point in an input space.
The task of SA is to sample the input space effectively to
find an
that minimizes E.
where c is a system-dependent constant,
T is the temperature, and
is the energy difference between
and
:
The common practice is to accept
with probability
.
Note that when
is negative, SA tends to accept the new point because it
reduces the energy. When
is positive, SA may accept the new point and end up in a
higher energy state. In other words, SA can go either uphill
or downhill; but the lower the temperature, the less
likely SA is to accept any significant uphill actions.
SA Flowchart:
where
(
)
is the deviation of the new point from the current one,
T is the temperature, and n is the dimension
of the space under exploration.)
SA for Discrete (Combinatorial) Optimization: An Example:
Travel Salesperson problem (TSP):
how to transverse n cities
once and only once with the minimal total distance?
![]() |
Travel salesperson problem |
![]() |
Three possible types of move sets for travel salesperson problem |
![]() |
![]() |
![]() |
Initial random path | A path during SA process | Final path after SA process |
![]() |
![]() |
![]() |
Cost of cross the circle = 0 | Cost of cross the circle = 0.5 | Cost of cross the circle = -0.3 |
Advantages of SAs:
Weakness of SA:
Reported SA Applications:
Reference:
Neuro-Fuzzy and Soft Computing