Applying Genetic Algorithms to Constraint Satisfaction Optimization Problems