|
Algorithm 2 Pseudo-code for DE Algorithm. |
-
1:
Initialize the population x with randomly generated solutions
-
2:
Set the weight and crossover probability
-
3:
while stopping criterion do
-
4:
for do
-
5:
For each , randomly choose 3 distinct vectors , and
-
6:
Generate a new vector by DE scheme
-
7:
Generate a random index by permutation
-
8:
Generate a randomly distributed number
-
9:
end for
-
10:
for do
-
11:
For each parameter (jth component of ), update
-
12:
-
13:
end for
-
14:
select and update the solution
-
15:
end while
|