class_docstr: Mishra 6 objective function.
  
  This class defines the Mishra 6 [1]_ global optimization problem. This
  is a multimodal minimization problem defined as follows:
  
  .. math::
  
     f_{\text{Mishra06}}(x) = -\log{\left [ \sin^2 ((\cos(x_1)
     + \cos(x_2))^2) - \cos^2 ((\sin(x_1) + \sin(x_2))^2) + x_1 \right ]^2}
     + 0.01 \left[(x_1 -1)^2 + (x_2 - 1)^2 \right]
  
  
  with :math:`x_i \in [-10, 10]` for :math:`i = 1, 2`.
  
  *Global optimum*: :math:`f(x_i) = -2.28395` for :math:`x = [2.88631, 1.82326]`
  
  .. [1] Mishra, S. Global Optimization by Differential Evolution and
  Particle Swarm Methods: Evaluation on Some Benchmark Functions.
  Munich Personal RePEc Archive, 2006, 1005
  
  TODO line 397
class_docstr_tok: ["Mishra","6","objective","function",".","This","class","defines","the","Mishra","6","[","1","]","_","global","optimization","problem",".","This","is","a","multimodal","minimization","problem","defined","as","follows",":","..","math",":",":","f_","{","\\text","{","Mishra06","}","}","(","x",")","=","-\\log","{","\\left","[","\\sin^2","(","(","\\cos","(","x_1",")","+","\\cos","(","x_2",")",")","^2",")","-","\\cos^2","(","(","\\sin","(","x_1",")","+","\\sin","(","x_2",")",")","^2",")","+","x_1","\\right","]","^2","}","+","0.01","\\left","[","(","x_1","-1",")","^2","+","(","x_2","-","1",")","^2","\\right","]","with",":","math",":","`","x_i","\\in","[","-10",",","10","]","`","for",":","math",":","`","i","=","1",",","2","`",".","*","Global","optimum","*",":",":","math",":","`","f","(","x_i",")","=","-2.28395","`","for",":","math",":","`","x","=","[","2.88631",",","1.82326","]","`","..","[","1","]","Mishra",",","S.","Global","Optimization","by","Differential","Evolution","and","Particle","Swarm","Methods",":","Evaluation","on","Some","Benchmark","Functions",".","Munich","Personal","RePEc","Archive",",","2006",",","1005","TODO","line","397"]
code: def fun(self, x, *args):
      self.nfev += 1
  
      a = 0.1 * ((x[0] - 1) ** 2 + (x[1] - 1) ** 2)
      u = (cos(x[0]) + cos(x[1])) ** 2
      v = (sin(x[0]) + sin(x[1])) ** 2
      return a - log((sin(u) ** 2 - cos(v) ** 2 + x[0]) ** 2)
  
imports: from numpy import abs, asarray, cos, exp, log, arange, pi, prod, sin, sqrt, sum, tan
  from .go_benchmark import Benchmark, safe_import
label_desc: Use image node_id 2 for calling the Mishra06 obj's underlying member method code with example usage: obj.fun(x) and returns: unknown