new GeneticAlgorithmPortfolioSelector();
gaps.setAbortCriterion(new GenerationCountAbort(NUM_GENERATIONS));
gaps.setFitness(new ASRFitness());
gaps.setNumIndividuals(NUM_INDIVIDUALS);
gaps.setMutationRate(0.001);
gaps.setIndividualFactory(new ListIndividualFactory());
double[] gaPortfolio = gaps.portfolio(pdd);
double[] completePortfolio = new double[gaPortfolio.length];
for (int i = 0; i < completePortfolio.length; i++) {
completePortfolio[i] = 1.0 / completePortfolio.length;