# Can I estimate Non-Negative Least Squares (NNLS) in SHAZAM?

**A SHAZAM User asked:**

Is it possible to solve a non-negative least-squares constraints problem of the form shown below in SHAZAM?

${\min_{x}\left \| B.x-a \right \|^2_2},\quad where\quad x\geq 0$

Could this be done with the NL command?