Closed wingos80 closed 1 month ago
Use scipy.optimize.nnls() to solve the ls problem to constrain the solution vector instead of scipy.optimize.least_squares() or iterated scipy.sparse.linalg.lsqr().
Added in 3bd3d15, unfortunately yields terrible solutions.
Use scipy.optimize.nnls() to solve the ls problem to constrain the solution vector instead of scipy.optimize.least_squares() or iterated scipy.sparse.linalg.lsqr().