Ipopt (Interior Point OPTimizer, pronounced eye-pea-Opt) is a software package for large-scale nonlinear optimization. It is designed to find (local) solutions of mathematical optimization problems of the form
min f(x)
x ∈ Rⁿ
s.t. g_L ≤ g(x) ≤ g_U
x_L ≤ x ≤ x_U
where f(x): Rⁿ --> R
is the objective function, and g(x): Rⁿ --> Rᵐ
are the constraint functions. The vectors g_L
and g_U
denote the lower and upper bounds on the constraints, and the vectors x_L
and x_U
are the bounds on the variables x
.
The functions f(x)
and g(x)
can be nonlinear and nonconvex, but should be twice continuously differentiable.
Note that equality constraints can be formulated in the above formulation by setting the corresponding components of g_L
and g_U
to the same value.
Ipopt is part of the COIN-OR Initiative.
Ipopt is written in C++ and is released as open source code under the Eclipse Public License (EPL). The code has been written by Andreas Wächter and Carl Laird. The COIN-OR project managers for Ipopt are Andreas Wächter und Stefan Vigerske. For a list of all contributors, see the AUTHORS file.
The C++ version has first been released on Aug 26, 2005 as version 3.0.0. The previously released pre-3.0 Fortran version is no longer maintained.
The Ipopt distribution can be used to generate a library that can be linked to one's own C++, C, Fortran, or Java code, as well as a solver executable for the AMPL modeling environment. The package includes interfaces to CUTEr optimization testing environment, as well as the MATLAB and R programming environments. IPOPT can be used on Linux/UNIX, Mac OS X and Windows platforms.
As open source software, the source code for Ipopt is provided without charge. You are free to use it, also for commercial purposes. You are also free to modify the source code (with the restriction that you need to make your changes public if you decide to distribute your version in any way, e.g. as an executable); for details see the EPL license. And we are certainly very keen on feedback from users, including contributions!
In order to compile Ipopt, certain third party code is required (such as some linear algebra routines). Those are available under different conditions/licenses.
If you want to learn more about Ipopt, you can find references in the bibliography of the documentation and this "Papers about Ipopt" page.
For information on projects that use Ipopt, refer to the Success Stories page.
Download Ipopt source as tarballs.
You can also obtain the Ipopt code via Git. Please refer to the documentation and the General Configuration and Installation Instructions for COIN-OR projects.
Please make sure you read the current issues page before you try to install Ipopt.
Also still available is the no longer maintained older Fortran version.
Additionally, JuliaOpt provides Ipopt binaries, AMPL provides binaries for using Ipopt through AMPL, and the Pardiso project provides binaries for using Ipopt with Pardiso through Matlab.
The main Ipopt documentation contains
- Installation Instructions
- Interfacing Ipopt
- Special Features:
- Output
- Option Files, Options Reference, Options available via AMPL
Further Information:
- FAQ (Frequently Asked Questions)
- Mailing list archive
- Compilation hints collected by users (partly outdated)
- Current configuration and installation issues for COIN-OR projects
- General Configuration and Installation Instructions for COIN-OR projects
- short Ipopt tutorial
- Hints and tricks on using Ipopt
- Doxygen documentation for the Ipopt source code can be generated by executing
make doxydoc
in an Ipopt build directory
Getting Help:
- Mailing list: subscribe to get notifications about updates and to post questions and comments regarding Ipopt
- Issue tracking system: If you believe you found a bug in the code, please use the issue tracking system. Please include as much information as possible, and if possible some (ideally simple) example code so that we can reproduce the error.
COIN-OR/ADOL-C: Using Ipopt via C++ and automatic differentiation (examples).
COIN-OR/AIMMSlinks: Using Ipopt via AIMMS
COIN-OR/CppAD: Using Ipopt via C++ and automatic differentiation (example).
COIN-OR/GAMSlinks: Using Ipopt via GAMS
COIN-OR/Optimization Services: Using Ipopt via OS
APMonitor: MATLAB, Python, and Web Interface to Ipopt with APMonitor for Android, Linux, Mac OS X, and Windows
CasADi: Using Ipopt in a symbolic framework for automatic differentiation and numeric optimization.
csipopt: Interfacing Ipopt from .NET languages such as C#, F# and Visual Basic.NET.
ifopt: Modern, light-weight (~1k loc), Eigen-based C++ interface to Ipopt and Snopt
JuMP: Algebraic modeling with automatic differentiation in Julia (low-level interface also available)
MADOPT: Light-weight C++ and Python modelling interfaces implementing expression building using operator overloading and automatic differentiation.
mexIPOPT: a rewrite of the MATLAB interface that is contained in Ipopt
OPTI Toolbox: Windows x86 + x64 MATLAB Interface, including binaries
IPyOpt: Interfacing Ipopt from Python
sci-ipopt: Interfacing Ipopt from Scilab (a free MATLAB-like environment)
We provide this program in the hope that it may be useful to others, and we would very much like to hear about your experience with it. If you found it helpful and are using it within our software, we encourage you to add your feedback to the Success Stories page.
Since a lot of time and effort has gone into Ipopt's development, please cite the following publication if you are using Ipopt for your own research:
- A. Wächter and L. T. Biegler, On the Implementation of a Primal-Dual Interior Point Filter Line Search Algorithm for Large-Scale Nonlinear Programming, Mathematical Programming 106(1), pp. 25-57, 2006 (preprint)