Intelligent optimization algorithm | Matlab implements Whale Optimization Algorithm (complete source code included)


Effect list

Insert image description here

Article overview

Intelligent optimization algorithm | Matlab implements Whale Optimization Algorithm (complete source code included)

research content

Step 1: Set the number of whales N and the maximum number of iterations of the algorithm tmax, and initialize the position information;
Step 2: Calculate the fitness of each whale, find the current optimal whale position and retain it;
Step 3: Calculate parameters a, p and coefficients Vectors A, C. Determine whether the probability p is less than 50%, if so, go directly to step 4, otherwise use the bubble net predator mechanism: perform position update according to formula (2-1); Step 4: Determine whether the absolute value of the coefficient vector A is less than 1, if
so Surround the prey: update the position according to formula (1-2); otherwise search for prey globally randomly: update the position according to formula (3-1);
Step 5&#x

Guess you like

Origin blog.csdn.net/qq_59771180/article/details/132129847