jmejia8 / BenchmarkFunctions.jl

A set of common benchmark functions for testing optimization algorithms in Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BenchmarkFunctions.jl

A set of common benchmark functions for testing optimization algorithms in Julia

Build Status Coverage Status

Surface and contour plots of the Himmelblau function

Getting Started

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)

About

A set of common benchmark functions for testing optimization algorithms in Julia

License:GNU General Public License v3.0


Languages

Language:Julia 100.0%