then determine the constraint relation.