Function argmin_testfunctions::eggholder
source ยท pub fn eggholder<T>(param: &[T; 2]) -> Twhere
T: Float + FromPrimitive,
Expand description
Eggholder test function
Defined as
f(x_1, x_2) = -(x_2 + 47) * sin( sqrt( abs( x_2 + x_1/2 + 47 ) ) ) - x_1 * sin( sqrt( abs( x_1 - (x_2 + 47) ) ) )
where x_i \in [-512, 512]
.
The global minimum is at * f(x_1, x_2) = f(512, 404.2319) = -959.6407
.