#include <alpaqa/inner/directions/panoc/structured-newton.hpp>
Definition at line 49 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 |
mat | H |
vec | HJ_storage |
struct alpaqa::StructuredNewtonDirection::Params |
Class Members | ||
---|---|---|
AcceleratorParams | accelerator = {} | |
DirectionParams | direction = {} |
using Problem = TypeErasedProblem<config_t> |
Definition at line 51 of file structured-newton.hpp.
using DirectionParams = StructuredNewtonDirectionParams<config_t> |
Definition at line 52 of file structured-newton.hpp.
using AcceleratorParams = StructuredNewtonRegularizationParams<config_t> |
Definition at line 53 of file structured-newton.hpp.
|
default |
|
inline |
Definition at line 61 of file structured-newton.hpp.
|
inline |
Definition at line 63 of file structured-newton.hpp.
|
inline |
Definition at line 68 of file structured-newton.hpp.
|
inline |
Definition at line 92 of file structured-newton.hpp.
|
inline |
Definition at line 95 of file structured-newton.hpp.
|
inline |
Definition at line 104 of file structured-newton.hpp.
Definition at line 200 of file structured-newton.hpp.
|
inline |
Definition at line 204 of file structured-newton.hpp.
|
inline |
Definition at line 207 of file structured-newton.hpp.
Definition at line 212 of file structured-newton.hpp.
Definition at line 215 of file structured-newton.hpp.
|
private |
Definition at line 217 of file structured-newton.hpp.
|
private |
Definition at line 218 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 224 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 225 of file structured-newton.hpp.
|
mutableprivate |
Definition at line 226 of file structured-newton.hpp.
AcceleratorParams reg_params |
Definition at line 229 of file structured-newton.hpp.
DirectionParams direction_params |
Definition at line 230 of file structured-newton.hpp.