def METHOD_NAME(args):
  assert len(args) == 0
  have_cma_es = libtbx.env.has_module("cma_es")
  if (not have_cma_es):
    print("Skipping some tests: cma_es module not available or not configured.")
    print()
  names = ['easom','rosenbrock','ackley','rastrigin']
  for name in names:
    print("****", name, "****")
    if name == 'easom':
      start = flex.double( [0.0,0.0] )
    else:
      start = flex.double( [4,4] )
    for ii in range(1):
      test_lbfgs(name)
      if (have_cma_es):
        test_cma_es(name)
      test_differential_evolution(name)
      test_cross_entropy(name)
      test_simplex(name)
      test_dssa(name)
      print()
    print()
  from libtbx.utils import format_cpu_times
  print(format_cpu_times())