levels_test


levels_test, an Octave code which calls levels(), which draws a contour plot of a function, using sampling to determine the appropriate contour levels.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

levels, an Octave code which draws a contour plot of a function, using sampling to determine the appropriate contour levels.

Source Code:

BEALE is the Beale function.

BOHACH1 is the Bohachevsky function #1.

BOHACH2 is the Bohachevsky function #2.

GOLDSTEIN_PRICE is the Goldstein-Price function.

LOCAL is a badly scaled function with a local minimum. The local minimum is at roughly X=(0.285,0.279) with F(X)=5.92 while the global minimum is at roughly X=(-21.02,-36.76) with F(X)=0. Because of the nature of this function, minimization algorithms may have a very hard time.


Last revised on 18 September 2024.