def METHOD_NAME(self):
    # Runs an optimisation without boundaries.
    r, x, s, b = self.problem()
    opt = pints.OptimisationController(r, x, method=method)
    opt.set_threshold(1e-3)
    opt.set_log_to_screen(debug)
    found_parameters, found_solution = opt.run()
    self.assertTrue(found_solution < 1e-3)