Discova
Back to cards
Programming1 min readWikipedia, updated 16 July 2026

Himmelblau's function

Function used as a performance test problem for optimization algorithms

In mathematical optimization, Himmelblau's function is a multi-modal function, used to test the performance of optimization algorithms. The function is defined by:

It has one local maximum at and where , and four identical local minima:

The locations of all the minima can be found analytically. However, because they are roots of quartic polynomials, when written in terms of radicals, the expressions are somewhat complicated.

The function is named after David Mautner Himmelblau (1924–2011), who introduced it.

Adapted from the Wikipedia article, CC BY-SA 4.0. Continue on Wikipedia

Go deeper

Ideas this article links to.