makeSchwefelFunction: Schwefel function

View source: R/sof.schwefel.R

makeSchwefelFunctionR Documentation

Schwefel function

Description

Highly multi-modal test function. The crucial 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

An object of class SingleObjectiveFunction, representing the Schwefel Function.

[smoof_single_objective_function]

References

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


jakobbossek/smoof documentation built on Feb. 17, 2024, 2:23 a.m.