
332 Whale Optimization Algorithm
For the fifth search agent, p = 0.5269 and the spiral updating position strat-
egy is used with the following results:
D
0
= {5.7012, 0.2058, 2.3426, 3.2970, 6.3729}
SA
5
= {0.3949, −0.1300, 1.6457, −2.1900, 4.2031}
For the last search agent, p = 0.2920 and |A| < 1, so the shrinking encircling
approach is used by the best solution leader to update the individual’s posi-
tion:
D = {0.5327, 0.0645, 0.2465, 1.0668, 0.5846}
SA
6
= {−1.5209, −0.1841, 0.8677, −3.0454, 2.0579}
Next, the boundary conditions are checked and every violated individual is
pushed back into the permitted solution domain.
V alid_SA
1
= {5.1200, 3.7251, 5.1200