constraints function

Conservation problem constraints