BenchmarkFunctions.jl

A set of common benchmark functions for testing optimization algorithms in Julia
Author rbalexan
Popularity
3 Stars
Updated Last
2 Years Ago
Started In
March 2020

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)

Used By Packages

No packages found.