LeastSquares Gauss–Newton algorithm The Gauss–Newton algorithm is used to solve non-linear least squares problems.