genetic algorithm for constrained optimization problem