version 2 generate random permutations of a portfolio seed meeting your constraints on the weights of each asset
randomize_portfolio(portfolio, max_permutations = 200)
an object of type "portfolio" specifying the constraints for the optimization, see portfolio.spec
integer: maximum number of iterations to try for a valid portfolio, default 200
named weighting vector