NLopt is a library for nonlinear local and global optimization, forfunctions with and without gradient information. It is designed asas simple, unified interface and packaging of several free/open-sourcenonlinear optimization libraries.It is compiled and installed with the standard GNU autoconf/automakecommands: ./configure make make install(See './configure --help' or the INSTALL file for other options.)Once it is installed, #include <nlopt.h> in your C/C++ programs andlink it with -lnlopt -lm. You may need to use the C++ compiler to linkin order to include the C++ libraries (which are used internally by NLopt,even though it has a C API).