From AbInitio

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:29, 18 September 2010 (edit)
Stevenj (Talk | contribs)
← Previous diff
Revision as of 21:03, 16 October 2010 (edit)
Stevenj (Talk | contribs)
(Download and installation)
Next diff →
Line 27: Line 27:
procedure. See the [[NLopt Installation]] instructions for more information. procedure. See the [[NLopt Installation]] instructions for more information.
-A precompiled 32-bit Windows [[w:Dynamic-link library|DLL]], built with [[w:MinGW|MinGW]] (using [ this script]), is also available:+For Microsoft Windows, see [[NLopt on Windows]] for more information and precompiled libraries.
- +
-* []+
- +
-Be sure to read the <code>README-WINDOWS</code> file included in this [[w:ZIP (file format)|zip]] archive for how to build an [ import library] for the DLL before using, by running the <code>lib /def:libnlopt-0.def</code> command. (For source code, download the <code>.tar.gz</code> package above.)+
- +
-Alternatively, you can use the following files, provided by Benoit Scherrer (<code>benoitscherrer</code>&nbsp;&alpha;&tau;&nbsp;<code></code>), to compile NLopt from source on Windows (with the Microsoft compiler) using [[w:CMake|CMake]]:+
- +
-* [ CMakeLists.txt] and []+
==Documentation and Mailing Lists== ==Documentation and Mailing Lists==

Revision as of 21:03, 16 October 2010


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, and GNU R.
  • 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.

Download and installation

Release notes
NLopt manual
License and Copyright

Version 2.2.1 of NLopt is the latest version available from our web site:

See the NLopt release notes for the release history. NLopt is designed to be installed on any Unix-like system (GNU/Linux is fine) with a C compiler, using the standard

./configure && make && sudo make install

procedure. See the NLopt Installation instructions for more information.

For Microsoft Windows, see NLopt on Windows for more information and precompiled libraries.

Documentation and Mailing Lists

See the NLopt manual for information on how to use NLopt and what optimization algorithms it includes.

Please cite NLopt and the authors of the algorithm(s) you use in any publication that stems from your use of NLopt.

Mailing Lists

The NLopt mailing lists (and their archives) are another source of information about NLopt.

Subscribe to the (read-only) nlopt-announce mailing list to receive an email when NLopt is updated in the future. Subscribe to the (unmoderated) nlopt-discuss mailing list for discussion of questions and ideas about using NLopt.

As an alternative to the nlopt-announce mailing list, an Atom newsfeed for NLopt releases is available from the NLopt page.


We are grateful to the many authors who have published useful optimization algorithms implemented in NLopt, especially those who have provided free/open-source implementations of their algorithms.

Please cite these authors if you use their code or the implementation of their algorithm in NLopt. See the documentation for the appropriate citation for each of the algorithms in NLopt — please see the Citing NLopt information.

Contact and Feedback

If you have questions or problems regarding NLopt, you are encouraged query the nlopt-discuss mailing list (see above). As your first resort, please look at the nlopt-discuss archives.

Alternatively, you may directly contact Steven G. Johnson at—Steven G. Johnson 18:13, 1 September 2008 (EDT)

Personal tools