Ackley function

Ackley function of two variables
Contour surfaces of Ackley's function in 3D

In mathematical optimization, the Ackley function is a non-convex function used as a performance test problem for optimization algorithms. It was proposed by David Ackley in his 1987 PhD dissertation. The function is commonly used as a minimization function with global minimum value 0 at 0,.., 0 in the form due to Thomas BΓ€ck. While Ackley gives the function as an example of "fine-textured broadly unimodal space" his thesis does not actually use the function as a test.


On an d-dimensional domain it is defined as:

f(𝐱)=βˆ’aexp⁑(βˆ’b1dβˆ‘i=1dxi2)

βˆ’exp⁑(1dβˆ‘i=1dcos⁑(cxi))+a+exp⁑(1)

Recommended variable values are a=20, b=0.2, and c=2Ο€.

The global minimum is f(π±βˆ—)=0 at π±βˆ—=𝟎.

See also

Notes

  1. ↑ Ackley, D. H. (1987) "A connectionist machine for genetic hillclimbing", Kluwer Academic Publishers, Boston MA. p. 13-14
  2. ↑ Bingham, Derek (2013). "Ackley Function". Virtual Library of Simulation Experiments: Test Functions and Datasets. Simon Fraser University. Retrieved December 22, 2024.