DOC PREVIEW
UT Dallas CS 6385 - 25SIMANN

This preview shows page 1 out of 4 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Simulated AnnealingSimulated annealing improves the greedy local search in the following way.Assume the task is to minimize a function f(x).• At each iteration we choose a point randomly from the neighborhoodof the current point. Let x denote the current point and let y be therandomly chosen neighbor.• If f (y) < f(x), that is, a better point is found, then we accept it andy will be the next position.• If y is not better or even worse than x, we still accept it with a certainprobability. This probability is computed as follows. Define a quantity∆E by∆E = f(y) − f(x).This shows by how much y is worse than x. The notation is based ona physical analogy in which the function value represents the energy ofa state in the state space and then ∆E is the energy difference. Withthis the acceptance probability is defined asProbaccept= e−∆EkTwhere k is a constant and T is a parameter called temperature (thesecome again from the physical analogy, where k is called the Boltzmannconstant, but this playes no role in the optimization, here we can sim-ply take k = 1). Thus, the new point y is accepted with probabilityProbacceptor we stay in x with probability 1 − Probaccept.• As the iteration proceeds the temperature is gradually decreased. Thus,instead of a constant T , we use a so called cooling schedule, which is asequence Tn, such that in the nthiteration Tnis used as the temperatureparameter. The cooling schedule is chosen such that Tn→ 0 holds. Atypical choice is the logarithmic cooling schedule:Tn=ab + log nwhere a, b are positive constants.• As a stopping rule we can again say that if no improvement was ob-tained over a certain number of iterations than the algorithm stops.Or, we can continue the iterations until the temperature drops belowa small ² > 0, that is, the system “freezes”.Interpretation of the AlgorithmAn essential feature of simulated annealing that it can climb out from a localminimum, since it can accept worse neighbors as the next step. Such anacceptance happens with a probability that is smaller if the neighbor’s qualityis worse. That is, with larger ∆E the acceptance probability gets smaller.At the same time, with decreasing temperature all acceptance probabilitiesget smaller. This means, initially the system is “hot”, makes more randommovement, it can relatively easily jump into worse states, too. On the otherhand, over time it “cools down”, so that worsening moves are accepted lessand less frequently. Finally, the system gets “frozen”.This process can be interpreted such that initially, when the achieved qualityis not yet too good, we are willing to accept worse positions in order to be ableto climb out of local minimums, but later, with improving quality we tendto reject the worsening moves more and more frequently. These tendenciescan be balanced and controlled by the choice of the cooling schedule. If itis chosen carefully, then convergence to a global optimum can be guaranteed(proven mathematically).Advantages of Simulated Annealing• Improves greedy local search by avoiding getting trapped in a localoptimum.• With appropriately chosen cooling schedule the algorithm converges tothe global optimum.Disadvantages of Simulated Annealing• Convergence to the optimum can be slow.• There is no general way of estimating the number of iterations neededfor a given problem, so we cannot easily guarantee that the result iswithin a certain error bound of the global optimum.ExerciseAssume that in a Simulated Annealing algorithm we define the neighbor-hood of an n-dimensional binary vector x as follows. Let w(x) denote thenumber of 1 bits in x. The binary vector y is a neighbor of x if and onlyif |w(x) − w(y)| = α min{w(x), w(y)} holds, where α is a constant that wecan choose. We want to choose the value of α, such that the state spacebecomes connected, that is, any vector can b e reached from any other onethrough some sequence of moves, going from neighbor to neighbor. Whichof the following is correct?1. If α = 1, then the state space will be connected.2. If α ≥ 2, then the state space will be connected.3. The state space will be connected for any α > 0.4. No matter how α is chosen, this state space will never be connected.5. None of the


View Full Document

UT Dallas CS 6385 - 25SIMANN

Documents in this Course
assn1

assn1

2 pages

38rel2

38rel2

5 pages

Report

Report

3 pages

networks

networks

18 pages

lp2

lp2

44 pages

lp2 (2)

lp2 (2)

27 pages

lp1(1)

lp1(1)

21 pages

integer1

integer1

50 pages

FrankR2

FrankR2

3 pages

duality

duality

28 pages

CMST

CMST

44 pages

hw4

hw4

3 pages

for 1

for 1

11 pages

ENCh02

ENCh02

33 pages

pree

pree

2 pages

new  3

new 3

2 pages

new  2

new 2

2 pages

hw4a

hw4a

2 pages

T2_Sol

T2_Sol

4 pages

ISM3

ISM3

8 pages

hw4_sol

hw4_sol

6 pages

Elm04_06

Elm04_06

11 pages

atn proj2

atn proj2

20 pages

12CUT1

12CUT1

8 pages

09Ford

09Ford

23 pages

08FLOW

08FLOW

6 pages

03LP_su

03LP_su

6 pages

40REL40

40REL40

5 pages

39rel3

39rel3

5 pages

38arel2

38arel2

5 pages

37REL1

37REL1

3 pages

24TABU

24TABU

3 pages

22DYNPR

22DYNPR

3 pages

21B&C

21B&C

2 pages

20BBEX0

20BBEX0

3 pages

19BB

19BB

5 pages

14CAPBUD0

14CAPBUD0

11 pages

35BRXCH

35BRXCH

2 pages

34COMB

34COMB

4 pages

32CAPAS

32CAPAS

4 pages

31QUEUE

31QUEUE

3 pages

Load more
Download 25SIMANN
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view 25SIMANN and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view 25SIMANN 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?