Function argmin_testfunctions::levy_n13

source ยท
pub fn levy_n13<T>(param: &[T; 2]) -> T
where T: Float + FromPrimitive + Sum,
Expand description

Levy test function No. 13

Defined as

f(x_1, x_2) = sin^2(3 * pi * x_1) + (x_1 - 1)^2 * (1 + sin^2(3 * pi * x_2)) + (x_2 - 1)^2 * (1 + sin^2(2 * pi * x_2))

where x_i \in [-10, 10].

The global minimum is at f(x_1, x_2) = f(1, 1) = 0.