Lp_solve Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

Lp_solve Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

lp_solve

a Mixed Integer Linear Programming (MILP) solver

Maintainer: Juan Esteban Monsalve Tobon



Section: math

Install lp_solve

  • Debian apt-get install lp-solve Click to copy
  • Ubuntu apt-get install lp-solve Click to copy
  • Arch Linux pacman -S lpsolve Click to copy
  • Kali Linux apt-get install lp-solve Click to copy
  • CentOS yum install lpsolve Click to copy
  • Fedora dnf install lpsolve Click to copy
  • Raspbian apt-get install lp-solve Click to copy

lpsolve

a Mixed Integer Linear Programming (MILP) solver

lp-solve

Solve (mixed integer) linear programming problems

The linear programming (LP) problem can be formulated as: Solve A.x >= V1, with V2.x maximal. A is a matrix, x is a vector of (nonnegative) variables, V1 is a vector called the right hand side, and V2 is a vector specifying the objective function. An integer linear programming (ILP) problem is an LP with the constraint that all the variables are integers. In a mixed integer linear programming (MILP) problem, some of the variables are integer and others are real. The program lp_solve solves LP, ILP, and MILP problems. It is slightly more general than suggested above, in that every row of A (specifying one constraint) can have its own (in)equality, <=, >= or =. The result specifies values for all variables. lp_solve uses the 'Simplex' algorithm and sparse matrix methods for pure LP problems. If one or more of the variables is declared integer, the Simplex algorithm is iterated with a branch and bound algorithm, until the desired optimal solution is found. lp_solve can read MPS format input files. Homepage http://www.geocities.com/lpsolve/

Installation of latest lp_solve command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.