Discova
Back to cards
Programming1 min readWikipedia, updated 29 October 2025

Shekel function

Function used as a performance test problem for optimization algorithms

The Shekel function or also Shekel's foxholes is a multidimensional, multimodal, continuous, deterministic function commonly used as a test function for testing optimization techniques.

The mathematical form of a function in dimensions with maxima is:

or, similarly,

Global minima

Numerically certified global minima and the corresponding solutions were obtained using interval methods for up to .

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

Go deeper

Ideas this article links to.