code: def iterate(self, max_iter=150):
          r
          self._run_alg(max_iter)
  
          # retrieve metrics results
          self.retrieve_outputs()
  
          self.x_final = self._x_new
docs: r"""Iterate
  
          This method calls update until either convergence criteria is met or
          the maximum number of iterations is reached
  
          Parameters
          ----------
          max_iter : int, optional
              Maximum number of iterations (default is ``150``)