Current version: 0.2

Project Page
Mailing List
Browse Source


NLPy is a Python package for numerical optimization. It aims to provide a toolbox for solving linear and nonlinear programming problems that is both easy to use and extensible. It is applicable to problems that are smooth, have no derivatives, or have integer data.

Implementing, testing, prototyping, experimenting with, and modifying innovative optimization algorithms for large-scale constrained problems are difficult and challenging tasks, regardless of the programming language. The purpose of NLPy is to offer an environment in which such tasks naturally combine with the programming language and the algorithmics in such a way that they are not more difficult than they really should and yet efficient large-scale implementations remain possible.

Be sure to check the Documentation for examples.

NLPy is open-source software distributed under the tems of the GNU Lesser General Public License.


The complete documentation is also available in PDF format.

Obtaining NLPy

NLPy is available in source form directly from the Git repository using

git clone git://

The password is empty: just hit enter when prompted.

Everytime you wish to update your NLPy source files, simply bring your tree up to date:

git pull origin master