# 使用 Homebrew, Nix 安装 cbc

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

## 安装

```sh
sudo av install brew:cbc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cbc
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cbc
```

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

## 软件包事实

- **软件包键:** brew:cbc
- **软件包管理器:** Homebrew
- **版本:** 2.10.13
- **来源摘要:** Mixed integer linear programming solver
- **主页:** <https://github.com/coin-or/Cbc>
- **仓库:** <https://github.com/coin-or/Cbc>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cbc (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Cbc, the COIN-OR Branch-and-Cut solver, is an open-source mixed integer linear programming solver written in C++ and distributed as both a callable library and a standalone executable.

### 项目历史

Cbc is developed under the COIN-OR Foundation. The official README credits John Forrest, formerly of IBM Research, and other maintainers, while the project metadata describes it as an LP-based branch-and-cut library designed for use with CLP and other COIN-OR components.

### 采用历史

The README documents Cbc integrations across modeling systems and packages including AMPL, GAMS, MiniZinc, PuLP, cvxpy, Google's OR-Tools, JuMP, OpenSolver, and others. Package-manager distribution spans Homebrew, Debian/Ubuntu, Fedora, Arch, conda, and FreeBSD according to the official README and supplied package facts.

### 使用方式

Cbc is used either through the `cbc` executable or as a library embedded by optimization modeling tools. Source builds commonly use COIN-OR's `coinbrew` helper, which fetches Cbc and its COIN-OR dependencies.

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

For package maintainers, Cbc is a dependency-heavy scientific solver that brings a slice of the COIN-OR optimization stack into a single installable command. It matters because many higher-level modeling front ends can delegate open-source MILP solving to the packaged `cbc` binary.

### 时间线

- 2019: Current GitHub repository created.
- 2023: 2.10.10 and 2.10.11 GitHub releases published.
- 2024: 2.10.12 GitHub release published.
- 2026: 2.10.13 GitHub release published.

### Related projects

- Cbc is closely related to COIN-OR projects Clp, Cgl, Osi, CoinUtils, coinbrew, CyLP, PuLP, and the COIN-OR Optimization Suite.

### 来源

- <https://api.github.com/repos/coin-or/Cbc>
- <https://github.com/coin-or/Cbc>
- <https://coin-or.github.io/Cbc>
- <https://github.com/coin-or/Cbc#readme>
- <https://formulae.brew.sh/api/formula/cbc.json>


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Nix - cbc: normalized package name match | nixpkgs package indexes: pkgs/by-name/cb/cbc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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