<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compute_batch(self, duplicate_manager=None,context_manager=None):
 """ Selects the new location to evaluate the objective. """

        x, _ = self.acquisition.optimize(duplicate_manager=duplicate_manager)
        return x