NLopt is a free/open-source library for nonlinear optimization, providing a common interface for a number of different free optimization routines available online as well as original implementations of various other algorithms. Its features include:
- Callable from C, C++, Fortran, Matlab or GNU Octave, Python, GNU Guile, Julia, GNU R, Lua, OCaml and Rust.
- A common interface for many different algorithms—try a different algorithm just by changing one parameter.
- Support for large-scale optimization (some algorithms scalable to millions of parameters and thousands of constraints).
- Both global and local optimization algorithms.
- Algorithms using function values only (derivative-free) and also algorithms exploiting user-supplied gradients.
- Algorithms for unconstrained optimization, bound-constrained optimization, and general nonlinear inequality/equality constraints.
- Free/open-source software under the GNU LGPL (and looser licenses for some portions of NLopt).
See the NLopt Introduction for a further overview of the types of problems it addresses.
Usage
Compiler/MPI | GCC 8.3.1 | GCC 9.3.0 | Intel 19.0.3 | Intel 20.0.3 | OneAPI 2021.3.0 |
---|
MPICH 3.3.2 |
|
|
|
|
|
---|
MVAPICH2 2.3.4 |
|
|
|
|
|
---|
OpenMPI 4.0.5 |
|
|
|
|
|
---|
Code Block |
---|
language | bash |
---|
title | Example |
---|
collapse | true |
---|
|
|
Links
For more information vist
Image Added