@@ -0,0 +1,498 @@
+import numpy as np%0A%0Afrom robo.task.base_task import BaseTask%0A%0A%0Aclass Camelback(BaseTask):%0A%0A    def __init__(self):%0A        X_lower = np.array(%5B-3, -2%5D)%0A        X_upper = np.array(%5B3, 2%5D)%0A        super(Camelback, self).__init__(X_lower, X_upper)%0A%0A    def objective_function(self, x):%0A        y = (4-2.1*(x%5B:, 0%5D**2)+((x%5B:, 0%5D**4)/3))*(x%5B:, 0%5D**2)+ x%5B:, 0%5D*x%5B:, 1%5D+(-4+4*(x%5B:, 1%5D**2))*(x%5B:, 1%5D**2)%0A        return y%0A%0A    def objective_function_test(self, x):%0A        return self.objective_function(x)%0A

camelback task