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.

Version: 2.0
Depends: R (≥ 2.10)
Imports: quadprog, lpSolve, MASS
Suggests: knitr, rmarkdown
Published: 2025-06-11
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 nioz.nl>
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

Documentation:

Reference manual: limSolve.pdf
Vignettes: Package limSolve, solving linear inverse models in R (source, R code)

Downloads:

Package source: limSolve_2.0.tar.gz
Windows binaries: r-devel: limSolve_2.0.zip, r-release: not available, r-oldrel: limSolve_2.0.zip
macOS binaries: r-release (arm64): limSolve_2.0.tgz, r-oldrel (arm64): limSolve_2.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available
Old sources: limSolve archive

Reverse dependencies:

Reverse depends: DeconRNASeq
Reverse imports: BiGGR, granulator, quantiseqr, YAPSA
Reverse suggests: nlsic, splatter

Linking:

Please use the canonical form https://CRAN.R-project.org/package=limSolve to link to this page.