GMRES-type methods for inconsistent systems