class_docstr: Ursem 4 objective function.
  
  This class defines the Ursem 4 [1]_ global optimization problem. This
  is a multimodal minimization problem defined as follows:
  
  .. math::
  
      f_{\text{Ursem04}}(x) = -3 \sin(0.5 \pi x_1 + 0.5 \pi)
                              \frac{2 - \sqrt{x_1^2 + x_2 ^ 2}}{4}
  
  with :math:`x_i \in [-2, 2]` for :math:`i = 1, 2`.
  
  *Global optimum*: :math:`f(x) = -1.5` for :math:`x = [0, 0]` for
  :math:`i = 1, 2`
  
  .. [1] Jamil, M. & Yang, X.-S. A Literature Survey of Benchmark Functions
  For Global Optimization Problems Int. Journal of Mathematical Modelling
  and Numerical Optimisation, 2013, 4, 150-194.
class_docstr_tok: ["Ursem","4","objective","function",".","This","class","defines","the","Ursem","4","[","1","]","_","global","optimization","problem",".","This","is","a","multimodal","minimization","problem","defined","as","follows",":","..","math",":",":","f_","{","\\text","{","Ursem04","}","}","(","x",")","=","-3","\\sin","(","0.5","\\pi","x_1","+","0.5","\\pi",")","\\frac","{","2","-","\\sqrt","{","x_1^2","+","x_2","^","2","}","}","{","4","}","with",":","math",":","`","x_i","\\in","[","-2",",","2","]","`","for",":","math",":","`","i","=","1",",","2","`",".","*","Global","optimum","*",":",":","math",":","`","f","(","x",")","=","-1.5","`","for",":","math",":","`","x","=","[","0",",","0","]","`","for",":","math",":","`","i","=","1",",","2","`","..","[","1","]","Jamil",",","M.","&","Yang",",","X.-S.","A","Literature","Survey","of","Benchmark","Functions","For","Global","Optimization","Problems","Int",".","Journal","of","Mathematical","Modelling","and","Numerical","Optimisation",",","2013",",","4",",","150-194","."]
code: def __init__(self, dimensions=2):
      Benchmark.__init__(self, dimensions)
  
      self._bounds = list(zip([-2.0] * self.N, [2.0] * self.N))
  
      self.global_optimum = [[0.0 for _ in range(self.N)]]
      self.fglob = -1.5
  
file_path: scipy/benchmarks/benchmarks/go_benchmark_functions/go_funcs_U.py
imports: from numpy import abs, sin, cos, pi, sqrt
  from .go_benchmark import Benchmark
label_desc: Use image node_id 1 to create a new Ursem04 object from inherited base classes: Benchmark with example: obj = Ursem04(dimensions)