#include <alpaqa/include/alpaqa/inner/directions/panoc/structured-newton.hpp>
Definition at line 45 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 47 of file structured-newton.hpp.
using DirectionParams = StructuredNewtonDirectionParams<config_t> |
Definition at line 48 of file structured-newton.hpp.
using AcceleratorParams = StructuredNewtonRegularizationParams<config_t> |
Definition at line 49 of file structured-newton.hpp.
|
default |
|
inline |
Definition at line 57 of file structured-newton.hpp.
|
inline |
Definition at line 59 of file structured-newton.hpp.
|
inline |
Definition at line 64 of file structured-newton.hpp.
|
inline |
Definition at line 95 of file structured-newton.hpp.
|
inline |
Definition at line 98 of file structured-newton.hpp.
Definition at line 107 of file structured-newton.hpp.
Definition at line 204 of file structured-newton.hpp.
|
inline |
Definition at line 208 of file structured-newton.hpp.
|
inline |
Definition at line 211 of file structured-newton.hpp.
|
inline |
Definition at line 216 of file structured-newton.hpp.
|
private |
Definition at line 219 of file structured-newton.hpp.
|
private |
Definition at line 221 of file structured-newton.hpp.
|
private |
Definition at line 222 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 228 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 229 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.
|
private |
Definition at line 231 of file structured-newton.hpp.
AcceleratorParams reg_params |
Definition at line 234 of file structured-newton.hpp.
DirectionParams direction_params |
Definition at line 235 of file structured-newton.hpp.