use problemSolver->addConstraintToConfigProject instead of configProject...

...or->addConstraint in function setNumericalConstraints