limSolve: Solving Linear Inverse Models

Functions that (1) find the minimum/maximum of a linear or quadratic function: min or max (f(x)), where f(x) = ||Ax-b||^2 or f(x) = sum(a_i*x_i) subject to equality constraints Ex=f and/or inequality constraints Gx>=h, (2) sample an underdetermined- or overdetermined system Ex=f subject to Gx>=h, and if applicable Ax~=b, (3) solve a linear system Ax=B for the unknown x. It includes banded and tridiagonal linear systems.

Depends: R (≥ 2.10)
Imports: quadprog, lpSolve, MASS
Published: 2024-02-05
DOI: 10.32614/CRAN.package.limSolve
Author: Karline Soetaert [aut, cre], Karel Van den Meersche [aut], Dick van Oevelen [aut], Charles L. Lawson [ctb] (file inverse.f), Richard J. Hanson [ctb] (file inverse.f), Jack Dongarra [ctb] (files solve.f, inverse.f), Cleve Moler [ctb] (file solve.f)
Maintainer: Karline Soetaert <karline.soetaert at>
License: GPL-2 | GPL-3 [expanded from: GPL]
Copyright: inst/COPYRIGHTS
limSolve copyright details
NeedsCompilation: yes
Citation: limSolve citation info
Materials: ChangeLog
In views: Optimization
CRAN checks: limSolve results


Reference manual: limSolve.pdf
Vignettes: Solving Linear Inverse Models in R
Sampling Linear Inverse Models in R


Package source: limSolve_1.5.7.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): limSolve_1.5.7.1.tgz, r-oldrel (arm64): limSolve_1.5.7.1.tgz, r-release (x86_64): limSolve_1.5.7.1.tgz, r-oldrel (x86_64): limSolve_1.5.7.1.tgz
Old sources: limSolve archive

Reverse dependencies:

Reverse depends: DeconRNASeq, LIM, MLCIRTwithin, MultiLCIRT, ragtop, treedater
Reverse imports: baseline, BiGGR, BisqueRNA, ccrs, cds, cgaim, cta, EAinference, EMMAgeo, evclust, FastSF, FindIt, fuzzyreg, geospt, geosptdb, gorica, granulator, GRIDCOPULA, hgutils, IntegratedMRF, InteRD, MPTmultiverse, mrf, PACLasso, quantiseqr, scMappR, ScorePlus, TRMF, YAPSA
Reverse suggests: nlsic, Rquefts, splatter


Please use the canonical form to link to this page.