I think we should not check for fmin here, we should always issue the warning unless `disp` (an argument to optimization functions) is set to `False`.