alpaqa
1.0.0a18
Nonconvex constrained optimization
|
(Proximable) functions and operators.
Classes | |
struct | L1Norm< Conf, Weight > |
ℓ₁-norm. More... | |
struct | L1NormComplex< Conf, Weight > |
ℓ₁-norm of complex numbers. More... | |
struct | NuclearNorm< Conf, SVD > |
Nuclear norm (ℓ₁-norm of singular values). More... | |
Variables | |
struct alpaqa::prox_fn | prox |
Compute the proximal mapping. | |
struct alpaqa::prox_step_fn | prox_step |
Compute a generalized forward-backward step. | |
struct alpaqa::prox_fn prox |
Compute the proximal mapping.
\[ \begin{aligned} \mathrm{out} &\leftarrow \prox_{\gamma\, \mathrm{func}} \left( \mathrm{in} \right). \end{aligned} \]
func | The proximable function \( h : \Rn \to \Rn \) to apply the proximal mapping of. | |
[in] | in | Input vector or matrix \( x \), e.g. current iterate. |
[out] | out | Proximal mapping of \( (\gamma\, h) \) at \( x \). \( \hat x \leftarrow \prox_{\gamma\, h}\left( x \right) \) |
[in] | γ | Proximal step size \( \gamma \). |
struct alpaqa::prox_step_fn prox_step |
Compute a generalized forward-backward step.
\[ \begin{aligned} \mathrm{out} &\leftarrow \prox_{\gamma\, \mathrm{func}} \left( \mathrm{in} + \gamma_\mathrm{fwd}\, \mathrm{fwd\_step} \right) \\ \mathrm{fb\_step} &\leftarrow \mathrm{out} - \mathrm{in}. \end{aligned} \]
func | The proximable function \( h : \Rn \to \Rn \) to apply the proximal mapping of. | |
[in] | in | Input vector or matrix \( x \), e.g. current iterate. |
[in] | fwd_step | Step \( d \) to add to \( x \) before computing the proximal mapping. Scaled by \( \gamma_\text{fwd} \). |
[out] | out | Proximal mapping of \( (\gamma\, h) \) at \( x + \gamma_\text{fwd}\, d \). \( \hat x \leftarrow \prox_{\gamma\, h}\left( x + \gamma_\text{fwd}\, d \right) \) |
[out] | fb_step | Forward-backward step \( p \). \( p = \hat x - \hat x \) |
[in] | γ | Proximal step size \( \gamma \). |
[in] | γ_fwd | Forward step size \( \gamma_\mathrm{fwd} \). |
This function can be used to implement the TypeErasedProblem::eval_prox_grad_step function:
Note the negative sign for the forward step size.