#define USING_ALPAQA_CONFIG(Conf)
typename Conf::real_t real_t
typename Conf::crvec crvec
This class outlines the interface for direction providers used by PANOC-like algorithms.
void changed_γ(real_t γₖ, real_t old_γₖ)=delete
Called when the PANOC step size changes.
std::string get_name() const =delete
Get a human-readable name for this direction provider.
void reset()=delete
Called when using the direction failed.
bool apply(real_t γₖ, crvec xₖ, crvec x̂ₖ, crvec pₖ, crvec grad_ψxₖ, rvec qₖ) const =delete
Apply the direction estimation in the current point.
bool has_initial_direction() const =delete
Return whether a direction is available on the very first iteration, before the first call to update.
void initialize(const Problem &problem, crvec y, crvec Σ, real_t γ_0, crvec x_0, crvec x̂_0, crvec p_0, crvec grad_ψx_0)=delete
Initialize the direction provider.
bool update(real_t γₖ, real_t γₙₑₓₜ, crvec xₖ, crvec xₙₑₓₜ, crvec pₖ, crvec pₙₑₓₜ, crvec grad_ψxₖ, crvec grad_ψxₙₑₓₜ)=delete
Update the direction provider when accepting the next iterate.