Solving Partitioning Problems with Genetic Algorithms