alpaqa 1.0.0a16
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
NoopDirection< Conf > Struct Template Reference

#include <alpaqa/inner/directions/panoc/noop.hpp>

Detailed Description

template<Config Conf>
struct alpaqa::NoopDirection< Conf >

Direction provider that provides no directions (apply always returns false).

Definition at line 11 of file noop.hpp.

+ Collaboration diagram for NoopDirection< Conf >:

Public Types

using Problem = TypeErasedProblem< config_t >
 
using AcceleratorParams = void
 
using DirectionParams = void
 

Public Member Functions

 NoopDirection ()=default
 
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
 
void get_params () const
 

Member Typedef Documentation

◆ Problem

template<Config Conf>
using Problem = TypeErasedProblem<config_t>

Definition at line 14 of file noop.hpp.

◆ AcceleratorParams

template<Config Conf>
using AcceleratorParams = void

Definition at line 15 of file noop.hpp.

◆ DirectionParams

template<Config Conf>
using DirectionParams = void

Definition at line 16 of file noop.hpp.

Constructor & Destructor Documentation

◆ NoopDirection()

template<Config Conf>
NoopDirection ( )
default

Member Function Documentation

◆ initialize()

template<Config Conf>
void initialize ( const Problem problem,
crvec  y,
crvec  Σ,
real_t  γ_0,
crvec  x_0,
crvec  x̂_0,
crvec  p_0,
crvec  grad_ψx_0 
)
inline
See also
PANOCDirection::initialize

Definition at line 21 of file noop.hpp.

◆ has_initial_direction()

template<Config Conf>
bool has_initial_direction ( ) const
inline
See also
PANOCDirection::has_initial_direction

Definition at line 28 of file noop.hpp.

◆ update()

template<Config Conf>
bool update ( real_t  γₖ,
real_t  γₙₑₓₜ,
crvec  xₖ,
crvec  xₙₑₓₜ,
crvec  pₖ,
crvec  pₙₑₓₜ,
crvec  grad_ψxₖ,
crvec  grad_ψxₙₑₓₜ 
)
inline
See also
PANOCDirection::update

Definition at line 32 of file noop.hpp.

◆ apply()

template<Config Conf>
bool apply ( real_t  γₖ,
crvec  xₖ,
crvec  x̂ₖ,
crvec  pₖ,
crvec  grad_ψxₖ,
rvec  qₖ 
) const
inline
See also
PANOCDirection::apply

Definition at line 42 of file noop.hpp.

◆ changed_γ()

template<Config Conf>
void changed_γ ( real_t  γₖ,
real_t  old_γₖ 
)
inline
See also
PANOCDirection::changed_γ

Definition at line 49 of file noop.hpp.

◆ reset()

template<Config Conf>
void reset ( )
inline
See also
PANOCDirection::reset

Definition at line 53 of file noop.hpp.

◆ get_name()

template<Config Conf>
std::string get_name ( ) const
inline
See also
PANOCDirection::get_name

Definition at line 56 of file noop.hpp.

◆ get_params()

template<Config Conf>
void get_params ( ) const
inline

Definition at line 59 of file noop.hpp.


The documentation for this struct was generated from the following file: