Uses a Multi-Objective Genetic Algorithm to Optimize a portfolio of given expected returns and risks. Each investment can be either bought or not. The expected return and risk, along with their weights, are entered.
The population undergoes selection, crossover, and mutation with hyperparameters uc and um, gradually converging toward an optimum.