# How can you constrain the Flexible Least Squares regression?

I'm trying to run an FLS regression on a dataset and I basically want to constrain it so that at any given time period, the sum of the coefficients/betas adds up to 1 as a condition.