View source: R/sof.bohachevsky.n1.R
makeBohachevskyN1Function | R Documentation |
Highly multimodal single-objective test function. The mathematical formula is given by
f(\mathbf{x}) = \sum_{i = 1}^{n - 1} (\mathbf{x}_i^2 + 2 \mathbf{x}_{i + 1}^2 - 0.3\cos(3\pi\mathbf{x}_i) - 0.4\cos(4\pi\mathbf{x}_{i + 1}) + 0.7)
with box-constraints \mathbf{x}_i \in [-100, 100]
for i = 1, \ldots, n
.
The multimodality will be visible by “zooming in” in the plot.
makeBohachevskyN1Function(dimensions)
dimensions |
[ |
[smoof_single_objective_function
]
I. O. Bohachevsky, M. E. Johnson, M. L. Stein, General Simulated Annealing for Function Optimization, Technometrics, vol. 28, no. 3, pp. 209-217, 1986.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.