TAOTERML1#

A TaoTerm that computes \(\|x - p\|_1\), for solution \(x\) and parameters \(p\).

Options Database Keys#

Notes#

This term is TAOTERM_PARAMETERS_OPTIONAL. If the parameters argument is NULL for evaluation routines the term computes \(\|x\|_1\).

This term has a smoothing parameter \(\epsilon\) that defaults to 0: if \(\epsilon > 0\), the term computes a smooth approximation of \(\|x - p\|_1\), see TaoTermL1SetEpsilon().

The default Hessian creation mode (see TaoTermGetCreateHessianMode()) is H == Hpre and TaoTermCreateHessianMatrices() will create a MATDIAGONAL for the Hessian.

See Also#

TaoTerm: composable objective function terms, TaoTerm, TaoTermType, TaoTermCreateL1(), TaoTermL1GetEpsilon(), TaoTermL1SetEpsilon(), TAOTERMHALFL2SQUARED, TAOTERMQUADRATIC

Level#

intermediate

Location#

src/tao/term/impls/l1/taoterml1.c

Examples#

src/tao/unconstrained/tutorials/elastic_net_regularization.c


Index of all TaoTerm routines
Table of Contents for all manual pages
Index of all manual pages