Constrained Utility Maximization for Generating