code: def _exp_schedule(iteration, k=20, lam=0.005, limit=100):
      '''
      Possible scheduler for simulated_annealing, based on the aima example.
      '''
      return k * math.exp(-lam * iterationf _exp_schedule(iteration, k=20, lam=0.005, limit=100):
      '''
      Possible scheduler for simulated_annealing, based on the aima example.
      '''
      return k * math.exp(-lam * iteration)
docs: Possible scheduler for simulated_annealing, based on the aima example.