Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix 安装 lp_solve

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lp_solve

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lp_solve

MacPorts ports tree · math/lp_solve/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install lp-solve

Debian stable package indexes · lp-solve · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#lp_solve

nixpkgs package indexes · pkgs/by-name/lp/lp_solve/package.nix · 来源: api.github.com

概览

软件包摘要

Mixed integer linear programming solver

命令和别名

  • lp_solve

历史

项目历史与用法

lp_solve is a free Mixed Integer Linear Programming solver and command-line utility/library. It solves linear, mixed-integer, binary, semi-continuous, and special ordered set models using revised simplex methods and branch-and-bound.

项目历史

The official reference guide says lp_solve was originally developed by Michel Berkelaar at Eindhoven University of Technology. Jeroen Dirks' work enabled the transition from the basic 1.5 version to the fuller 2.0 version by adding a procedural interface, built-in MPS reader, fixes, and enhancements.

The same introduction records that lp_solve moved to LGPL licensing starting with version 3.0, after earlier non-commercial terms. It also says development stagnated for a time at version 3.2 before Kjell Eikland and Peter Notebaert revived development, with later version 4 and version 5 work focused on faster solving, more stability, larger models, and new functionality.

The current GitHub repository and README continue the 5.5 line. The README explains that the jump from 5.1 to 5.5 marked more than a routine update: the solver engine was revised and optimized, numerical stability improved, LUSOL became the default basis factorization package, and the code became faster and more robust than 5.1.

采用历史

lp_solve is both a standalone executable and an embeddable library, which explains its broad packaging footprint. The official introduction lists use from C, VB, .NET, Delphi, Excel, Java, AMPL, MATLAB, O-Matrix, Scilab, Octave, and R, and the batch input records Homebrew, Debian/Ubuntu development packages, MacPorts, and Nix packaging.

The official FAQ provides citation data for lp_solve as an open source mixed-integer linear programming system, with version 5.1.0.0 dated 1 May 2004 and co-developers Michel Berkelaar, Kjell Eikland, and Peter Notebaert. That reflects adoption not just as a command but as software embedded or cited in optimization work.

使用方式

The `lp_solve` command reads MIP models from standard input or files and writes results to the console or a file. The official command reference documents built-in LP and MPS input formats, external language interfaces through XLI, redirection and pipelines, and many solver options for minimization/maximization, pivoting, scaling, presolve, basis handling, branch-and-bound, tolerances, timeouts, and model conversion.

As a library, lp_solve exposes an API for building models in memory, solving them, and reading results from many programming languages. The official introduction also notes an IDE, model input through files, and model conversion facilities, while the README highlights BFP and XLI as extension points.

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

lp_solve is a classic scientific package: old, portable C code, command-line executable, shared library, examples, manuals, and language bindings. It is significant in package history because it bridges Unix solver workflows, Windows IDE use, scripting-language bindings, and academic optimization examples under an LGPL license.

时间线

  • Pre-3.0: lp_solve developed by Michel Berkelaar, with version 1.5 preceding the full 2.0 transition.
  • 3.0: Project starts being released under the LGPL according to the official introduction.
  • 2004: Official FAQ citation data names version 5.1.0.0 dated 1 May 2004.
  • 2005: README change history records beta release of version 5.5.0.0.
  • 2025: `lp-solve/lp_solve` repository created on GitHub for the maintained source mirror.

Related projects

  • LUSOL is the basis factorization package that became the default in the 5.5 line.
  • XLI drivers connect lp_solve to external model languages such as MathProg.
  • R, MATLAB, Octave, Scilab, Excel, Java, and .NET interfaces are part of the broader lp_solve ecosystem named by the official docs.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lp_solvecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本5.5.2.14
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/lp-solve/lp_solve

安装元数据

软件包元数据

软件包键brew:lp_solve
版本5.5.2.14
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lp_solve
主页https://lp-solve.github.io/
仓库https://github.com/lp-solve/lp_solve
上游文档https://lp-solve.github.io/
许可证LGPL-2.1-or-later
源码归档https://github.com/lp-solve/lp_solve/releases/download/5.5.2.14/lp_solve_5.5.2.14_source.tar.gz
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelp_solve
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

liblpsolve55-dev 5.5.2.11-2

Solve (mixed integer) linear programming problems - library

http://lpsolve.sourceforge.net

sudo apt install liblpsolve55-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lp-solve
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lp Solve
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblpsolve55-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lp-solve 5.5.2.11-2

Solve (mixed integer) linear programming problems

http://lpsolve.sourceforge.net

sudo apt install lp-solve
  • Section: math
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Lp Solve
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lp-solve from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lp-solve-doc 5.5.2.11-2

Solve (mixed integer) linear programming problems - documentation

http://lpsolve.sourceforge.net

sudo apt install lp-solve-doc
  • Section: doc
  • Architecture: all
  • Source Package: lp-solve
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Lp Solve
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lp-solve-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lp_solve

nix profile install nixpkgs#lp_solve
  • normalized package name match
  • 匹配方式:Lp Solve
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lp/lp_solve/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

liblpsolve55-dev 5.5.2.5-2build4

Solve (mixed integer) linear programming problems - library

http://lpsolve.sourceforge.net

sudo apt install liblpsolve55-dev
  • Section: universe/math
  • Architecture: amd64
  • Source Package: lp-solve
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lp Solve
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblpsolve55-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

lp-solve 5.5.2.5-2build4

Solve (mixed integer) linear programming problems

http://lpsolve.sourceforge.net

sudo apt install lp-solve
  • Section: math
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Lp Solve
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lp-solve from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

lp-solve-doc 5.5.2.5-2build4

Solve (mixed integer) linear programming problems - documentation

http://lpsolve.sourceforge.net

sudo apt install lp-solve-doc
  • Section: doc
  • Architecture: all
  • Source Package: lp-solve
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Lp Solve
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lp-solve-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
MacPorts95%

lp_solve

sudo port install lp_solve
  • normalized package name match
  • 匹配方式:Lp Solve
MacPorts ports tree · api.github.com · MacPorts ports tree: math/lp_solve/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment