How can I add an additional constraint to the efficient portfolios using portopt ? I want to compute the portfolios along the efficient frontier with the following 3 constraints:
– Allow for short sell (should be to set 'AssetLims' in portcons);
– Max Number of assets (say x) in each portfolio (should be 'Default' constraint type);
– The (x) assets in a portfolio must be only in that portfolio. I must not use the same assets into different portfolios. How can I add this constraint ?
Thanks, Nick
Best Answer