@@ -0,0 +1,542 @@
+from optinum import algorithm%0Afrom optinum import objective%0A%0A_ALGORITHMS = %7B%0A    'HCFirstImprovement': algorithm.HCFirstImprovement,%0A    'HCBestImprovement': algorithm.HCBestImprovement,%0A%7D%0A_OBJECTIVE_FUNCTION = %7B%0A    'Rosenbrock': objective.Rosenbrock,%0A    'Rastrigin': objective.Rastrigin,%0A    'Griewangk': objective.Griewangk,%0A    'SixHumpCamelBack': objective.SixHumpCamelBack,%0A%7D%0A%0A%0Adef algorithm(algorithm):%0A    return _ALGORITHMS.get(algorithm)%0A%0A%0Adef objective_function(function_name):%0A    return _OBJECTIVE_FUNCTION.get(function_name)()%0A

Add factory for algorithms and objective functions