ENH: print summary on optimization only in verbose mode