docstr: configure ensemble solver from objective and other solver options
docstr_tok: ["configure","ensemble","solver","from","objective","and","other","solver","options"]
code: def _configure(self, model, bounds, stop=None, **kwds):
      """configure ensemble solver from objective and other solver options"""
      monitor = kwds.get("monitor", None)
      evalmon = kwds.get("evalmon", None)
      penalty = kwds.get("penalty", None)
      constraints = kwds.get("constraints", None)
      tight = kwds.get("tightrange", None)
      clip = kwds.get("cliprange", None)
  
      from mystic.monitors import Monitor
  
      # configure monitor
      monitor = Monitor() if monitor is None else monitor
  
      # get dimensions
      ndim = len(bounds)
      _min, _max = zip(*bounds)
  
      # configure ensemble solver
      self.solver = self.sprayer(ndim, self.npts)
      self.solver.SetNestedSolver(self.seeker)
      self.solver.SetMapper(self.map)
      self.solver.SetObjective(model)
      self.solver.SetConstraints(constraints)
      self.solver.SetPenalty(penalty)
      if stop:
          self.solver.SetTermination(stop)
      if evalmon is not None:
          self.solver.SetEvaluationMonitor(evalmon)
      if monitor is not None:
          self.solver.SetGenerationMonitor(
              monitor
          )  # NOTE: may be xy,-z
      self.solver.SetStrictRanges(
          min=_min, max=_max, tight=tight, clip=clip
      )
      return
  
file_path: mystic/mystic/search.py
label_desc: Use image node_id 4 for calling the Searcher obj's underlying member method code with example usage: obj._configure(model, bounds, stop) without return types