Page 1 of 1

Linear least squares solver with a constraint

Posted: Tue Nov 07, 2017 3:40 pm
by Robert17
Does the MAGMA library support a linear least squares solver subject to an inequality? I'm trying to write a CUDA equivalent of a MATLAB function called lsqlin.
https://www.mathworks.com/help/optim/ug ... tid=doc_ta
Anyone know how I can do this?

Re: Linear least squares solver with a constraint

Posted: Wed Nov 08, 2017 11:55 am
by mgates3
It sounds like you want the equivalent of the LAPACK routine gglse (least squares with equality constraints).

http://www.netlib.org/lapack/double/dgglse.f

We don't currently have that functionality in MAGMA. We only have the regular least squares (gels).

-mark

Re: Linear least squares solver with a constraint

Posted: Wed Nov 08, 2017 12:55 pm
by Robert17
Yes, we want a CUDA version of the LAPACK routine. Thanks for letting me know. I'm currently talking to the developers to see if they can add this routine.