makeSchwefelFunction: Schwefel function

View source: R/sof.schwefel.R

makeSchwefelFunctionR Documentation

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)

Arguments

dimensions

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

Value

[smoof_single_objective_function]

References

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


smoof documentation built on March 31, 2023, 11:48 p.m.