Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

makeBohachevskyN1Function

Bohachevsky function N. 1


Description

Highly multimodal single-objective test function. The mathematical formula is given by

f(\mathbf{x}) = ∑_{i = 1}^{n - 1} (\mathbf{x}_i^2 + 2 \mathbf{x}_{i + 1}^2 - 0.3\cos(3π\mathbf{x}_i) - 0.4\cos(4π\mathbf{x}_{i + 1}) + 0.7)

with box-constraints \mathbf{x}_i \in [-100, 100] for i = 1, …, n. The multimodality will be visible by “zooming in” in the plot.

Usage

makeBohachevskyN1Function(dimensions)

Arguments

dimensions

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

Value

[smoof_single_objective_function]

References

I. O. Bohachevsky, M. E. Johnson, M. L. Stein, General Simulated Annealing for Function Optimization, Technometrics, vol. 28, no. 3, pp. 209-217, 1986.


smoof

Single and Multi-Objective Optimization Test Functions

v1.6.0.2
BSD_2_clause + file LICENSE
Authors
Jakob Bossek [aut, cre], Pascal Kerschke [ctb]
Initial release
2020-02-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.