A set of common benchmark functions for testing optimization algorithms in Julia
To add the package, enter the following into the REPL:
julia> using Pkg
julia> Pkg.add("BenchmarkFunctions")
A simple example for creating a grid and evaluating a benchmark function is:
using BenchmarkFunctions
X = ndgrid(-4:0.1:4,-4:0.1:4)
y = himmelblau(X)
To recreate the above plot:
using BenchmarkFunctions
plot("himmelblau", -4:0.1:4, -4:0.1:4)