def METHOD_NAME(self, request, problem_instance_id):
    self._resume(problem_instance_id)
    self._clear_queue(problem_instance_id)
    return redirect('oioioiadmin:contests_probleminstance_changelist')