OptimLib is a lightweight C++ library of numerical optimization methods for nonlinear functions.
Author: Keith O'Hara
License: Apache License, version 2.0.
OptimLib can be installed in the standard way:
# clone optim git clone -b master --single-branch https://github.com/kthohr/optim ./optim # build and install cd ./optim ./configure -i "/usr/local" -p make make install
The last line will install OptimLib into /usr/local
Configuration options: (see
-ca coverage build
-da 'development' build with install names set to the build directory (as opposed to an install path)
-ga debugging build
-iinstall path; default: build directory.
-mspecify the BLAS and Lapack libraries to link against; for example,
-m "-framework Accelerate"
-ocompiler optimization options; defaults to
-O3 -march=native -ffp-contract=fast -flto -DARMA_NO_DEBUG
-penable OpenMP parallelization features (recommended)