makeSchwefelFunction function

Schwefel function

Schwefel function

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: [REMOVE_ME]f(x)=i=1nxisin((xi))[REMOVEME2] f(\mathbf{x}) = \sum_{i=1}^{n} -\mathbf{x}_i \sin\left(\sqrt(|\mathbf{x}_i|)\right) [REMOVE_ME_2]

with xi[500,500],i=1,,n.\mathbf{x}_i \in [-500, 500], i = 1, \ldots, n.

makeSchwefelFunction(dimensions)

Arguments

  • dimensions: [integer(1)]

    Size of corresponding parameter space.

Returns

[smoof_single_objective_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(x)=i=1nxisin((xi)) f(\mathbf{x}) = \sum_{i=1}^{n} -\mathbf{x}_i \sin\left(\sqrt(|\mathbf{x}_i|)\right)

with xi[500,500],i=1,,n.\mathbf{x}_i \in [-500, 500], i = 1, \ldots, n.

References

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

  • Maintainer: Jakob Bossek
  • License: BSD_2_clause + file LICENSE
  • Last published: 2023-03-10