aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
aligator::SolverProxDDPTpl< _Scalar >::LinesearchVariant Struct Reference

#include <aligator/solvers/proxddp/solver-proxddp.hpp>

Public Types

using fun_t = std::function<Scalar(Scalar)>
 
using variant_t
 

Public Member Functions

Scalar run (const fun_t &fun, const Scalar phi0, const Scalar dphi0, Scalar &alpha_try)
 
void reset ()
 
Scalar isValid () const
 
 operator const variant_t & () const
 

Detailed Description

template<typename _Scalar>
struct aligator::SolverProxDDPTpl< _Scalar >::LinesearchVariant

Definition at line 55 of file solver-proxddp.hpp.

Member Typedef Documentation

◆ fun_t

template<typename _Scalar >
using aligator::SolverProxDDPTpl< _Scalar >::LinesearchVariant::fun_t = std::function<Scalar(Scalar)>

Definition at line 56 of file solver-proxddp.hpp.

◆ variant_t

template<typename _Scalar >
using aligator::SolverProxDDPTpl< _Scalar >::LinesearchVariant::variant_t
Initial value:
std::variant<std::monostate, ArmijoLinesearch<Scalar>,
NonmonotoneLinesearch<Scalar>>

Definition at line 57 of file solver-proxddp.hpp.

Member Function Documentation

◆ run()

template<typename _Scalar >
Scalar aligator::SolverProxDDPTpl< _Scalar >::LinesearchVariant::run ( const fun_t & fun,
const Scalar phi0,
const Scalar dphi0,
Scalar & alpha_try )
inline

Definition at line 60 of file solver-proxddp.hpp.

◆ reset()

template<typename _Scalar >
void aligator::SolverProxDDPTpl< _Scalar >::LinesearchVariant::reset ( )
inline

Definition at line 72 of file solver-proxddp.hpp.

◆ isValid()

template<typename _Scalar >
Scalar aligator::SolverProxDDPTpl< _Scalar >::LinesearchVariant::isValid ( ) const
inline

Definition at line 78 of file solver-proxddp.hpp.

◆ operator const variant_t &()

template<typename _Scalar >
aligator::SolverProxDDPTpl< _Scalar >::LinesearchVariant::operator const variant_t & ( ) const
inline

Definition at line 80 of file solver-proxddp.hpp.


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