autogenu-jupyter
An automatic code generator and the continuation/GMRES (C/GMRES) based numerical solvers for nonlinear MPC
Loading...
Searching...
No Matches
cgmres::detail::ZeroHorizonNLP< OCP > Class Template Reference

#include <zero_horizon_nlp.hpp>

Public Member Functions

 ZeroHorizonNLP (const OCP &ocp)
 
 ZeroHorizonNLP ()=default
 
 ~ZeroHorizonNLP ()=default
 
template<typename VectorType >
void eval_fonc_hu (const Scalar t, const MatrixBase< VectorType > &x, const Vector< dim > &solution, Vector< dim > &fonc_hu)
 
void retrive_dummy (Vector< dim > &solution, Vector< dim > &fonc_hu, const Scalar min_dummy)
 
void retrive_mu (Vector< dim > &solution, Vector< dim > &fonc_hu)
 
void synchronize_ocp ()
 
const OCP & ocp () const
 
const Vector< nx > & lmd () const
 

Static Public Attributes

static constexpr int nx = OCP::nx
 
static constexpr int nu = OCP::nu
 
static constexpr int nc = OCP::nc
 
static constexpr int nuc = nu + nc
 
static constexpr int nub = OCP::nub
 
static constexpr int dim = nuc + 2 * nub
 

Constructor & Destructor Documentation

◆ ZeroHorizonNLP() [1/2]

template<class OCP >
cgmres::detail::ZeroHorizonNLP< OCP >::ZeroHorizonNLP ( const OCP &  ocp)
inline

◆ ZeroHorizonNLP() [2/2]

template<class OCP >
cgmres::detail::ZeroHorizonNLP< OCP >::ZeroHorizonNLP ( )
default

◆ ~ZeroHorizonNLP()

template<class OCP >
cgmres::detail::ZeroHorizonNLP< OCP >::~ZeroHorizonNLP ( )
default

Member Function Documentation

◆ eval_fonc_hu()

template<class OCP >
template<typename VectorType >
void cgmres::detail::ZeroHorizonNLP< OCP >::eval_fonc_hu ( const Scalar  t,
const MatrixBase< VectorType > &  x,
const Vector< dim > &  solution,
Vector< dim > &  fonc_hu 
)
inline

◆ lmd()

template<class OCP >
const Vector< nx > & cgmres::detail::ZeroHorizonNLP< OCP >::lmd ( ) const
inline

◆ ocp()

template<class OCP >
const OCP & cgmres::detail::ZeroHorizonNLP< OCP >::ocp ( ) const
inline

◆ retrive_dummy()

template<class OCP >
void cgmres::detail::ZeroHorizonNLP< OCP >::retrive_dummy ( Vector< dim > &  solution,
Vector< dim > &  fonc_hu,
const Scalar  min_dummy 
)
inline

◆ retrive_mu()

template<class OCP >
void cgmres::detail::ZeroHorizonNLP< OCP >::retrive_mu ( Vector< dim > &  solution,
Vector< dim > &  fonc_hu 
)
inline

◆ synchronize_ocp()

template<class OCP >
void cgmres::detail::ZeroHorizonNLP< OCP >::synchronize_ocp ( )
inline

Member Data Documentation

◆ dim

template<class OCP >
constexpr int cgmres::detail::ZeroHorizonNLP< OCP >::dim = nuc + 2 * nub
staticconstexpr

◆ nc

template<class OCP >
constexpr int cgmres::detail::ZeroHorizonNLP< OCP >::nc = OCP::nc
staticconstexpr

◆ nu

template<class OCP >
constexpr int cgmres::detail::ZeroHorizonNLP< OCP >::nu = OCP::nu
staticconstexpr

◆ nub

template<class OCP >
constexpr int cgmres::detail::ZeroHorizonNLP< OCP >::nub = OCP::nub
staticconstexpr

◆ nuc

template<class OCP >
constexpr int cgmres::detail::ZeroHorizonNLP< OCP >::nuc = nu + nc
staticconstexpr

◆ nx

template<class OCP >
constexpr int cgmres::detail::ZeroHorizonNLP< OCP >::nx = OCP::nx
staticconstexpr

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