Skip to main content
. 2020 May 27;2020:2630104. doi: 10.1155/2020/2630104

Table 4.

The test functions of CEC 2015.

Function Formulation Limits Minimum
Type: unimodal
Sphere f 1(x)=∑i=1Dxi2 x i ∈ [−100,100] f10=0
Schwefel's problem 2.22 f 2(x)=∑i=1D|xi|+∏i=1D|xi| x i ∈ [−10,10] f20=0
Rosenbrock f 3(x)=∑i=1P−1[100(xi+1xi)2+(1 − xi)2] x i ∈ [−30,30] f30=0
High conditioned elliptic f 4(x)=∑i=1D(106)((i − 1)/(D − 1))xi2 x i ∈ [−100,100] f40=0
Dixon-Price f 5(x)=(x1 − 1)2+∑i=2Di(2xi2xi−1)2 x i ∈ [−10,10] f5xi=0

Type: multimodal
Ackley f6x=20exp0.21/Pi=1Pxi2exp1/Pi=1Pcos2πxi+20+e x i ∈ [−30,30] f60=0
Rastrigin f 7(x)=∑i=1P(xi2 − 10cos(2πxi)+10) x i ∈ [−5.12, 5.12] f70=0
Griewank f8x=1/4000i=1Pxi2i=1Pcosxi/i+1 x i ∈ [−600,600] f80=0
Levy f 9(x)=sin2(πω1)+∑i=1D−1(ωi − 1)2[1+10sin2(πωi+1)]+(ωD − 1)2[1+sin2(2πωD)];  ωi=1+((xi − 1)/4) x i ∈ [−10,10] f91=0
HappyCat f 10(x)=|∑i=1Dxi2D|1/4+((0.5∑i=1Dxi2+∑i=1Dxi)/D)+0.5 x i ∈ [−5,5] f101=0