Do you find suffering attractive?
Normally... pleasure attracts, suffering repells. Pleasure motivates, suffering demotivates. Pleasure suggests successful action, suffering implies failure. Pleasure is associated with health, and suffering with malady.
It is difficult to imagine a desirable life without at least some pleasure as an ingredient. (Perhaps pleasure need not be "maximized" in some mathematical sense, but at least needs to be present in good measure.)
But perhaps we need to distinguish between different kinds of suffering. If suffering is something one heroically bears in order to achieve some kind of worthwhile success (such as bearing the pain of running a marathon), then it may be regarded as a necessary evil. However, if suffering is perceived as arising from great loss and a feeling of helplessness, it may be difficult to justify to oneself.
I personally regard meaning as more important in life than pleasure. The meaning of your life is what should be "maximized" (though I really don't think of this in a mathematical way, since there are no units to measure this with).