macOS
brew install lp_solvelocal Homebrew formula metadata
sudo port install lp_solveMacPorts ports tree · math/lp_solve/Portfile · source: api.github.com
brew
Mixed integer linear programming solver. Version 5.5.2.14 via Homebrew; verified from local package data.
install
brew install lp_solvelocal Homebrew formula metadata
sudo port install lp_solveMacPorts ports tree · math/lp_solve/Portfile · source: api.github.com
sudo apt install liblpsolve55-devDebian stable package indexes · liblpsolve55-dev · source: deb.debian.org
nix profile install nixpkgs#lp_solvenixpkgs package indexes · pkgs/by-name/lp/lp_solve/package.nix · source: api.github.com
overview
Mixed integer linear programming solver
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
lp_solve | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/lp-solve/lp_solve
install metadata
| Package key | brew:lp_solve |
|---|---|
| Version | 5.5.2.14 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/lp_solve |
| Homepage | https://lp-solve.github.io/ |
| Repository | https://github.com/lp-solve/lp_solve |
| Upstream docs | https://lp-solve.github.io/ |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/lp-solve/lp_solve/releases/download/5.5.2.14/lp_solve_5.5.2.14_source.tar.gz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lp_solve |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
liblpsolve55-dev 5.5.2.11-2
Solve (mixed integer) linear programming problems - library
http://lpsolve.sourceforge.net
sudo apt install liblpsolve55-devlp-solve 5.5.2.11-2
Solve (mixed integer) linear programming problems
http://lpsolve.sourceforge.net
sudo apt install lp-solvelp-solve-doc 5.5.2.11-2
Solve (mixed integer) linear programming problems - documentation
http://lpsolve.sourceforge.net
sudo apt install lp-solve-doclp_solve
nix profile install nixpkgs#lp_solveliblpsolve55-dev 5.5.2.5-2build4
Solve (mixed integer) linear programming problems - library
http://lpsolve.sourceforge.net
sudo apt install liblpsolve55-devlp-solve 5.5.2.5-2build4
Solve (mixed integer) linear programming problems
http://lpsolve.sourceforge.net
sudo apt install lp-solvelp-solve-doc 5.5.2.5-2build4
Solve (mixed integer) linear programming problems - documentation
http://lpsolve.sourceforge.net
sudo apt install lp-solve-doclp_solve
sudo port install lp_solvesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.