I would like to set a leverage constraints on the entire portfolio (max sum of positive weights, max sum of negative weights). However, using the MATLAB function "setBounds" functionally distributes the desired leverage boundary value to every asset, allowing the portfolio leverage to achieve upper bounds equivalent to 'desired leverage' * 'n assets'.
More generally, I would also like to be able to set group level upper and lower bounds such that the max sum of positive weights can be bounded by some value U, and the max sum of negative weights is >= L.
How can I do this?
Best Answer