Learn R Programming

smoof (version 1.6.0.3)

makeCosineMixtureFunction: Cosine Mixture Function

Description

Single-objective test function based on the formula $$f(\mathbf{x}) = -0.1 \sum_{i = 1}^{n} \cos(5\pi\mathbf{x}_i) - \sum_{i = 1}^{n} \mathbf{x}_i^2$$ subject to \(\mathbf{x}_i \in [-1, 1]\) for \(i = 1, \ldots, n\).

Usage

makeCosineMixtureFunction(dimensions)

Value

[smoof_single_objective_function]

Arguments

dimensions

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

References

M. M. Ali, C. Khompatraporn, Z. B. Zabinsky, A Numerical Evaluation of Several Stochastic Algorithms on Selected Continuous Global Optimization Test Problems, Journal of Global Optimization, vol. 31, pp. 635-672, 2005.