I\'m trying to perform a constrained least-squares estimation using Scipy such that all of the coefficients are in the range (0,1) and sum to 1 (th
(0,1)
1
Have a look at this tutorial, it seems pretty clear.