The Sphere single-objective optimization benchmark function[11].
Overview
The Sphere function is defined as follows. It is known as a unimodal function whose optimal solution is x=0.
f(x)=i=1∑nxi2−5.12≤xi≤5.12
Configurable keyword arguments
dim: int ... Number of dimensions n in the optimization problem.