Test set: 23 groups of basic test function introduction and images (provide python code)

1. Introduction of 23 groups of basic test functions

In the process of performance testing of intelligent optimization algorithms, it is often necessary to use some test functions to test the performance of the algorithm's global search and local search. CEC (International Conference on Evolutionary Computation) test functions, the commonly used 23 groups are organized as follows:
insert image description here

References:
[1] Yao X, Liu Y, Lin G M. Evolutionary programming made faster[J]. IEEE transactions on evolutionary computation, 1999, 3(2):82-102.

Two, python code

from FunInfo import Get_Functions_details
from func_plot import func_plot
for i in range(1,24):#测试函数1-23
    function_name=i
    lb,ub,dim,fobj=Get_Functions_details(function_name)
    func_plot(lb,ub,dim,fobj,function_name)

3. 23 test function images

insert image description here
Please add a picture description

Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description
Please add a picture description

Please add a picture description
Please add a picture description
Please add a picture description

Guess you like

Origin blog.csdn.net/weixin_46204734/article/details/129582612