I'm trying to create a portfolio out of S&P 500, adding some thematic constraints.
My objective is to minimize tracking error.
However, the number of securities in my final portfolio that are getting weight allocations is around 50-60.
I need to add a constraint, to allocate weights to at least 150 securities, with minimum threshold weight at 0.01%.
Any ideas on how to implement that? weights vector is a cvx variable.
Thanks a lot