class_docstr: Mishra 1 objective function.
  
  This class defines the Mishra 1 [1]_ global optimization problem. This
  is a multimodal minimization problem defined as follows:
  
  .. math::
  
     f_{\text{Mishra01}}(x) = (1 + x_n)^{x_n}
  
  
  where
  
  .. math::
  
      x_n = n - \sum_{i=1}^{n-1} x_i
  
  
  with :math:`x_i \in [0, 1]` for :math:`i =1, ..., n`.
  
  *Global optimum*: :math:`f(x) = 2` for :math:`x_i = 1` for
  :math:`i = 1, ..., n`
  
  .. [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: ["Mishra","1","objective","function",".","This","class","defines","the","Mishra","1","[","1","]","_","global","optimization","problem",".","This","is","a","multimodal","minimization","problem","defined","as","follows",":","..","math",":",":","f_","{","\\text","{","Mishra01","}","}","(","x",")","=","(","1","+","x_n",")","^","{","x_n","}","where","..","math",":",":","x_n","=","n","-","\\sum_","{","i=1","}","^","{","n-1","}","x_i","with",":","math",":","`","x_i","\\in","[","0",",","1","]","`","for",":","math",":","`","i","=1",",","...",",","n","`",".","*","Global","optimum","*",":",":","math",":","`","f","(","x",")","=","2","`","for",":","math",":","`","x_i","=","1","`","for",":","math",":","`","i","=","1",",","...",",","n","`","..","[","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 fun(self, x, *args):
      self.nfev += 1
  
      xn = self.N - sum(x[0:-1])
      return (1 + xn) ** xn
  
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 Mishra01 obj's underlying member method code with example usage: obj.fun(x) and returns: unknown