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


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.3-0 by Yong Wang, 2 months ago

Browse source code at

Authors: Yong Wang [aut, cre] , Charles L. Lawson [aut] , Richard J. Hanson [aut]

Documentation:   PDF Manual  

Task views:

GPL (>= 2) license

Depended on by npsurv, nspmix.

See at CRAN