docstr: Random value between :math:`w^{start}` and :math:`w^{end}`
  
  .. math::
          w = start + (end-start)*rand(0,1)
  
  Ref: R.C. Eberhart, Y.H. Shi, Tracking and optimizing dynamic systems with particle
  swarms, in: Congress on Evolutionary Computation, Korea, 2001
docstr_tok: ["Random","value","between",":","math",":","`","w^","{","start","}","`","and",":","math",":","`","w^","{","end","}","`","..","math",":",":","w","=","start","+","(","end-start",")","*","rand","(","0,1",")","Ref",":","R.C",".","Eberhart",",","Y.H",".","Shi",",","Tracking","and","optimizing","dynamic","systems","with","particle","swarms",",","in",":","Congress","on","Evolutionary","Computation",",","Korea",",","2001"]
code: def random(self, start_opts, opt, **kwargs):
      """Random value between :math:`w^{start}` and :math:`w^{end}`
  
      .. math::
              w = start + (end-start)*rand(0,1)
  
      Ref: R.C. Eberhart, Y.H. Shi, Tracking and optimizing dynamic systems with particle
      swarms, in: Congress on Evolutionary Computation, Korea, 2001
      """
  
      start = start_opts[opt]
      if opt in kwargs["end_opts"]:
          end = kwargs["end_opts"][opt]
      else:
          end = start + 1
      return start + (end - start) * np.random.rand()
  
imports: import inspect
  import logging
  import numpy
  import math
  from copy import copy
  from ..utils.reporter import Reporter
label_desc: Use image node_id 5 for calling the OptionsHandler obj's underlying member method code with example usage: obj.random(start_opts, opt) and returns: unknown