def __init__(self, func, n_obj, num_cores=1, objective_name='no_name', batch_type='synchronous', space=None):
    self.func = func
    self.n_procs = num_cores
    self.num_evaluations = 0
    self.space = space
    self.objective_name = objective_name
    self.n_obj = n_obj
def __init__(self, func, n_obj, num_cores=1, objective_name='no_name', batch_type='synchronous', space=None):
    self.func = func
    self.n_procs = num_cores
    self.num_evaluations = 0
    self.space = space
    self.objective_name = objective_name
    self.n_obj = n_obj