Research Article
Dynamically Dimensioned Search Grey Wolf Optimizer Based on Positional Interaction Information
Algorithm 1
Pseudocode of the GWO algorithm.
Input: population size N and the maximum number of iterations MaxIter | | Output: optimal individual position and best fitness values | (1) | Randomly initialize N individuals’ position to construct a population | (2) | Calculate the fitness value of each individual and find , , and | (3) | while or stopping criteria not met do | (4) | for each individual do | (5) | Update current individuals’ position according to equation (8) | (6) | end | (7) | Update , , and , | (8) | Evaluate the fitness value of each individual | (9) | Update , , and | (10) | end while |
|