Seol mar théacs é seo: Stochastic optimization of bose-einstein condensation using a genetic algorithm