50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

smoof (version 1.6.0.3)

makeBohachevskyN1Function: Bohachevsky function N. 1

Description

Highly multimodal single-objective test function. The mathematical formula is given by f(x)=i=1n1(xi2+2xi+120.3cos(3πxi)0.4cos(4πxi+1)+0.7) with box-constraints xi[100,100] for i=1,,n. The multimodality will be visible by “zooming in” in the plot.

Usage

makeBohachevskyN1Function(dimensions)

Value

[smoof_single_objective_function]

Arguments

dimensions

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

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.