Hi. I'm trying to optimize the stock portfolio. I have 10 stocks and I would like to choose min 5 and max 10 of them to optimize the expected return.
Obviously, 5 is the correct answer here. The minimum weight of each chosen stock is 5 % and maximum is 30 %. Everything within the constraints should
be okay at the moment. The only constrain missing is the binary. I've tried to build it but I don't get it.
Portfolio Optimization.PNG
Bookmarks