Learn R Programming

smoof (version 1.6.0.3)

makeShekelFunction: Shekel functions

Description

Single-objective test function based on the formula $$f(\mathbf{x}) = -\sum_{i=1}^{m} \left(\sum_{j=1}^{4} (x_j - C_{ji})^2 + \beta_{i}\right)^{-1}$$. Here, \(m \in \{5, 7, 10\}\) defines the number of local optima, \(C\) is a \(4 x 10\) matrix and \(\beta = \frac{1}{10}(1, 1, 2, 2, 4, 4, 6, 3, 7, 5, 5)\) is a vector. See https://www.sfu.ca/~ssurjano/shekel.html for a defintion of \(C\).

Usage

makeShekelFunction(m)

Value

[smoof_single_objective_function]

Arguments

m

[numeric(1)]
Integer parameter (defines the number of local optima). Possible values are 5, 7 or 10.