Skip to main content
. 2021 Aug 26;16(8):e0254239. doi: 10.1371/journal.pone.0254239

Table 2. The used test functions in the evaluation.

No. Function Name Test Function Dimension Search Space Optimal Solution
F1 Sphere f(x)=i=1nxi2 2 [-100,100] 0
5 [-100,100] 0
10 [-100,100] 0
30 [-100,100] 0
F2 Schwefel 2.22 f(x)=i=1nxi+i=1nxi 2 [-100,100] 0
5 [-100,100] 0
10 [-100,100] 0
30 [-10,10] 0
F3 Schwefel 1.2 f(x)=i=1nj=1ixj 2 [-100,100] 0
5 [-100,100] 0
10 [-100,100] 0
30 [-100,100] 0
F4 Schwefel 2.21 f(x)=maxabsxi 2 [-10,10] 0
5 [-10,10] 0
10 [-10,10] 0
30 [-100,100] 0
F5 Rosenbrock f(x)=i=1n1100xi+1xi22+xi12 2 [-30,30] 0
5 [-30,30] 0
10 [-30,30] 0
30 [-30,30] 0
F6 Step f(x)=i=1nxi+0.52 2 [-100,100] 0
5 [-100,100] 0
10 [-100,100] 0
30 [-100,100] 0
F7 Rastrigin f(x)=i=1nxi210cos2πxi+10 2 [-5.12,5.12] 0
5 [-5.12,5.12] 0
10 [-5.12,5.12] 0
30 [-5.12,5.12] 0
F8 Ackley f(x)=20+e20exp151ni=1nxi2exp1ni=1ncos2πxi 2 [-32,32] 0
5 [-32,32] 0
10 [-32,32] 0
30 [-32,32] 0
F9 Griewank f(x)=11000i=1nxi2i1ncosxii+1 2 [-600,600] 0
5 [-600,600] 0
10 [-600,600] 0
30 [-600,600] 0
F10 Penalgy 1 f(x)=πn10sinπy1+i=1n1y1121+10sin2πyi+1+yn12+i=1nuxi,10,100,4,yi=1+xi+14,uxi,a,k,m=kxiam,xi>a0a<xi<akxiam,xi<a 2 [-50,50] 0
5 [-50,50] 0
10 [-50,50] 0
30 [-50,50] 0
F11 Bent Cigar f(x)=x12+106i=2nxi2 2 [-50,50] 0
5 [-50,50] 0
10 [-50,50] 0
30 [-50,50] 0
F12 Sumsquares-2 fx=i=1nixi2 2 [-50,50] 0
5 [-50,50] 0
10 [-50,50] 0
30 [-50,50] 0