Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Guo__Qiandong
Beginner
35 Views

Which function could solve linear least square with inequality constraints?

I want to solve X in a linear system A*X=B with constraints that all elements in X are non-negative. It is a Non-negative Least Squares (NNLS) problem. Do you know which function can be used for it? I tried the function trnlspbc_solve (nonlinear least squares problem with linear constraints), but it does not work well for this linear least square problem. Any ideas? 

0 Kudos
0 Replies
Reply