#include <alpaqa/inner/directions/panoc/convex-newton.hpp>
Definition at line 47 of file convex-newton.hpp.
Classes | |
| struct | Params |
Public Types | |
| using | Problem = TypeErasedProblem<config_t> |
| using | DirectionParams = ConvexNewtonDirectionParams<config_t> |
| using | AcceleratorParams = ConvexNewtonRegularizationParams<config_t> |
Public Member Functions | |
| ConvexNewtonDirection ()=default | |
| ConvexNewtonDirection (const Params ¶ms) | |
| ConvexNewtonDirection (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ₙₑₓₜ) |
| template<class Solver> | |
| void | solve (rmat H, rvec q) const |
| 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 |
| indexvec | JK |
| indexvec | JK_old |
| index_t | nJ_old = -1 |
| std::optional< rmat > | H |
| std::optional< sparsity::DenseEvaluator< config_t > > | H_eval |
| vec | HJ_storage |
| vec | work |
| bool | have_hess = false |
| struct alpaqa::ConvexNewtonDirection::Params |
| Class Members | ||
|---|---|---|
| AcceleratorParams | accelerator = {} | |
| DirectionParams | direction = {} | |
| using Problem = TypeErasedProblem<config_t> |
Definition at line 49 of file convex-newton.hpp.
| using DirectionParams = ConvexNewtonDirectionParams<config_t> |
Definition at line 50 of file convex-newton.hpp.
| using AcceleratorParams = ConvexNewtonRegularizationParams<config_t> |
Definition at line 51 of file convex-newton.hpp.
|
default |
|
inline |
Definition at line 59 of file convex-newton.hpp.
|
inline |
Definition at line 61 of file convex-newton.hpp.
|
inline |
Definition at line 66 of file convex-newton.hpp.
|
inline |
Definition at line 98 of file convex-newton.hpp.
|
inline |
Definition at line 101 of file convex-newton.hpp.
|
inline |
Definition at line 120 of file convex-newton.hpp.
Definition at line 166 of file convex-newton.hpp.
|
inline |
Definition at line 170 of file convex-newton.hpp.
|
inline |
Definition at line 173 of file convex-newton.hpp.
|
inline |
Definition at line 178 of file convex-newton.hpp.
|
private |
Definition at line 181 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 183 of file convex-newton.hpp.
|
private |
Definition at line 183 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 184 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 185 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 186 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 187 of file convex-newton.hpp.
|
private |
Definition at line 187 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 188 of file convex-newton.hpp.
| AcceleratorParams reg_params |
Definition at line 191 of file convex-newton.hpp.
| DirectionParams direction_params |
Definition at line 192 of file convex-newton.hpp.