Lipschitz and Hölder global optimization using space-filling curves