Professional Documents
Culture Documents
Simulatedannealing Ranak Ghosh Sep 2010
Simulatedannealing Ranak Ghosh Sep 2010
Simulatedannealing Ranak Ghosh Sep 2010
● Presented By:
Ranak Ghosh
Septembar,2010
For more contact-
08013835148
CONTENT
●Motivation
●The algorithm
●Its applications
●Examples
●Conclusion
Introduction
●Various algorithms proposed for
placement in circuits.
●Constructive placement vs Iterative
improvement.
●Simulated Annealing – an iterative
improvement algorithm.
Motivation
●Annealing in metals
●Heat the solid state metal to a high
temperature
●Cool it down very slowly according to a
specific schedule.
●If the heating temperature is sufficiently high
to ensure random state and the cooling
process is slow enough to ensure thermal
equilibrium, then the atoms will place
themselves in a pattern that corresponds to
Motivation
● The connection between this algorithm and
mathematical minimization was first noted by
Pincus.
● He proposed that it forms the basis of an
optimization technique for combinatorial (and other)
problems.
● SA's major advantage over other methods is an
ability to avoid becoming trapped at local minima.
● The algorithm employs a random search which not
only accepts changes that decrease objective
function f, but also some changes that increase it.
● The latter is accepted with a probability P=exp(-
df/T), where df is the increase in f and T is a
Simulated Annealing-The
Algorithm
●Analogy
Cntnd
.
Analogy
● Slowly cool down a heated solid, so that all particles
arrange in the ground energy state
● At each temperature wait until the solid reaches its
thermal equilibrium
● Probability of being in a state with energy E :
E Energy
T Temperature
kB Boltzmann constant
Z(T) Normalization factor (temperature dependant)
PROCEDURE OF
SIMULATED ANNEALING
Cooling schedule
Convergence of simulated
annealing
Ball on terrain example – Simulated Annealing
vs Greedy Algorithms
4 5 4 5
1-2-3-4-5-6-7-8-9-10-11-12 1-2-3-4-5-9-8-7-6-10-11-12
12 12
10 10
3 3
1 Switching 1
6 6
2 7 2 7
11 9 11 9
8 8
4 5 4 5
9/8/2010
1-2-11-4-8-7-5-9-6-10-3-12 1-2-3-4-8-7-5-9-6-10-11-12
Small-Scale TSP