docstr: Returns local and sorted random search as acquisition maximizer.
  
  Warning
  -------
  If you experience RAM issues, try to reduce the number of challengers.
  
  Parameters
  ----------
  challengers : int, defaults to 10000
      Number of challengers.
  local_search_iterations: int, defaults to 10
      Number of local search iterations.
docstr_tok: ["Returns","local","and","sorted","random","search","as","acquisition","maximizer",".","Warning","--","--","--","-","If","you","experience","RAM","issues",",","try","to","reduce","the","number","of","challengers",".","Parameters","--","--","--","--","--","challengers",":","int",",","defaults","to","10000","Number","of","challengers",".","local_search_iterations",":","int",",","defaults","to","10","Number","of","local","search","iterations","."]
code: def get_acquisition_maximizer(  # type: ignore
      scenario: Scenario,
      *,
      challengers: int = 10000,
      local_search_iterations: int = 10,
  ) -> LocalAndSortedRandomSearch:
      """Returns local and sorted random search as acquisition maximizer.
  
      Warning
      -------
      If you experience RAM issues, try to reduce the number of challengers.
  
      Parameters
      ----------
      challengers : int, defaults to 10000
          Number of challengers.
      local_search_iterations: int, defaults to 10
          Number of local search iterations.
      """
      optimizer = LocalAndSortedRandomSearch(
          scenario.configspace,
          challengers=challengers,
          local_search_iterations=local_search_iterations,
          seed=scenario.seed,
      )
  
      return optimizer
  
imports: from __future__ import annotations
  from ConfigSpace import Configuration
  from smac.acquisition.function.expected_improvement import EI
  from smac.acquisition.maximizer.local_and_random_search import LocalAndSortedRandomSearch
  from smac.facade.abstract_facade import AbstractFacade
  from smac.initial_design.sobol_design import SobolInitialDesign
  from smac.intensifier.intensifier import Intensifier
  from smac.model.random_forest.random_forest import RandomForest
  from smac.multi_objective.aggregation_strategy import MeanAggregationStrategy
  from smac.random_design.probability_design import ProbabilityRandomDesign
  from smac.runhistory.encoder.log_scaled_encoder import RunHistoryLogScaledEncoder
  from smac.scenario import Scenario
label_desc: Use image node_id 3 for calling the HyperparameterOptimizationFacade obj's underlying member method code with example usage: obj.get_acquisition_maximizer(scenario) and returns: optimizer