The method of iteratively reweighted least squares (IRLS) is used to solve certain optimization problems with objective functions of the form of a p-norm: by an iterative method in which each step involves solving a weighted least squares problem of the form:[1] IRLS is used to find the maximum likelihood estimates of a generalized linear model, and in robust regression to find an M-estimator, as