Second function by Price. The implementation is based on the defintion $$f(\mathbf{x}) = (|\mathbf{x}_1| - 5)^2 + (|\mathbf{x}_2 - 5)^2$$ subject to \(\mathbf{x}_i \in [-500, 500], i = 1, 2\).

makePriceN1Function()

Value

[smoof_single_objective_function]

References

W. L. Price, A Controlled Random Search Procedure for Global Optimisation, Computer journal, vol. 20, no. 4, pp. 367-370, 1977.