mdessole / lhdm

NNLS solver employing Lawson-Hanson active set algorithm with Deviation Maximization pivoting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lawson-Hanson algorithm with Deviation Maximization pivoting

Lawson-Hanson active set algorithm with Deviation Maximization pivoting implemented in C. A matlab wrapper is provided. NNLS problem: min ||A*X-B||, s.t. X>=0. Implementation used in

Monica Dessole, Marco Dell'Orto, Fabio Marcuzzi "The Lawson-Hanson Algorithm with Deviation Maximization: Finite Convergence and Sparse Recovery", Preprint, 2021.

Compile mex function from matlab command line

mex -v -R2017b lhdm.c -lmwblas -lmwlapack

Dependencies

  • Matlab 2017 or higher
  • LAPACK
  • BLAS

About

NNLS solver employing Lawson-Hanson active set algorithm with Deviation Maximization pivoting

License:GNU General Public License v3.0


Languages

Language:C 96.6%Language:MATLAB 3.4%