separate constriants and collocate constraints