how to use genetic algorithm solver