alpaqa 1.0.0a11
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
alpaqa::casadi_loader Namespace Reference

Classes

struct  CasADiControlFunctionsWithParam
 
class  CasADiFunctionEvaluator
 Class for evaluating CasADi functions, allocating the necessary workspace storage in advance for allocation-free evaluations. More...
 
struct  CasADiFunctionsWithParam
 

Typedefs

using dim = std::pair< casadi_int, casadi_int >
 

Functions

template<class F >
auto wrap_load (const std::string &so_name, const char *name, F f)
 
template<class T , class... Args>
auto wrapped_load (const std::string &so_name, const char *name, Args &&...args)
 
template<class T , class... Args>
std::optional< T > try_load (const std::string &so_name, const char *name, Args &&...args)
 
constexpr auto dims (auto... a)
 

Class Documentation

◆ alpaqa::casadi_loader::CasADiFunctionsWithParam

struct alpaqa::casadi_loader::CasADiFunctionsWithParam
+ Collaboration diagram for CasADiFunctionsWithParam< Conf >:
Class Members
CasADiFunctionEvaluator< Conf, 2, 1 > f
CasADiFunctionEvaluator< Conf, 2, 2 > f_grad_f
CasADiFunctionEvaluator< Conf, 6, 2 > ψ_grad_ψ
optional< ConstrFun > constr = std::nullopt
optional< CasADiFunctionEvaluator< Conf, 5, 1 > > hess_L_prod
optional< CasADiFunctionEvaluator< Conf, 4, 1 > > hess_L = std::nullopt
optional< CasADiFunctionEvaluator< Conf, 8, 1 > > hess_ψ_prod
optional< CasADiFunctionEvaluator< Conf, 7, 1 > > hess_ψ = std::nullopt
optional< CasADiFunctionEvaluator< Conf, 2, 1 > > jac_g = std::nullopt
indexvec inner_H {}
indexvec outer_H {}
indexvec inner_J {}
indexvec outer_J {}

Typedef Documentation

◆ dim

using dim = std::pair<casadi_int, casadi_int>

Definition at line 42 of file CasADiLoader-util.hpp.

Function Documentation

◆ wrap_load()

auto wrap_load ( const std::string &  so_name,
const char *  name,
f 
)

Definition at line 14 of file CasADiLoader-util.hpp.

+ Here is the caller graph for this function:

◆ wrapped_load()

auto wrapped_load ( const std::string &  so_name,
const char *  name,
Args &&...  args 
)

Definition at line 24 of file CasADiLoader-util.hpp.

+ Here is the call graph for this function:

◆ try_load()

std::optional< T > try_load ( const std::string &  so_name,
const char *  name,
Args &&...  args 
)

Definition at line 32 of file CasADiLoader-util.hpp.

◆ dims()

constexpr auto dims ( auto...  a)
inlineconstexpr

Definition at line 43 of file CasADiLoader-util.hpp.