class_docstr: Ursem 3 objective function.
  
  This class defines the Ursem 3 [1]_ global optimization problem. This is a
  multimodal minimization problem defined as follows:
  
  .. math::
  
      f_{\text{Ursem03}}(x) = - \sin(2.2 \pi x_1 + 0.5 \pi) 
                              \frac{2 - \lvert x_1 \rvert}{2}
                              \frac{3 - \lvert x_1 \rvert}{2}
                              - \sin(2.2 \pi x_2 + 0.5 \pi)
                              \frac{2 - \lvert x_2 \rvert}{2}
                              \frac{3 - \lvert x_2 \rvert}{2}
  
  with :math:`x_1 \in [-2, 2]`, :math:`x_2 \in [-1.5, 1.5]`.
  
  *Global optimum*: :math:`f(x) = -3` for :math:`x = [0, 0]`
  
  .. [1] Gavana, A. Global Optimization Benchmarks and AMPGO retrieved 2015
  
  TODO Gavana and Jamil #157 disagree on the formulae here. Jamil squares the
  x[1] term in the sine expression. Gavana doesn't.  Go with Gavana here.
class_docstr_tok: ["Ursem","3","objective","function",".","This","class","defines","the","Ursem","3","[","1","]","_","global","optimization","problem",".","This","is","a","multimodal","minimization","problem","defined","as","follows",":","..","math",":",":","f_","{","\\text","{","Ursem03","}","}","(","x",")","=","-","\\sin","(","2.2","\\pi","x_1","+","0.5","\\pi",")","\\frac","{","2","-","\\lvert","x_1","\\rvert","}","{","2","}","\\frac","{","3","-","\\lvert","x_1","\\rvert","}","{","2","}","-","\\sin","(","2.2","\\pi","x_2","+","0.5","\\pi",")","\\frac","{","2","-","\\lvert","x_2","\\rvert","}","{","2","}","\\frac","{","3","-","\\lvert","x_2","\\rvert","}","{","2","}","with",":","math",":","`","x_1","\\in","[","-2",",","2","]","`",",",":","math",":","`","x_2","\\in","[","-1.5",",","1.5","]","`",".","*","Global","optimum","*",":",":","math",":","`","f","(","x",")","=","-3","`","for",":","math",":","`","x","=","[","0",",","0","]","`","..","[","1","]","Gavana",",","A",".","Global","Optimization","Benchmarks","and","AMPGO","retrieved","2015","TODO","Gavana","and","Jamil","#","157","disagree","on","the","formulae","here",".","Jamil","squares","the","x","[","1","]","term","in","the","sine","expression",".","Gavana","does","n't",".","Go","with","Gavana","here","."]
code: def __init__(self, dimensions=2):
      Benchmark.__init__(self, dimensions)
  
      self._bounds = [(-2, 2), (-1.5, 1.5)]
  
      self.global_optimum = [[0.0 for _ in range(self.N)]]
      self.fglob = -3.0
  
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 Ursem03 object from inherited base classes: Benchmark with example: obj = Ursem03(dimensions)