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.

evshubert(x)
function y = evshubert(x)

% Name: Shubert
% Reference:
% Variables: 2
% Initial Point/ Initial Interval: (5,5) / ([-10,10],...,[-10,10])
% Number of Solutions: 18
% Reported Solution: - 
% Minima: -186.7309
% Matlab Code by A. Hedar (Nov. 23, 2005).

s1 = 0; 
s2 = 0;
for i = 1:5;   
    s1 = s1+i*cos((i+1)*x(1)+i);
    s2 = s2+i*cos((i+1)*x(2)+i);
end
y = s1*s2;

Contact us at files@mathworks.com