GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions 
Contents: Next:
Contents1.2 Axis parallel hyper-ellipsoid function

1 Parametric Optimization


1.1 De Jong's function 1

The simplest test function is De Jong's function 1. It is continuos, convex and unimodal.

function definition
f1(x)=sum(x(i)^2), i=1:n;
-5.12<=x(i)<=5.12
.

global minimum
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.
De Jong's function 1, global De Jong's function 1, local


GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions 

This document is part of version 3.3 of the GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab - www.geatbx.com.
The Genetic and Evolutionary Algorithm Toolbox is not public domain.
© 1994-2000 Hartmut Pohlheim, All Rights Reserved, (support@geatbx.com).