compare constraints