alpaqa 1.0.0a13
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | 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 27 of file CasADiProblem.tpp.

+ Collaboration diagram for CasADiFunctionsWithParam< Conf >:

Classes

struct  ConstrFun
 

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
 
CasADiFunctionEvaluator< Conf, 6, 2 > ψ_grad_ψ
 
std::optional< ConstrFunconstr = 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, 8, 1 > > hess_ψ_prod
 
std::optional< CasADiFunctionEvaluator< Conf, 7, 1 > > hess_ψ = std::nullopt
 
std::optional< CasADiFunctionEvaluator< Conf, 2, 1 > > jac_g = std::nullopt
 

Class Documentation

◆ alpaqa::casadi_loader::CasADiFunctionsWithParam::ConstrFun

struct alpaqa::casadi_loader::CasADiFunctionsWithParam::ConstrFun
+ Collaboration diagram for CasADiFunctionsWithParam< Conf >::ConstrFun:
Class Members
CasADiFunctionEvaluator< Conf, 2, 1 > g
CasADiFunctionEvaluator< Conf, 3, 1 > grad_L
CasADiFunctionEvaluator< Conf, 6, 2 > ψ

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 53 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 29 of file CasADiProblem.tpp.

◆ m

template<Config Conf>
length_t m

Definition at line 29 of file CasADiProblem.tpp.

◆ p

template<Config Conf>
length_t p

Definition at line 29 of file CasADiProblem.tpp.

◆ f

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

Definition at line 30 of file CasADiProblem.tpp.

◆ f_grad_f

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

Definition at line 31 of file CasADiProblem.tpp.

◆ ψ_grad_ψ

template<Config Conf>
CasADiFunctionEvaluator<Conf, 6, 2> ψ_grad_ψ

Definition at line 33 of file CasADiProblem.tpp.

◆ constr

template<Config Conf>
std::optional<ConstrFun> constr = 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.

◆ hess_ψ_prod

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

Definition at line 43 of file CasADiProblem.tpp.

◆ hess_ψ

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

Definition at line 45 of file CasADiProblem.tpp.

◆ jac_g

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

Definition at line 46 of file CasADiProblem.tpp.


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