optimize.portfolio function

Constrained optimization of portfolios