module documentation

A short and simple example experiment with restarts mainly for reading.

For code to run in practice, check out the example_experiment_complete.py.

The code is fully functional but (mainly) emphasises on readability. Hence, it produces only rudimentary progress messages and does not provide batch distribution or timing prints.

To apply the code to a different solver, fmin must be re-assigned or re-defined accordingly, and the below code may need to be edited at the two places marked with "### input".

For example, using cma.fmin2 instead of scipy.optimize.fmin can be done like:

import cma
def fmin(fun, x0, **kwargs):
    res = cma.fmin2(fun, x0, 2, {'verbose': -9} if not kwargs.get('disp')
                                else None)
    return res[0]

See also: https://numbbo.it/getting-started/experiment-python.html

Variable __author__ Undocumented
Variable __copyright__ Undocumented
Variable budget_multiplier Undocumented
Variable dsl Undocumented
Variable minimal_print Undocumented
Variable observer Undocumented
Variable output_folder Undocumented
Variable repeater Undocumented
Variable suite Undocumented
Variable suite_name Undocumented
Variable xopt Undocumented
__author__: str =

Undocumented

__copyright__: str =

Undocumented

budget_multiplier: int =

Undocumented

dsl =

Undocumented

minimal_print =

Undocumented

observer =

Undocumented

output_folder =

Undocumented

repeater =

Undocumented

suite =

Undocumented

suite_name: str =

Undocumented

xopt =

Undocumented