The constrained maximin problem