#include <alpaqa/include/alpaqa/inner/directions/panoc/structured-newton.hpp>
Definition at line 46 of file structured-newton.hpp.
Classes | |
struct | Params |
Public Types | |
using | Problem = TypeErasedProblem< config_t > |
using | DirectionParams = StructuredNewtonDirectionParams< config_t > |
using | AcceleratorParams = StructuredNewtonRegularizationParams< config_t > |
Public Member Functions | |
StructuredNewtonDirection ()=default | |
StructuredNewtonDirection (const Params ¶ms) | |
StructuredNewtonDirection (const AcceleratorParams ¶ms, const DirectionParams &directionparams={}) | |
void | initialize (const Problem &problem, crvec y, crvec Σ, real_t γ_0, crvec x_0, crvec x̂_0, crvec p_0, crvec grad_ψx_0) |
bool | has_initial_direction () const |
bool | update (real_t γₖ, real_t γₙₑₓₜ, crvec xₖ, crvec xₙₑₓₜ, crvec pₖ, crvec pₙₑₓₜ, crvec grad_ψxₖ, crvec grad_ψxₙₑₓₜ) |
bool | apply (real_t γₖ, crvec xₖ, crvec x̂ₖ, crvec pₖ, crvec grad_ψxₖ, rvec qₖ) const |
void | changed_γ (real_t γₖ, real_t old_γₖ) |
void | reset () |
std::string | get_name () const |
const auto & | get_params () const |
Public Attributes | |
AcceleratorParams | reg_params |
DirectionParams | direction_params |
Private Attributes | |
const Problem * | problem = nullptr |
std::optional< crvec > | y = std::nullopt |
std::optional< crvec > | Σ = std::nullopt |
indexvec | JK |
vec | H_storage |
vec | HJ_storage |
indexvec | inner_idx_H |
indexvec | outer_ptr_H |
struct alpaqa::StructuredNewtonDirection::Params |
Class Members | ||
---|---|---|
AcceleratorParams | accelerator = {} | |
DirectionParams | direction = {} |
using Problem = TypeErasedProblem<config_t> |
Definition at line 48 of file structured-newton.hpp.
using DirectionParams = StructuredNewtonDirectionParams<config_t> |
Definition at line 49 of file structured-newton.hpp.
using AcceleratorParams = StructuredNewtonRegularizationParams<config_t> |
Definition at line 50 of file structured-newton.hpp.
|
default |
|
inline |
Definition at line 58 of file structured-newton.hpp.
|
inline |
Definition at line 60 of file structured-newton.hpp.
|
inline |
Definition at line 65 of file structured-newton.hpp.
|
inline |
Definition at line 96 of file structured-newton.hpp.
|
inline |
Definition at line 99 of file structured-newton.hpp.
Definition at line 108 of file structured-newton.hpp.
Definition at line 206 of file structured-newton.hpp.
|
inline |
Definition at line 210 of file structured-newton.hpp.
|
inline |
Definition at line 213 of file structured-newton.hpp.
|
inline |
Definition at line 218 of file structured-newton.hpp.
|
private |
Definition at line 221 of file structured-newton.hpp.
|
private |
Definition at line 223 of file structured-newton.hpp.
|
private |
Definition at line 224 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 230 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 231 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 232 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 233 of file structured-newton.hpp.
|
private |
Definition at line 233 of file structured-newton.hpp.
AcceleratorParams reg_params |
Definition at line 236 of file structured-newton.hpp.
DirectionParams direction_params |
Definition at line 237 of file structured-newton.hpp.