Documente Academic
Documente Profesional
Documente Cultură
Tabu Search
Outline
Local Search
Simulated Annealing
Apply SA to Vehicle Route Planning
Tabu Search
Local
optimum
Global optimum
Initial
solution
Neighbourhood of
solution
Simulatedannealing:Theidea
Acceptingimprovingsolutionsonlymayendupwith
alocalminimum.
Allowingworsesolutionsmayhelpustoescapelocal
minimum.
Simulated annealing(1/9)
Simulated annealing(2/9)
Elements of SA
Simulated annealing(3/9)
E(Current point)
E(Neighbour)
Neighbourhood
of solution
Current point
Neighbour
(
10
Simulated annealing(4/9)
P = exp(-c/t) > r
Where
12
Simulated annealing(5/9)
13
Simulated annealing(6/9)
14
Simulated annealing(7/9)
Starting Temperature
Final Temperature
Approach to zero : the system is frozen
Temperature Decrement
Iterations at each temperature
15
Simulated annealing(8/9)
Temperature Decrement
Linear
temp = temp - x
Geometric
temp = temp *
Experience has shown that should be between 0.8 and 0.99
the higher the value of , the longer the system will run.
Simulated annealing(9/9)
SA Application
18
2000
89 11 17
19
:
1.
2.
20
:
:
1.
2.
3.
4.
5.
21
22
(by us)
VRP
23
2
1
7
9
3
13
12
10
11
24
25
-
8
1
7
2
6
Xnew
No h<exp(-E /T)
?
2,3,4,5,6,7
Xnew
5 4
Eold
Yes
8
2
6
7
3
4
Enew
E = Enew - Eold
E > 0
E 0
Xnew 26
VRP
1
D1
D12
D2
= path
max {D1, D2,,D12}
27
: (50,50)
: 220
: 1210
: 6
:
= 852.82
100
36
90
28
11
80
70
30
25
60
23
39
50
18
40
46
30
32
19
20
10
0
38
24
10
20
30
40
13
42
7
15
48 14
33
50
40
49
1 17
16
12
29
35
26
37
44
34
20
22
.
41
27
47
21
43
6
45
10
31
8
50
60
70
80
90
100
VS.
= 853.49
28
160
170
50
777
75
10
1364
140
151
100
1458
200
203
150
12
2235
200
207
29
585
574
532
5343
550
5242
535
5231
900
893
874
871
883
8571
8703
8642
886
869
8513
8513
8513
8331
8502
8513
1204
1185
10793
10642
1093 10141
1095
1089
30
1.
2.
1. VRP
2.
3.
1. Fuzzy Clustering
2. Fuzzy Clustering
31
Tabu search(1/4)
Tabu Search
32
Tabu search(2/4)
Tabu Search
33
Tabu search(3/4)
Function TABU_SEARCH (Problem) returns a solution state
Inputs: Problem, a problem
Local Variables : Current, a state
Next, a state
BestSolutionSeen, a state
H, a history of visited states
Current = MAKE-NODE(INITIAL-STATE[Problem])
While not terminte
Next = a highest-valued successor of Current
if (not Move_Tabu(H, Next) or Aspiration(Next)) then
Current = Next
Update BestSolutionSeen
H = Recency(H + Current)
Endif
End-While
Return BestSolutionSeen
34
Tabu search(4/4)