class_docstr: `EggHolder function <http://infinity77.net/global_optimization/test_functions_nd_E.html#go_benchmark.EggHolder>`_
  as benchmark task
docstr: Evaluate a n-D eggholder function.
docstr_tok: ["Evaluate","a","n-D","eggholder","function","."]
code: def call(self, x):
      """Evaluate a n-D eggholder function."""
      x = numpy.asarray(x)
  
      a = numpy.square(numpy.absolute(x[:-1] - x[1:] - 47))
      b = numpy.square(numpy.absolute(0.5 * x[:-1] + x[1:] + 47))
      summands = -x[:-1] * numpy.sin(a) - (x[1:] + 47) * numpy.sin(b)
  
      y = numpy.sum(summands)
  
      return [dict(name="eggholder", type="objective", value=y)]
  
imports: import numpy
  from orion.benchmark.task.base import BenchmarkTask
label_desc: Use image node_id 2 for calling the EggHolder obj's underlying member method code with example usage: obj.call(x) and returns: list