<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_bounds(self, new_bounds):
 """ A method that allows changing the lower and upper searching bounds Parameters new_bounds : dict A dictionary with the parameter name and its new bounds """

        for row, key in enumerate(self.keys):
            if key in new_bounds:
                self._bounds[row] = new_bounds[key]