BUG: optimize: don't print anything unless disp=True
Merge pull request #408 from pv/silence-optimize

BUG: optimize: don't print anything unless disp=True