|
Algorithm 3 Optimisation based on SA algorithm |
-
1:
Let > 0 as initial parameter
-
2:
Let () as maximum number of iterations
-
3:
while stop criterion has not been met do
-
4:
Randomly generate a fasible solution
-
5:
Evaluate , = f()
-
6:
n = 1
-
7:
while while n
() do
-
8:
Generate solution based on
-
9:
Evaluation of ; = f(); = f()–f()
-
10:
if f() < f() then
-
11:
=
-
12:
else
-
13:
if >= 0 and u< exp((f()–f())/) then
-
14:
=
-
15:
end if
-
16:
end if
-
17:
n = n+1
-
18:
end while
-
19:
reduction and update at each reduction
-
20:
end while
|