constraint的解决