code: def de_solve(CF):
      solver = DifferentialEvolutionSolver(ND, NP)
      solver.enable_signal_handler()
      stepmon = Monitor()
      solver.SetRandomInitialPoints(min=minrange, max=maxrange)
      solver.SetStrictRanges(min=minrange, max=maxrange)
      solver.SetEvaluationLimits(generations=MAX_GENERATIONS)
      solver.SetGenerationMonitor(stepmon)
      termination = ChangeOverGeneration(generations=generations)
      solver.Solve(
          CF,
          termination=termination,
          strategy=Rand1Exp,
          sigint_callback=plot_sol(solver),
      )
      solution = solver.Solution()
      return solution, stepmon
  
file_path: mystic/examples/test_lorentzian.py
imports: import matplotlib.pyplot, matplotlib
  from numpy import *
  from mystic.models import lorentzian
  from test_lorentzian2 import *
  import warnings
label_desc: Use image node_id 4 for calling a global function with example usage: de_solve(CF) and returns: solution,  stepmon