智能優(yōu)化算法23個標(biāo)準(zhǔn)測試函數(shù)(Python)

原文:
Evolutionary programming made faster?
IEEE Transactions on Evolutionary Computation?(?IF?11.554?)?Pub Date?:?1999-07-01?, DOI:?10.1109/4235.771163



單峰測試函數(shù)
F1:Sphere Function

F2:Schwefel's Problem 2.22
F3:Schwefel's Problem 1.2
F4:Schwefel's Problem 2.21
F5:Generalized Rosenbrock's Function
F6:Step Function
F7:Quartic Function i.e. Noise
多峰測試函數(shù)
F8:Generalized Schwefel's Problem 2.26
F9:Generalized Rastrigin's Function
F10:Ackley's Function

F11:Generalized Griewank's Function
F12:Generalized Penalized Function 1
F13:Generalized Penalized Function 2
固定維多峰測試函數(shù)
F14:Shekel's Foxholes Function
固定2維
F15:Kowalik's Function
固定4維
F16:Six-Hump Camel-Back Function
固定2維
F17:Branin Function
固定2維
F18:Goldstein-Price Function
固定2維
F19&F20:Hartman's Family
固定3維及6維
F21&F22&F23:Shekel's Family
固定4維
該代碼主要用于自用記錄,若有紕漏錯誤,是本人能力有限或是疏忽在此提前表達(dá)歉意,感謝批評指正。
參考來自知乎用戶valley的matlab程序(地址如下)
https://zhuanlan.zhihu.com/p/397505364