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) \cdot \sin\left( \sqrt{\left| x_2 + \frac{x_1}{2} + 47 \right|} \right) - x_1 \cdot \sin\left(\sqrt{\left|x_1 - (x_2 + 47)\right|}\right) $$
where $x_i \in [-512,\,512]$.
The global minimum is at $f(x_1,\,x_2) = f(512,\,404.2319) = -959.6407$.