makeShekelFunction: Shekel functions

View source: R/sof.shekel.R

makeShekelFunctionR Documentation

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 definition of C.

Usage

makeShekelFunction(m)

Arguments

m

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

Value

An object of class SingleObjectiveFunction, representing the Shekel Functions.

[smoof_single_objective_function]


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