alpaqa pi-pico
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | List of all members
CasADiFunctionsWithParam< Conf > Struct Template Reference

Detailed Description

template<Config Conf>
struct alpaqa::casadi_loader::CasADiFunctionsWithParam< Conf >

Definition at line 30 of file CasADiProblem.tpp.

+ Collaboration diagram for CasADiFunctionsWithParam< Conf >:

Static Public Member Functions

template<class Loader >
requires requires(Loader &&loader, const char *name) { { loader(name) } -> std::same_as<casadi::Function>; { loader.format_name(name) } -> std::same_as<std::string>; }
static std::unique_ptr< CasADiFunctionsWithParamload (Loader &&loader)
 

Public Attributes

length_t n
 
length_t m
 
length_t p
 
CasADiFunctionEvaluator< Conf, 2, 1 > f
 
CasADiFunctionEvaluator< Conf, 2, 2 > f_grad_f
 
std::optional< CasADiFunctionEvaluator< Conf, 2, 1 > > g = std::nullopt
 
std::optional< CasADiFunctionEvaluator< Conf, 3, 1 > > grad_g_prod
 
std::optional< CasADiFunctionEvaluator< Conf, 2, 1 > > jac_g = std::nullopt
 
std::optional< CasADiFunctionEvaluator< Conf, 3, 1 > > grad_L = std::nullopt
 
std::optional< CasADiFunctionEvaluator< Conf, 5, 1 > > hess_L_prod
 
std::optional< CasADiFunctionEvaluator< Conf, 4, 1 > > hess_L = std::nullopt
 
std::optional< CasADiFunctionEvaluator< Conf, 6, 2 > > ψ = std::nullopt
 
std::optional< CasADiFunctionEvaluator< Conf, 6, 2 > > ψ_grad_ψ = std::nullopt
 
std::optional< CasADiFunctionEvaluator< Conf, 8, 1 > > hess_ψ_prod
 
std::optional< CasADiFunctionEvaluator< Conf, 7, 1 > > hess_ψ = std::nullopt
 

Member Function Documentation

◆ load()

template<Config Conf>
template<class Loader >
requires requires(Loader &&loader, const char *name) { { loader(name) } -> std::same_as<casadi::Function>; { loader.format_name(name) } -> std::same_as<std::string>; }
static std::unique_ptr< CasADiFunctionsWithParam > load ( Loader &&  loader)
inlinestatic

Definition at line 54 of file CasADiProblem.tpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ n

template<Config Conf>
length_t n

Definition at line 32 of file CasADiProblem.tpp.

◆ m

template<Config Conf>
length_t m

Definition at line 32 of file CasADiProblem.tpp.

◆ p

template<Config Conf>
length_t p

Definition at line 32 of file CasADiProblem.tpp.

◆ f

template<Config Conf>
CasADiFunctionEvaluator<Conf, 2, 1> f

Definition at line 33 of file CasADiProblem.tpp.

◆ f_grad_f

template<Config Conf>
CasADiFunctionEvaluator<Conf, 2, 2> f_grad_f

Definition at line 34 of file CasADiProblem.tpp.

◆ g

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 2, 1> > g = std::nullopt

Definition at line 35 of file CasADiProblem.tpp.

◆ grad_g_prod

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 3, 1> > grad_g_prod
Initial value:
=
std::nullopt

Definition at line 36 of file CasADiProblem.tpp.

◆ jac_g

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 2, 1> > jac_g = std::nullopt

Definition at line 38 of file CasADiProblem.tpp.

◆ grad_L

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 3, 1> > grad_L = std::nullopt

Definition at line 39 of file CasADiProblem.tpp.

◆ hess_L_prod

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 5, 1> > hess_L_prod
Initial value:
=
std::nullopt

Definition at line 40 of file CasADiProblem.tpp.

◆ hess_L

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 4, 1> > hess_L = std::nullopt

Definition at line 42 of file CasADiProblem.tpp.

◆ ψ

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 6, 2> > ψ = std::nullopt

Definition at line 43 of file CasADiProblem.tpp.

◆ ψ_grad_ψ

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 6, 2> > ψ_grad_ψ = std::nullopt

Definition at line 44 of file CasADiProblem.tpp.

◆ hess_ψ_prod

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 8, 1> > hess_ψ_prod
Initial value:
=
std::nullopt

Definition at line 45 of file CasADiProblem.tpp.

◆ hess_ψ

template<Config Conf>
std::optional<CasADiFunctionEvaluator<Conf, 7, 1> > hess_ψ = std::nullopt

Definition at line 47 of file CasADiProblem.tpp.


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