cbx.objectives.Bukin6#

class cbx.objectives.Bukin6[source]#

Bases: cbx_objective

Bukin’s function 6

Bunkin’s sixth function is a function with many local minima and one global minimum. It is defined as

\[f(x,y) = 100\sqrt{|y - 0.01x^2|} + 0.01|x + 10|,\]

see, e.g., [1].

Parameters:

None

Global minima#

  • \(f(x,y) = 0\) at \((x,y) = (0,0)\)

Examples

>>> import numpy as np
>>> from cbx.objectives import Bukin6
>>> x = np.array([[1,2], [3,4], [5,6]])
>>> f = Bukin6()
>>> f(x)
array([  68.,  148., 1556.])

Visualization#

(Source code, png, hires.png, pdf)

../../_images/cbx-objectives-Bukin6-1.png

References