Code covered by the BSD License  

Highlights from
INTSOLVER: An interval based solver for Global Optimization

from INTSOLVER: An interval based solver for Global Optimization by Tiago Montanher
Interval based functions to solve small global optimization problems with guaranteed bounds.

evgriewank(x)
function y = evgriewank(x)

% Name: Griewank
% Reference: 
% Torn, A. and Zilinskas, A. (1989), Global Optimization , Lecture Notes in
% Computer Science,No. 350, Springer-Verlag, Berlin.
% Variables: n
% Initial Point/ Initial Interval: (600,....,600) / ([-600,600],...,[-600,600])
% Reported Solution: (0,....,0)
% Minima: 0
% Matlab Code by A. Hedar (Sep. 29, 2005).

n = 2;
fr = 4000;
s = 0;
p = 1;
for j = 1:n; s = s+x(j)^2; end
for j = 1:n; p = p*cos(x(j)/sqrt(j)); end
y = s/fr-p+1;

Contact us at files@mathworks.com