https://github.com/coin-or/ipopt

COIN-OR Interior Point Optimizer IPOPT

https://github.com/coin-or/ipopt

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    11 of 36 committers (30.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.6%) to scientific vocabulary

Keywords from Contributors

mathematical-programming nonlinear-programming modeling-language interior-point-method mathematical-modelling mixed-integer-programming high-performance quadratic-programming optimization-algorithms optimization-tools
Last synced: 7 months ago · JSON representation

Repository

COIN-OR Interior Point Optimizer IPOPT

Basic Info
Statistics
  • Stars: 1,615
  • Watchers: 46
  • Forks: 295
  • Open Issues: 7
  • Releases: 25
Created about 7 years ago · Last pushed 8 months ago
Metadata Files
Readme Changelog Funding License Authors

README.md

Ipopt

Introduction

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

$$\begin{align} \min{x \in R^n}\ & f(x), \ \text{s.t.}\ & gL \le g(x) \le gU, \ & xL \le x \le x_U, \end{align}$$

where $f: R^n \rightarrow R$ is the objective function, and $g: R^n \rightarrow R^m$ are the constraint functions. The vectors $gL$ and $gU$ denote the lower and upper bounds on the constraints, and the vectors $xL$ and $xU$ 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 $gL$ and $gU$ to the same value.

Ipopt is part of the COIN-OR Initiative. The Ipopt project webpage is https://github.com/coin-or/Ipopt.

Background

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 an interface to the R programming environment. IPOPT can be used on Linux/UNIX, macOS, 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.

For information on projects or papers that use Ipopt, refer to the Ipopt usage stories and papers discussion.

Getting Started

Please consult the detailed installation instructions in the Ipopt documentation. In the following, we only summarize some main points.

Dependencies

Ipopt requires at least one of the following solvers for systems of linear equations: - MA27, MA57, HSLMA77, HSLMA86, or HSL_MA97 from the Harwell Subroutines Library (HSL). It is recommended to use project ThirdParty-HSL to build a HSL library for use by Ipopt or to use prebuild macOS/Windows/Linux libraries from STFC, see the Ipopt installation instruction. - Parallel Sparse Direct Linear Solver (Pardiso). Note, that the Intel Math Kernel Library (MKL) also includes a version of Pardiso, but the one from Pardiso Project often offers better performance. - Sparse Parallel Robust Algorithms Library (SPRAL). - MUltifrontal Massively Parallel sparse direct Solver (MUMPS). It is highly recommended to use project ThirdParty-Mumps to build a MUMPS library for use by Ipopt. - Watson Sparse Matrix Package

A fast implementation of BLAS and LAPACK is required by Ipopt.

To build the AMPL interface of Ipopt, the AMPL Solver Library (ASL) is required. It is recommended to use project ThirdParty-ASL to build a ASL library for use by Ipopt.

Build

After installation of dependencies, an Ipopt build and installation follows these 4 steps:

  1. Run ./configure. Use ./configure --help to see available options.

  2. Run make to build the Ipopt libraries. If ASL was made available, also Ipopt executables will be build.

  3. Run make test to test the Ipopt build.

  4. Run make install to install Ipopt (libraries, executables, and header files).

It is suggested to use the same installation prefix (--prefix option of configure) when configuring the build of ThirdParty-ASL, ThirdParty-HSL, ThirdParty-MUMPS, and Ipopt.

Using coinbrew

An alternative to the above steps is to use the coinbrew script from https://coin-or.github.io/coinbrew/. coinbrew automates the download of the source code for ASL, MUMPS, and Ipopt and the sequential build and installation of these three packages.

After obtaining the coinbrew script, run

/path/to/coinbrew fetch Ipopt --no-prompt
/path/to/coinbrew build Ipopt --prefix=/dir/to/install --test --no-prompt --verbosity=3
/path/to/coinbrew install Ipopt --no-prompt

More details on using coinbrew can be found at the instructions on Getting Started with the COIN-OR Optimization Suite.

Precompiled binaries

Some precompiled binaries of Ipopt are also available:

Getting Help

  • Ipopt Documentation with installation instructions, options reference, and more
  • 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.
  • Discussions: ask questions, share ideas, engage with the Ipopt community
  • Mailing list archive (2002-2020): predecessor of Discussions
  • External resources:

Please Cite Us

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 Ipopt usage stories and papers discussion.

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:

Versioning

Ipopts version numbers have the form x.y.z. x.y specifies the major and minor version number of Ipopt. An increase in x or y can mean the addition or removal of features, backward-incompatible API changes, etc. Increases in y indicate less severe changes than increases in x. For example, the change from Ipopt 2 to Ipopt 3 came due to a complete rewrite of Ipopt in a different programming language. z specifies the release number of Ipopt. An increase in z usually means bugfixes or additions of small feature. Changes to the API, if any, are done in a backward-compatible way. However, the ABI may changed in a backward-incompatible way.

Source code is organized in branches named stable/x.y. Development towards a next x.y.z release is happening on the stable/x.y branch. The code on branch stable/x.y already caries a x.y.z version number, which can correspond to the next x.y.z release that will be made from this branch. The default branch of the repository is the latest stable/x.y branch, even if x.y is still in beta testing.

An Ipopt x.y.z release is associated with a tag releases/x.y.z on branch stable/x.y. Releases are fixed and don't change.

Additional branches may exist where development of bugfixes or features is taking place. A branch devel may collect development for the next Ipopt x.y version. It will be renamed to stable/x.y when it is considered stable enough for beta testing.

If you want to contribute a bugfix or small feature, please create a pull-request to the latest stable/x.y branch. If you want to contribute a larger feature or something else that changes the API, please create a pull-request to branch devel, if existing, and latest stable/x.y otherwise.

Owner

  • Name: COIN-OR Foundation
  • Login: coin-or
  • Kind: organization
  • Email: info@coin-or.org
  • Location: United States of America

Computational Infrastructure for Operations Research.

GitHub Events

Total
  • Create event: 9
  • Release event: 2
  • Issues event: 47
  • Watch event: 189
  • Delete event: 6
  • Issue comment event: 113
  • Push event: 44
  • Pull request event: 11
  • Fork event: 19
Last Year
  • Create event: 9
  • Release event: 2
  • Issues event: 47
  • Watch event: 189
  • Delete event: 6
  • Issue comment event: 113
  • Push event: 44
  • Pull request event: 11
  • Fork event: 19

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 2,397
  • Total Committers: 36
  • Avg Commits per committer: 66.583
  • Development Distribution Score (DDS): 0.446
Past Year
  • Commits: 48
  • Committers: 6
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.104
Top Committers
Name Email Commits
Stefan Vigerske s****e@g****m 1,329
Andreas Waechter w****l@g****m 798
Ted Ralphs t****d@l****u 56
Peter Carbonetto p****o@g****m 47
Hans Pirnay h****y@r****e 43
Carl Laird c****d@g****m 27
Marcel Roelofs M****s@a****m 20
Tony Kelman k****n@b****u 14
Robin Lougee r****e@u****m 12
Gabe Hackebeil g****l@g****m 11
Jelmer Ypma j****a 8
Byron Tasseff b****n@t****m 4
Lifeng Chen l****1@c****u 2
Jaroslav Fowkes j****s@s****k 2
Wei Wan w****n@a****u 2
Alexis Montoison 3****n 2
Yue Yang m****t 1
Silvio Traversaro s****o@t****t 1
Andreas Waechter w****r@i****u 1
Daniel Dias d****s@o****m 1
Laci Ladanyi l****i@u****m 1
Robert Parker R****p 1
Oscar Gustafsson o****n@g****m 1
Mitchell Clement m****t@g****m 1
João Sousa-Pinto j****o@g****m 1
Jonathan Frey j****y@g****m 1
JP Fasano j****o@g****m 1
Friederike Wenderoth (née Meier) f****r@u****e 1
Frank Curtis f****s@l****u 1
Daniel Oliveira d****a@u****a 1
and 6 more...