# 使用 Homebrew, MacPorts, Nix, scoop, zypper 安装 ipopt

查看 ipopt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:ipopt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ipopt
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ipopt
```

  证据: MacPorts ports tree: math/ipopt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ipopt
```

  证据: nixpkgs package indexes: pkgs/by-name/ip/ipopt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install Ipopt-devel
```

  证据: openSUSE Tumbleweed package metadata: Ipopt-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/ipopt
```

  证据: Scoop official bucket manifest trees: bucket/ipopt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ipopt
- **软件包管理器:** Homebrew
- **版本:** 3.14.19
- **来源摘要:** Interior point optimizer
- **主页:** <https://coin-or.github.io/Ipopt/>
- **仓库:** <https://github.com/coin-or/Ipopt>
- **最后更新:** 2026-06-25T13:37:46+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ipopt (别名)
- ipopt_sens (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.14.19
## 项目历史与用法

Ipopt is the COIN-OR Interior Point Optimizer, a large-scale nonlinear programming solver used through native libraries, modeling environments, and command-line solver integrations.

### 项目历史

Ipopt originated in Andreas Wachter's dissertation research at Carnegie Mellon University under Lorenz T. Biegler. The original Fortran code was made open source through the COIN-OR initiative, and the project documentation says Ipopt has been developed under COIN-OR since 2002.

IBM Research later funded a C++ rewrite to make the solver easier to extend. Carl Laird helped reimplement the solver during IBM Research internships in 2004 and 2005, and the C++ 3.0.0 version was first released on August 26, 2005. The older Fortran line stopped being maintained, while the C++ line remained a COIN-OR project.

### 采用历史

Ipopt spread through optimization modeling systems rather than through a single application. The project documentation lists AMPL Solver Library support, AIMMS, APMonitor, CasADi, CppAD, .NET wrappers, cyipopt, GAMS links, NEOS, JuMP, MATLAB interfaces, OPTI Toolbox, Scilab integration, and other interfaces.

Homebrew packages Ipopt with scientific-computing dependencies such as AMPL ASL, GCC, and OpenBLAS, reflecting the solver's role as a compiled numerical component used by higher-level modeling tools.

### 使用方式

Ipopt solves twice-continuously-differentiable nonlinear programs with bounds and constraints using an interior-point line-search filter method. Users typically call it from C, C++, Fortran, Java, AMPL, Python wrappers, Julia/JuMP, CasADi, GAMS, or other modeling layers rather than writing raw solver input by hand.

The command-line package is useful when a package manager needs to provide a solver executable and linkable library. The local ipopt.opt file convention lets users tune solver options alongside model runs without inventing a project-wide configuration service.

### 为什么软件包爱好者会关心

Ipopt is a package-nerd staple because it sits at the intersection of open-source optimization, compiled math libraries, Fortran/C++ ABI details, BLAS/LAPACK choices, and modeling-language wrappers. Its packaging quality directly affects scientific Python, Julia, AMPL, and operations-research workflows.

### 时间线

- 2002: Open-source Ipopt development under COIN-OR begins.
- 2004-2005: IBM Research supports a C++ rewrite with Carl Laird's help.
- 2005: Ipopt 3.0.0 C++ version is released on August 26.
- 2006: The Wachter and Biegler implementation paper appears in Mathematical Programming.
- 2026: Homebrew formula metadata packages Ipopt 3.14.19 with OpenBLAS, AMPL ASL, and GCC dependencies.

### Related projects

- COIN-OR is Ipopt's open-source home and provides the surrounding optimization project ecosystem.
- AMPL ASL, GAMSlinks, cyipopt, CasADi, JuMP, CppAD, and ADOL-C are important interfaces or companion tools.
- BLAS/LAPACK implementations and sparse linear solvers are central to practical Ipopt performance and packaging.

### 来源

- Homebrew formula metadata supplies package-manager context and dependency shape.
- The GitHub README supplies the C++ authorship, 3.0.0 release date, supported language interfaces, platform support, and citation request.
- The Ipopt documentation supplies the origin story, COIN-OR history, algorithm description, license, related interfaces, and mailing-list archive.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./ipopt.opt
## 其他软件包管理器记录

- Nix - ipopt: normalized package name match | nixpkgs package indexes: pkgs/by-name/ip/ipopt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - Ipopt-devel - 3.14.19-1.5: normalized package name match | openSUSE Tumbleweed package metadata: Ipopt-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development and header files for Ipopt | https://projects.coin-or.org/Ipopt
- zypper - Ipopt-java - 3.14.19-1.5: normalized package name match | openSUSE Tumbleweed package metadata: Ipopt-java from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Java bindings for Ipopt | https://projects.coin-or.org/Ipopt
- zypper - libipopt3 - 3.14.19-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libipopt3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A software package for large-scale nonlinear optimization methods | https://projects.coin-or.org/Ipopt
- MacPorts - ipopt: normalized package name match | MacPorts ports tree: math/ipopt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/ipopt: normalized package name match | Scoop official bucket manifest trees: bucket/ipopt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ipopt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ipopt.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
