Function argmin_testfunctions::booth
source ยท pub fn booth<T>(param: &[T; 2]) -> Twhere
T: Float + FromPrimitive,
Expand description
Booth test function
Defined as
`f(x_1, x_2) = (x_1 + 2x_2 - 7)^2 + (2x_1 + x_2 - 5)^2
where x_i \in [-10, 10]
.
The global minimum is at f(x_1, x_2) = f(1, 3) = 0
.