# What is a reason that in Lasso Regression we can force all coefficients positive & intercept =0?

I have a regression problem where I need all coefficents to be positive and the intercept to be zero. I can do this in sklearn but i don't understand how the algoritm can force this conditions through the loss function. Any references will be appreciated.

• Lasso does not constrain parameters to be positive. – Tim Jan 6 at 15:17