code: def random_bounded():
      """Returns a RandomSearch instance with bounds"""
      bounds = (np.array([-5, -5]), np.array([5, 5]))
      options = {
          "c1": [1, 5],
          "c2": [6, 10],
          "k": [11, 15],
          "w": [0.4, 0.9],
          "p": 1,
      }
      return RandomSearch(
          LocalBestPSO,
          n_particles=40,
          dimensions=20,
          options=options,
          objective_func=sphere,
          iters=10,
          n_selection_iters=100,
          bounds=bounds,
      )
  
file_path: pyswarms/tests/utils/search/conftest.py
imports: import numpy
  import pytest
  from pyswarms.single import LocalBestPSO
  from pyswarms.utils.functions.single_obj import sphere
  from pyswarms.utils.search.grid_search import GridSearch
  from pyswarms.utils.search.random_search import RandomSearch
label_desc: Use image node_id 4 for calling a global function with example usage: random_bounded() and returns: RandomSearch