When an optimal dominating set with given constraints exists