  In this paper we maximize a class of functionals under certain constraints.
We find sufficient and necessary conditions for these maximizers to exist and
be unique. Moreover, we characterize them and discuss the optimality of our
results by constructing counterexamples when one of these hypotheses does not
hold.
