code: def grid_mini():
      """Returns a GridSearch instance with a smaller search-space"""
      options = {"c1": [1, 2], "c2": 6, "k": 5, "w": 0.9, "p": 0}
      return GridSearch(
          LocalBestPSO,
          n_particles=40,
          dimensions=20,
          options=options,
          objective_func=sphere,
          iters=10,
          bounds=None,
      )
  
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 2 for calling a global function with example usage: grid_mini() and returns: GridSearch