Advantages and risks of genetic algorithms