# Regularization

Regularize version of Lasso and basis-pursuit denoise can be obtained by augmenting $A$ with the weighted identity matrix, and augmenting $b$ with a vector of all zero. For convenience, SPGL1 also supports direct regularization, which changes the Lasso formulation to

The $\mu$ parameter can be specified in the options as options.mu or as parameter mu.