#include <alpaqa/inner/directions/panoc/convex-newton.hpp>
Definition at line 48 of file convex-newton.hpp.
Collaboration diagram for ConvexNewtonDirection< Conf >: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 Types | |
| using | sp_conv_t = sparsity::SparsityConverter< Sparsity< config_t >, sparsity::Dense< config_t > > |
Private Attributes | |
| const Problem * | problem = nullptr |
| indexvec | JK |
| indexvec | JK_old |
| index_t | nJ_old = -1 |
| mat | H |
| std::optional< sp_conv_t > | H_sparsity |
| vec | HJ_storage |
| vec | work |
| bool | have_hess = false |
| struct alpaqa::ConvexNewtonDirection::Params |
Collaboration diagram for ConvexNewtonDirection< Conf >::Params:| Class Members | ||
|---|---|---|
| AcceleratorParams | accelerator = {} | |
| DirectionParams | direction = {} | |
| using Problem = TypeErasedProblem<config_t> |
Definition at line 50 of file convex-newton.hpp.
| using DirectionParams = ConvexNewtonDirectionParams<config_t> |
Definition at line 51 of file convex-newton.hpp.
| using AcceleratorParams = ConvexNewtonRegularizationParams<config_t> |
Definition at line 52 of file convex-newton.hpp.
|
private |
Definition at line 184 of file convex-newton.hpp.
|
default |
|
inline |
Definition at line 60 of file convex-newton.hpp.
|
inline |
Definition at line 62 of file convex-newton.hpp.
|
inline |
Definition at line 67 of file convex-newton.hpp.
Here is the call graph for this function:
|
inline |
Definition at line 100 of file convex-newton.hpp.
|
inline |
Definition at line 103 of file convex-newton.hpp.
|
inline |
Definition at line 122 of file convex-newton.hpp.
Here is the call graph for this function:Definition at line 164 of file convex-newton.hpp.
|
inline |
Definition at line 168 of file convex-newton.hpp.
|
inline |
Definition at line 171 of file convex-newton.hpp.
Definition at line 176 of file convex-newton.hpp.
Definition at line 179 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 181 of file convex-newton.hpp.
|
private |
Definition at line 181 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 182 of file convex-newton.hpp.
|
mutableprivate |
Definition at line 183 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.
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.