lsei: Solving Least Squares or Quadratic Programming Problems under Equality/Inequality Constraints

It contains functions that solve least squares linear regression problems under linear equality/inequality constraints. Functions for solving quadratic programming problems are also available, which transform such problems into least squares ones first. It is developed based on the 'Fortran' program of Lawson and Hanson (1974, 1995), which is public domain and available at <>.

Version: 1.3-0
Published: 2020-09-17
DOI: 10.32614/CRAN.package.lsei
Author: Yong Wang [aut, cre], Charles L. Lawson [aut], Richard J. Hanson [aut]
Maintainer: Yong Wang <yongwang at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
In views: Optimization
CRAN checks: lsei results


Reference manual: lsei.pdf


Package source: lsei_1.3-0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): lsei_1.3-0.tgz, r-oldrel (arm64): lsei_1.3-0.tgz, r-release (x86_64): lsei_1.3-0.tgz, r-oldrel (x86_64): lsei_1.3-0.tgz
Old sources: lsei archive

Reverse dependencies:

Reverse depends: npsurv, nspmix
Reverse imports: Correlplot, fastFMM
Reverse suggests: ivmte


Please use the canonical form to link to this page.