fn_map
on the random portfolio weights to transform the weights so they satisfy
other constraints such as group or position limit constraints. This is the
'sample' method for random portfolios and is based on an idea by Pat Burns.
randomize_portfolio_v1(rpconstraints, max_permutations = 200, rounding = 3)
constraint