class_docstr: Benchmark the optimizers with smooth, unbounded, functions
class_docstr_tok: ["Benchmark","the","optimizers","with","smooth",",","unbounded",",","functions"]
code: def setup(self, func_name, method_name, ret_val):
      b = getattr(self, "run_" + func_name)(methods=[method_name])
      r = b.average_results().get(method_name)
      if r is None:
          raise NotImplementedError()
      self.result = getattr(r, ret_val)
  
imports: import os
  import time
  import inspect
  import json
  import traceback
  from collections import defaultdict
  import numpy
  from .None import test_functions
  from .None import go_benchmark_functions
  from .common import Benchmark, is_xslow, safe_import
  from .lsq_problems import extract_lsq_problems
label_desc: Use image node_id 1 for calling the BenchSmoothUnbounded obj's underlying member method code with example usage: obj.setup(func_name, method_name, ret_val) without return types