makeSchafferN2Function: Modified Schaffer Function N. 2

Description Usage Value References

View source: R/sof.schaffer.function.2.R


Second function by Schaffer. The defintion is given by the formula

f(\mathbf{x}) = 0.5 + \frac{\sin^2(\mathbf{x}_1^2 - \mathbf{x}_2^2) - 0.5}{(1 + 0.001(\mathbf{x}_1^2 + \mathbf{x}_2^2))^2}

subject to \mathbf{x}_i \in [-100, 100], i = 1, 2.






S. K. Mishra, Some New Test Functions For Global Optimization And Performance of Repulsive Particle Swarm Method.

smoof documentation built on May 20, 2017, 5:35 a.m.

Search within the smoof package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.