class_docstr: Wrapper for scipy.optimize.minimize.
  
  Only `jac` differs from scipy: if `autodiff`, then
  `gs.autodiff.value_and_grad` is used to compute the jacobian.
code: def __init__(
      self,
      method="L-BFGS-B",
      jac=None,
      hess=None,
      bounds=None,
      constraints=(),
      tol=None,
      callback=None,
      options=None,
      save_result=False,
  ):
      self.method = method
      self.jac = jac
      self.hess = hess
      self.bounds = bounds
      self.constraints = constraints
      self.tol = tol
      self.callback = callback
      self.options = options
  
      self.save_result = save_result
      self.result_ = None
  
file_path: geomstats/geomstats/numerics/optimizers.py
imports: import logging
  import scipy
  import geomstats.backend
  from geomstats.numerics._common import result_to_backend_type
label_desc: Use image node_id 1 to create a new ScipyMinimize object  with example: obj = ScipyMinimize(method, jac, hess, bounds, constraints, tol, callback, options, save_result)