Portfolio cardinality constraint in a genetic algorithm
Ältere Kommentare anzeigen
Hello,
does anybody have a good way to include a portfolio cardinality constraint in an elegant way in a genetic algorithm? I want to form a portfolio of exactly 50 stocks out of a set of 300 stocks, each of those in the portfolio should have a weighting between 1% and 3% and the others need to be forced to zero.
Happy to see your ideas :-)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Genetic Algorithm finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!