class_docstr: Benchmark the optimizers with smooth, unbounded, functions
class_docstr_tok: ["Benchmark","the","optimizers","with","smooth",",","unbounded",",","functions"]
code: def run_rosenbrock(self, methods=None):
      b = _BenchOptimizers(
          "Rosenbrock function",
          fun=rosen,
          der=rosen_der,
          hess=rosen_hess,
      )
      for i in range(10):
          b.bench_run(np.random.uniform(-3, 3, 3), methods=methods)
      return b
  
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 5 for calling the BenchSmoothUnbounded obj's underlying member method code with example usage: obj.run_rosenbrock(methods) and returns: b