class_docstr: wrap a minimizer function as a minimizer class
class_docstr_tok: ["wrap","a","minimizer","function","as","a","minimizer","class"]
code: def __init__(self, minimizer, func=None, **kwargs):
      self.minimizer = minimizer
      self.func = func
      self.kwargs = kwargs
  
imports: import numpy
  import math
  from numpy import cos, sin
  import scipy.optimize
  from scipy._lib._util import check_random_state
label_desc: Use image node_id 1 to create a new MinimizerWrapper object  with example: obj = MinimizerWrapper(minimizer, func)