Second function by Price. The implementation is based on the definition $$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()An object of class SingleObjectiveFunction, representing the Price N. 1 Function.
[smoof_single_objective_function]
W. L. Price, A Controlled Random Search Procedure for Global Optimization, Computer journal, vol. 20, no. 4, pp. 367-370, 1977.
makePriceN2Function, makePriceN4Function