'Pass this optimizer a new mapping, and on subsequent optimize call, the
mapping will be refreshed (since map_list will be recreated)'

def _reset_mapping(self, new_mapping):

    self.optimizer_mapping = new_mapping
    self.map_list = None
