# makeGriewankFunction: Griewank Function

### Description

Highly multimodal function with a lot of regularly distributed local minima. The corresponding formula is:

f(\mathbf{x}) = ∑_{i=1}^{n} \frac{\mathbf{x}_i^2}{4000} - ∏_{i=1}^{n} \cos≤ft(\frac{\mathbf{x}_i}{√{i}}\right) + 1

subject to \mathbf{x}_i \in [-100, 100], i = 1, …, n.

### Usage

 1 makeGriewankFunction(dimensions) 

### Arguments

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

### Value

[smoof_single_objective_function]

### References

A. O. Griewank, Generalized Descent for Global Optimization, Journal of Optimization Theory and Applications, vol. 34, no. 1, pp. 11-39, 1981.

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.