Learn R Programming

smoof (version 1.6.0.3)

makeSchwefelFunction: Schwefel function

Description

Highly multimodal test function. The cursial thing about this function is, that the global optimum is far away from the next best local optimum. The function is computed via: $$f(\mathbf{x}) = \sum_{i=1}^{n} -\mathbf{x}_i \sin\left(\sqrt(|\mathbf{x}_i|)\right)$$ with \(\mathbf{x}_i \in [-500, 500], i = 1, \ldots, n.\)

Usage

makeSchwefelFunction(dimensions)

Value

[smoof_single_objective_function]

Arguments

dimensions

[integer(1)]
Size of corresponding parameter space.

References

Schwefel, H.-P.: Numerical optimization of computer models. Chichester: Wiley & Sons, 1981.