KrisLibrary
1.0.0
|
Solve the bounded least-squares problem min||Ax-b||^2 s.t. l <= x <= b accepts infinite constraints too. More...
#include <BoundedLSQRSolver.h>
Public Member Functions | |
BoundedLSQRSolver (const Matrix &A, const Vector &b, const Vector &l, const Vector &u) | |
LinearProgram::Result | Solve (Vector &x) |
Public Attributes | |
Matrix | A |
Vector | b |
Vector | l |
Vector | u |
int | verbose |
Real | fTol |
Real | gradTol |
Real | xTol |
int | maxIters |
Solve the bounded least-squares problem min||Ax-b||^2 s.t. l <= x <= b accepts infinite constraints too.