GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions 
Previous: Contents: Next:
1.5 Rastrigin's function 6 Contents1.7 Griewangk's function 8

1 Parametric Optimization


1.6 Schwefel's function 7

Schwefel's function [Sch81] is deceptive in that the global minimum is geometrically distant, over the parameter space, from the next best local minima. Therefore, the search algorithms are potentially prone to convergence in the wrong direction.

function definition
f7(x)=sum(-x(i)·sin(sqrt(abs(x(i))))), i=1:n;
-500<=x(i)<=500
.

global minimum
f(x)=-n·418.9829; x(i)=420.9687, i=1:n.

This function is implemented in objfun7.

Schwefel's function 7


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).