code: def get_minimizer_options(method):
      
      if method == 'Powell':
          return {'patience': 2,
                  'patience_line_search': None,
                  'reset_method': 'EXTRAPOLATED_POINT'}
  
      elif method == 'Nelder-Mead':
          return {'patience': 200,
                  'alpha': 1.0, 'beta': 0.5, 'gamma': 2.0, 'delta': 0.5, 'scale': 0.1,
                  'adaptive_scales': True}
  
      elif method == 'Levenberg-Marquardt':
          return {'patience': 250, 'step_bound': 100.0, 'scale_diag': 1, 'usertol_mult': 30}
  
      elif method == 'Subplex':
          return {'patience': 10,
                  'patience_nmsimplex': 100,
                  'alpha': 1.0, 'beta': 0.5, 'gamma': 2.0, 'delta': 0.5, 'scale': 1.0, 'psi': 0.0001, 'omega': 0.01,
                  'adaptive_scales': True,
                  'min_subspace_length': 'auto',
                  'max_subspace_length': 'auto'}
  
      raise ValueError('Could not find the specified method "{}".'.format(method))
docs: Return a dictionary with the default options for the given minimization method.
  
      Args:
          method (str): the name of the method we want the options off
  
      Returns:
          dict: a dictionary with the default options