Learn R Programming

⚠️There's a newer version (2.0.1) of this package.Take me there.

limSolve (version 1.4)

Solving linear inverse models

Description

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(ai*xi) 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. Includes banded and tridiagonal linear systems. The package calls Fortran functions from LINPACK

Copy Link

Version

Install

install.packages('limSolve')

Monthly Downloads

3,643

Version

1.4

License

GPL

Maintainer

Karline Soetaert

Last Published

April 15th, 2009

Functions in limSolve (1.4)

Solve

Generalised inverse solution of Ax=B
lsei

Least Squares with Equalities and Inequalities
ldp

Least Distance Programming
varranges

Calculates ranges of inverse variables
Blending

A linear inverse blending problem
Solve.block

Solution of an almost block diagonal system of linear equations
resolution

Row and column resolution of a matrix.
ldei

Weighted Least Distance Programming with equality and inequality constraints.
xranges

Calculates ranges of inverse unknowns
Solve.banded

Solution of a banded system of linear equations
Solve.tridiag

Solution of a tridiagonal system of linear equations
nnls

Nonnegative Least Squares
linp

Linear Programming.
xsample

Randomly samples an underdetermined problem with linear equality and inequality constraints
E_coli

An underdetermined linear inverse problem: the Escherichia Coli Core Metabolism Model.
Chemtax

An overdetermined linear inverse problem: estimating algal composition based on pigment biomarkers.
varsample

Samples variables of linear inverse problems.
Minkdiet

An underdetermined linear inverse problem: estimating diet composition of Southeast Alaskan Mink.