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

Classes

struct  ALMHelpers
 
struct  IndexSet
 
struct  PANOCHelpers
 

Functions

template<Config Conf>
void assign_interleave_xu (const OCPVariables< Conf > &dim, crvec< Conf > u, rvec< Conf > storage)
 
template<Config Conf>
void assign_interleave_xu (const OCPVariables< Conf > &dim, crvec< Conf > x, crvec< Conf > u, rvec< Conf > storage)
 
template<Config Conf>
void assign_extract_u (const OCPVariables< Conf > &dim, crvec< Conf > storage, rvec< Conf > u)
 
template<Config Conf>
void assign_extract_x (const OCPVariables< Conf > &dim, crvec< Conf > storage, rvec< Conf > x)
 
template<Config Conf>
vec< Conf > extract_u (const TypeErasedControlProblem< Conf > &problem, crvec< Conf > xu)
 
template<Config Conf>
vec< Conf > extract_x (const TypeErasedControlProblem< Conf > &problem, crvec< Conf > xu)
 
template<Config Conf>
auto casadi_to_index (casadi_int i) -> index_t< Conf >
 
template<auto Member, class Class , class Ret , class... Args>
static auto member_caller (Ret(Class::*)(Args...))
 Overload for non-const-qualified member functions.
 
template<auto Member, class Class , class Ret >
static auto member_caller (Ret Class::*)
 Overload for member variables.
 

Variables

std::atomic< void * > solver_to_stop
 

Function Documentation

◆ assign_interleave_xu() [1/2]

void assign_interleave_xu ( const OCPVariables< Conf > &  dim,
crvec< Conf >  u,
rvec< Conf >  storage 
)

Definition at line 445 of file ocp-vars.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assign_interleave_xu() [2/2]

void assign_interleave_xu ( const OCPVariables< Conf > &  dim,
crvec< Conf >  x,
crvec< Conf >  u,
rvec< Conf >  storage 
)

Definition at line 451 of file ocp-vars.hpp.

+ Here is the call graph for this function:

◆ assign_extract_u()

void assign_extract_u ( const OCPVariables< Conf > &  dim,
crvec< Conf >  storage,
rvec< Conf >  u 
)

Definition at line 460 of file ocp-vars.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assign_extract_x()

void assign_extract_x ( const OCPVariables< Conf > &  dim,
crvec< Conf >  storage,
rvec< Conf >  x 
)

Definition at line 466 of file ocp-vars.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extract_u()

vec< Conf > extract_u ( const TypeErasedControlProblem< Conf > &  problem,
crvec< Conf >  xu 
)

Definition at line 474 of file ocp-vars.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extract_x()

vec< Conf > extract_x ( const TypeErasedControlProblem< Conf > &  problem,
crvec< Conf >  xu 
)

Definition at line 482 of file ocp-vars.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ casadi_to_index()

auto casadi_to_index ( casadi_int  i) -> index_t<Conf>

Definition at line 54 of file CasADiProblem.tpp.

+ Here is the caller graph for this function:

◆ member_caller() [1/2]

static auto member_caller ( Ret(Class::*)(Args...)  )
static

Overload for non-const-qualified member functions.

Overload for const-qualified member functions.

See also
alpaqa::member_caller

Definition at line 531 of file dl-problem.h.

◆ member_caller() [2/2]

static auto member_caller ( Ret Class::*  )
static

Overload for member variables.

See also
alpaqa::member_caller

Definition at line 551 of file dl-problem.h.

Variable Documentation

◆ solver_to_stop

std::atomic<void *> solver_to_stop
inline

Definition at line 11 of file cancel.hpp.