Added support for constraint definition in the GA solver.