Test Functions

                      for Unconstrained Global Optimization

Rastrigin Function

r Number of variables: n variables.

r Definition:

 

 

r Search domain: 5.12 xi 5.12, i = 1, 2, . . . , n.

r Number of local minima: several local minima.

r The global minima: x* =  (0, …, 0), f(x*) = 0.

r MATLAB Code: download rast.m

r Function graph: for n = 2.

 

 

GO Test Problems