https://github.com/uwealex/nonlinearoptimizationtestfunctions.jl
NonlinearOptimizationTestFunctions is a Julia package designed for testing and benchmarking nonlinear optimization algorithms. It provides a comprehensive collection of 200+ standard test functions, each equipped with analytical gradients, metadata, and validation mechanisms.
https://github.com/uwealex/nonlinearoptimizationtestfunctions.jl
benchmarking benchmarks julia julia-package nonlinear-optimization optimization test-functions
Last synced: 4 months ago
JSON representation
NonlinearOptimizationTestFunctions is a Julia package designed for testing and benchmarking nonlinear optimization algorithms. It provides a comprehensive collection of 200+ standard test functions, each equipped with analytical gradients, metadata, and validation mechanisms.
- Host: GitHub
- URL: https://github.com/uwealex/nonlinearoptimizationtestfunctions.jl
- Owner: UweAlex
- License: mit
- Created: 2025-07-04T12:38:22.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2026-01-10T22:11:57.000Z (5 months ago)
- Last Synced: 2026-01-11T06:48:56.635Z (5 months ago)
- Topics: benchmarking, benchmarks, julia, julia-package, nonlinear-optimization, optimization, test-functions
- Language: Julia
- Homepage:
- Size: 1.53 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NonlinearOptimizationTestFunctions.jl
[](https://juliahub.com/ui/Packages/NonlinearOptimizationTestFunctions)
[](https://github.com/UweAlex/NonlinearOptimizationTestFunctions.jl/actions)
[](https://codecov.io/gh/UweAlex/NonlinearOptimizationTestFunctions.jl)
[](test/)
[](LICENSE)
Comprehensive, rigorously tested collection of nonlinear optimization test functions for Julia.
Over 200 standard benchmark problems with analytical gradients, known global minima, bounds and detailed mathematical properties.
Perfect for developers of global optimizers, local solvers, derivative-free methods, metaheuristics and gradient-based algorithms.
## Key Features
- Analytical gradients verified against ForwardDiff and Zygote
- Rich metadata: global minimum, recommended starting points, bounds, modality, convexity, separability, etc.
- Domain-safe box-constraint wrapper (`with_box_constraints`)
- Full compatibility with Optim.jl, NLopt.jl, GalacticOptim.jl, BlackBoxOptim.jl
- More than 350 automated tests covering edge cases, high-precision arithmetic and gradient accuracy
## Installation
using Pkg
Pkg.add("NonlinearOptimizationTestFunctions")
## Quick Start
using NonlinearOptimizationTestFunctions, Optim
tf = ROSENBROCK_FUNCTION
result = optimize(tf.f, tf.grad, start(tf), LBFGS())
println("Rosenbrock minimum: ", minimum(result))
## Documentation
Complete manual, full function reference, detailed examples, properties, testing strategy and roadmap:
[https://uwealex.github.io/NonlinearOptimizationTestFunctions.jl](https://uwealex.github.io/NonlinearOptimizationTestFunctions.jl)
Legacy documentation (pre-2025) is archived here:
[Legacy docs](https://github.com/UweAlex/NonlinearOptimizationTestFunctions.jl/tree/master/legacy-docs)