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.

evgoldsteinprice(x)
function y = evgoldsteinprice(x)
% Name: Goldstein&Price
% Reference: 
% Goldstein, A. A. and Price, I. F.: On descent from local minima. 
% Math. Comput., Vol. 25, No. 115, 1971. 
% Variables: 2
% Initial Point/ Initial Interval: (0,0) / ([-2, 2],[-2, 2])
% Reported Solution: (0,1)
% Minima: 3
% Matlab Code by A. Hedar (Nov. 23, 2005).

a = 1 + (x(1) + x(2) + 1)^2 ...
    * (19 - 14 * x(1) + 3*x(1)^2 - 14 * x(2) + 6 * x(1) * x(2) +3 * x(2) ^ 2);

b = 30 + (2 * x(1) - 3 * x(2))^2 ...
    * (18 - 32 * x(1) + 12 * x(1)^2 + 48 * x(2) -36 * x(1) * x(2) + 27 * x(2)^2);
y = a*b;
end

Contact us at files@mathworks.com