def _maximize(self):
if not self.space.is_observations_valid():<EOL><INDENT>return None<EOL><DEDENT>y_max = self.space.y.max()<EOL>self.utility_function.gaussian_process.fit(self.space.x, self.space.y)<EOL>return self.utility_function.max_compute(y_max=y_max,<EOL>bounds=self.space.bounds,<EOL>n_warmup=self.n_warmup,<EOL>n_iter=self.n_iter)<EOL>
Find argmax of the acquisition function.