Learn R Programming

limSolve (version 2.0.1)

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(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.

Copy Link

Version

Install

install.packages('limSolve')

Monthly Downloads

5,870

Version

2.0.1

License

GPL

Maintainer

Karline Soetaert

Last Published

June 24th, 2025

Functions in limSolve (2.0.1)

xranges

Calculates ranges of the unknowns of a linear inverse problem
resolution

Row and column resolution of a matrix.
linp

Linear Programming.
lsei

Least Squares with Equalities and Inequalities
varranges

Calculates ranges of inverse variables in a linear inverse problem
nnls

Nonnegative Least Squares
xsample

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

Samples the probability density function of variables of linear inverse problems.
ldp

Least Distance Programming
limSolve-package

Solving Linear Inverse Models
Solve.banded

Solution of a banded system of linear equations
Solve

Generalised inverse solution of Ax = B
RigaWeb

An underdetermined linear inverse problem: the Gulf of Riga *spring* planktonic food web
Solve.tridiag

Solution of a tridiagonal system of linear equations
E_coli

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

Solution of an almost block diagonal system of linear equations
ldei

Weighted Least Distance Programming with equality and inequality constraints.
Minkdiet

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

A linear inverse blending problem
Chemtax

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