ENH: optimize: choose method automatically in minimize

Make usage easier by choosing an appropriate solver.