alpaqa 0.0.1
Nonconvex constrained optimization
Public Member Functions | List of all members
PolymorphicPANOCDirectionTrampoline Class Reference

#include <alpaqa/polymorphic-panoc-direction.hpp>

Detailed Description

Definition at line 32 of file polymorphic-panoc-direction.hpp.

+ Inheritance diagram for PolymorphicPANOCDirectionTrampoline:
+ Collaboration diagram for PolymorphicPANOCDirectionTrampoline:

Public Member Functions

void initialize (crvec x₀, crvec x̂₀, crvec p₀, crvec grad₀) override
 
bool update (crvec xₖ, crvec xₖ₊₁, crvec pₖ, crvec pₖ₊₁, crvec grad_new, const Box &C, real_t γ_new) override
 
bool apply (crvec xₖ, crvec x̂ₖ, crvec pₖ, real_t γ, rvec qₖ) override
 
void changed_γ (real_t γₖ, real_t old_γₖ) override
 
void reset () override
 
std::string get_name () const override
 
py::object get_params () const override
 
vec apply_ret (crvec xₖ, crvec x̂ₖ, crvec pₖ, real_t γ)
 

Member Function Documentation

◆ initialize()

void initialize ( crvec  x₀,
crvec  x̂₀,
crvec  p₀,
crvec  grad₀ 
)
inlineoverridevirtual

Implements PolymorphicPANOCDirectionBase.

Definition at line 35 of file polymorphic-panoc-direction.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update()

bool update ( crvec  xₖ,
crvec  xₖ₊₁,
crvec  pₖ,
crvec  pₖ₊₁,
crvec  grad_new,
const Box C,
real_t  γ_new 
)
inlineoverridevirtual

Implements PolymorphicPANOCDirectionBase.

Definition at line 39 of file polymorphic-panoc-direction.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ apply()

bool apply ( crvec  xₖ,
crvec  x̂ₖ,
crvec  pₖ,
real_t  γ,
rvec  qₖ 
)
inlineoverridevirtual

Implements PolymorphicPANOCDirectionBase.

Definition at line 44 of file polymorphic-panoc-direction.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ changed_γ()

void changed_γ ( real_t  γₖ,
real_t  old_γₖ 
)
inlineoverridevirtual

Implements PolymorphicPANOCDirectionBase.

Definition at line 48 of file polymorphic-panoc-direction.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset()

void reset ( )
inlineoverridevirtual

Implements PolymorphicPANOCDirectionBase.

Definition at line 52 of file polymorphic-panoc-direction.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_name()

std::string get_name ( ) const
inlineoverridevirtual

Implements PolymorphicPANOCDirectionBase.

Definition at line 55 of file polymorphic-panoc-direction.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_params()

py::object get_params ( ) const
inlineoverridevirtual

Implements PolymorphicPANOCDirectionBase.

Definition at line 59 of file polymorphic-panoc-direction.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ apply_ret()

vec apply_ret ( crvec  xₖ,
crvec  x̂ₖ,
crvec  pₖ,
real_t  γ 
)
inlineinherited

Definition at line 24 of file polymorphic-panoc-direction.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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