library for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
C
2,280
944 commits
updated Jun 6, 2026
NLopt is a library for nonlinear local and global optimization, for functions with and without gradient information. It is designed as a simple, unified interface and packaging of several free/open-source nonlinear optimization libraries.
The latest release can be downloaded from the NLopt releases page on Github, and the NLopt manual is hosted on readthedocs.
To build it refer to the installation instructions.
To use in your C/C++ programs see the C reference manual.
There are also interfaces for C++, Fortran, Python, Matlab or GNU Octave, OCaml, GNU Guile, GNU R, Lua, Perl, Rust, Ruby, Julia, and Java. Interfaces for other languages may be added in the future.
6,960 followers · starred Dec 2024
69 followers · starred Sep 2014
80 followers · starred Dec 2013
26 followers · starred Aug 2022
library for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
C
2,280
944 commits
updated Jun 6, 2026
NLopt is a library for nonlinear local and global optimization, for functions with and without gradient information. It is designed as a simple, unified interface and packaging of several free/open-source nonlinear optimization libraries.
The latest release can be downloaded from the NLopt releases page on Github, and the NLopt manual is hosted on readthedocs.
To build it refer to the installation instructions.
To use in your C/C++ programs see the C reference manual.
There are also interfaces for C++, Fortran, Python, Matlab or GNU Octave, OCaml, GNU Guile, GNU R, Lua, Perl, Rust, Ruby, Julia, and Java. Interfaces for other languages may be added in the future.
6,960 followers · starred Dec 2024
69 followers · starred Sep 2014
80 followers · starred Dec 2013
26 followers · starred Aug 2022