The KHO algorithm simulated the krill behavior whereas every individual of the KH created their contribution with the process of moving [26 ]. The best solution is acquired when the krill individuals identify the food center. The KHO algorithm is according to the lagrangian as well as krill individual’s evolution behavior with the capability to do exploitation and exploration in the optimization issues. In this KHO algorithm, the random value performs an important role. The time-dependent position of the individual’s krill is calculated on the basis of three actions and they are; random diffusion, foraging activity and the movement induction of the krill individual. The KHO algorithm adopts the d-dimensional search space lagrangian design and it is expressed in the below equation; Zjt=Oκj+Gκj+Eκj
Here, the terms Oκj , Gκj and Eκj indicates search agent’s movement induction, foraging behavior and random diffusion, respectively. The optimization commences by initializing the parameters such as maximum diffusion speed EMAX , krill position Zj , maximal foraging speed νg , maximal induced speed oMAX , the maximal number of iterations JMAX and numbers of krill O . Compute the movement for every krill. The communal effects between krill individuals lead to movements and they attempt to conserve the higher density. σj denote the motion induction direction and which is evaluated with the local target and the density of the repulsive swarm. Then it is expressed as; OκjNEW=oMAXσj+xoOκjold
The inertia weight is represented by xo , the last motion is denoted by OκjOLD and maximal induced speed is represented as oMAX . σj=σjLO+σjτ σjLO=k=1Ooκ^j,kY^j,k Y^j,k=Yk-YjYk-Yj+a κ^j,k=κj-κkκWO-κBEST
The worst and best krill individuals are represented by κBEST and κWO . The smaller positive number is represented by a . The numbers of neighbors are denoted by Oo . Also, the terms σjτ and σjLO denote target direction effect and local effect offered by neighbors, respectively; κj and κk depicts fitness function of jth krill and kth neighbor, respectively; Yk and Yj indicates the corresponding positions of jth krill and kth neighbor, respectively. σjτ=DBESTκ^j,BESTY^j,BEST
DBEST represents the krill individual efficient individual through best fitness is expressed in the below equation; DBEST=2+JJMAX Et,j=15Ok=1OYj-Yk where depicts random value which lies in the range [0,1], J signifies current iteration, Et,j indicates sensing distance.
The foraging movement is defined as which is according to food location and previous experiences with the food location. Then it is expressed as; Gκj=νgηj+xgGκjOLD
Inertia weight with foraging movement is represented by xg , ηj signifies fitness value of jth krill and the krill best objective is represented by ηjBEST . ηj=ηjFOOD+ηjBEST ηjFOOD=DFOODκ^j,FOODY^j,FOOD
The food coefficients are represented by DFOOD and it is expressed as; DFOOD=21-JJMAX
The jth krill individual best objectives are determined by ηjBEST and it is expressed in the below equation ηjBEST=κ^j,jBESTY^j,jBEST
The food centers for iterations are computed and it is expressed as; YFOOD=j=1O1κjYjj=1O1κj
The physical diffusion movement is described on the basis of the diffusion speed for maximum and the random direction vectors are expressed in the below equation; Eκj=EMAX1-JJMAXΦ
The random direction vector is represented by Φ which lies between − 1 and 1.
To enhance the performance of KHO, the genetic reproduction mechanisms mutation and crossover are merged through KHO.
The below expression represents the crossover function of Yjsnth component, Yj,n=Ys,n,j,n<coYj,n,else
Then, crossover probability co=0.2κ^j,jBEST Yj,n=YhBEST,n+νYq,n-Yr,nj,n<NuYj,nelse
The mutation probability is denoted by Nu and it is set to Nu=0.05/κ^j,jBEST .
The krill’s position vector in the interval t+Δt is found using below expression, Yjt+Δt=Yjt+ΔtYJt