Intelligent optimization algorithm: cheetah optimization algorithm - with code

Intelligent optimization algorithm: Cheetah optimization algorithm


Abstract: The CO algorithm is a new swarm intelligence optimization algorithm proposed by Mohammad AminAkbari et al. in 2022 inspired by cheetah hunting in nature. The algorithm realizes location update by simulating the three strategies of cheetahs searching, waiting and attacking during hunting. It has the characteristics of strong optimization ability and fast convergence speed.

1. Cheetah optimization algorithm

1.1 Initialization

(1) Initialization. Similar to other swarm intelligence optimization algorithms, the CO algorithm also starts from population initialization. set in ddIn the d -dimensional search space, the initial position of the cheetah is described as:
X i , j = LB j + rand ⁡ ( UB j − LB j ) i = 1 , 2 , ⋯ , n ; j = 1 , 2 , ⋯ , d (1 ) X_{i, j}=L B_j+\operatorname{rand}\left(U B_j-L B_j\right) \quad i=1,2, \cdots, n ; j=1,2, \cdots, d \ tag{1}Xi,j=LBj+rand(UBjLBj)i=1,2,,n;j=1,2,,d( 1 )
where:X i , j X_{i, j}Xi,jfor secondi head cheetahjjj维设计; UB j 、 LB j U B_j 、 L B_jUBjLBjfor the jjthThe upper and lower limits of the j -dimensional search space; rand is a random number between 0 and 1;nnn is the cheetah population size;ddd is the problem dimension.

1.2 Search strategy

Cheetahs conduct full range scans or active searches in their territory (search space) or surrounding area to find prey. The mathematical description of this strategy is:
X i , jt + 1 = X i , jt + r ˉ i , j − 1 ⋅ α i , jtt = 1 , 2 , ⋯ , T (2) X_{i, j}^{t +1}=X_{i, j}^t+\bar{r}_{i, j}^{-1} \cdot \alpha_{i, j}^t \quad t=1,2, \cdots, T \tag{2}Xi,jt+1=Xi,jt+rˉi,j1ai,jtt=1,2,,T( 2 )
where:X i , jt + 1 X_{i, j}^{t+1}Xi,jt+1for secondi cheetahst + 1 t+1t+1 iterationjjthj维设计; X i , jt X_{i, j}^tXi,jtfor secondi head cheetahttt iterationjjj -dimensional position;r ˉ i , j \bar{r}_{i, j}rˉi,jfor secondi head cheetahjjj -dimensional random number with normal distribution;α i , jt \alpha_{i, j}^tai,jtfor secondi head cheetahttt iterationjjThe search step in dimension j ; TTT is the maximum number of iterations of the algorithm.

1.3 Sit and wait strategy

(3) Sit and wait strategy. In search mode, the prey may be exposed to the cheetah's vision, in which case every movement of the cheetah may cause the prey to escape. To avoid this, cheetahs adopt a sit-and-wait ambush strategy (lying on the ground or hiding in bushes) to get close to their prey. The mathematical description of the strategy is:
X i , jl + 1 = X i , jt (3) X_{i, j}^{l+1}=X_{i, j}^t \tag{3}Xi,jl+1=Xi,jt( 3 )
The meanings of the parameters in formula (3) are the same as above. This strategy not only improves the hunting success rate (obtaining the optimal solution), but also avoids premature harvesting of CO.

1.4 Attack strategy

In the CO algorithm, each cheetah can adjust its own position according to the position of the escaping prey, the leading cheetah or the nearby cheetahs to obtain the best attacking position. The mathematical description of this strategy is:
X i , jt + 1 = XB , jt + r ˉ i , j ⋅ β i , jt (4) X_{i, j}^{t+1}=X_{B, j}^ t+\bar{r}_{i, j} \cdot \beta_{i, j}^t \tag{4}Xi,jt+1=XB,jt+rˉi,jbi,jt( 4 )
where:XB , jt X_{B, j}^tXB,jtfor the ttt iterationjjThe j- dimensional prey position, namely the current best position;r ˉ i , j \bar{r}_{i, j}rˉi,jBecause the secondi head cheetahjjj- dimensional steering factor;β i , jt \beta_{i, j}^tbi,jtfor secondi head cheetahttt iterationjjThe j- dimensional interaction factor reflects the interaction between cheetahs or between cheetahs and the leading cheetah; the meanings of other parameters are the same as above.

2. Experimental results

insert image description here

3. References

[1] AKBARI M A, ZARE M, AZIZIPANAH-ABARGHOOEE R, et al.The cheetah optimizer: a nature-inspired metaheuristic algorithm for large-scale optimization problems[J]. Scientific reports, 2022, 12(1): 1-20.

[2] Li Jie, Cui Dongwen. Several new swarm intelligence algorithms optimize Gaussian process regression to predict annual precipitation [J]. Water Saving Irrigation, 2023 (07): 96-103+109.

4.Matlab

5.python

Guess you like

Origin blog.csdn.net/u011835903/article/details/132253283