Contents | 1.2 Axis parallel hyper-ellipsoid function |
The simplest test function is De Jong's function 1. It is continuos, convex and unimodal.
f1(x)=sum(x(i)^2),
i=1:n;
-5.12<=x(i)<=5.12
.
f(x)=0; x(i)=0, i=1:n.
This function is implemented in objfun1.
The figures below show the function using different domains of the variables. The left graphic plots the function in a very large area from -500 to 500 for each of both variables. The right graphic looks at a smaller area from -10 to 10. However, both graphics look similar, just the scaling changed.