cr.sparse.cvx.spgl1.SPGL1Options¶
- class cr.sparse.cvx.spgl1.SPGL1Options(bp_tol: float = 1e-06, ls_tol: float = 1e-06, opt_tol: float = 0.0001, dec_tol: float = 0.0001, gamma: float = 0.0001, alpha_min: float = 1e-16, alpha_max: float = 100000.0, memory: int = 3, max_matvec: int = 100000, max_iters: int = 100)[source]¶
Options for the SPGL1 algorithm
- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__()Initialize self.
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
alpha_maxMaximum spectral step
alpha_minMinimum spectral step
bp_tolTolerance for basis pursuit solution
dec_tolRequired relative change in primal objective for Newton steps
gammaSufficient decrease parameter
ls_tolTolerance for least squares solution
max_itersAlias for field number 9
max_matvecMaximum number of A x and A^T x to be computed
memoryNumber of past objective values to be retained
opt_tolOptimality tolerance