Genetic algorithms applied to hydrothermal system scheduling