alpaqa cmake-targets
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Functions | Variables
alpaqa::detail Namespace Reference

Classes

struct  ALMHelpers
 
struct  IndexSet
 
struct  PANOCHelpers
 

Functions

template<class T >
std::ostream & print_csv_impl (std::ostream &os, const T &M, std::string_view sep, std::string_view begin, std::string_view end)
 
template<class T >
std::ostream & print_matlab_impl (std::ostream &os, const T &M, std::string_view end)
 
template<class T >
std::ostream & print_python_impl (std::ostream &os, const T &M, std::string_view end)
 
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< Confextract_u (const TypeErasedControlProblem< Conf > &problem, crvec< Conf > xu)
 
template<Config Conf>
vec< Confextract_x (const TypeErasedControlProblem< Conf > &problem, crvec< Conf > xu)
 
template<class... Args>
std::ostream & print_csv_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< int > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_matlab_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< int > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_python_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< int > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_csv_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_matlab_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_python_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_csv_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long long > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_matlab_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long long > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_python_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long long > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_csv_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< double > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_matlab_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< double > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_python_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< double > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_csv_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long double > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_matlab_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long double > > &M, Args &&...args)
 
template<class... Args>
std::ostream & print_python_helper (std::ostream &os, const Eigen::Ref< const Eigen::MatrixX< long double > > &M, Args &&...args)
 
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

◆ print_csv_impl()

template<class T >
std::ostream & print_csv_impl ( std::ostream &  os,
const T M,
std::string_view  sep,
std::string_view  begin,
std::string_view  end 
)

Definition at line 91 of file print.tpp.

+ Here is the call graph for this function:

◆ print_matlab_impl()

template<class T >
std::ostream & print_matlab_impl ( std::ostream &  os,
const T M,
std::string_view  end 
)

Definition at line 117 of file print.tpp.

+ Here is the call graph for this function:

◆ print_python_impl()

template<class T >
std::ostream & print_python_impl ( std::ostream &  os,
const T M,
std::string_view  end 
)

Definition at line 138 of file print.tpp.

+ Here is the call graph for this function:

◆ assign_interleave_xu() [1/2]

template<Config Conf>
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]

template<Config Conf>
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()

template<Config Conf>
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()

template<Config Conf>
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()

template<Config Conf>
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()

template<Config Conf>
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:

◆ print_csv_helper() [1/5]

template<class... Args>
std::ostream & print_csv_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< int > > &  M,
Args &&...  args 
)

Definition at line 46 of file print.hpp.

◆ print_matlab_helper() [1/5]

template<class... Args>
std::ostream & print_matlab_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< int > > &  M,
Args &&...  args 
)

Definition at line 46 of file print.hpp.

◆ print_python_helper() [1/5]

template<class... Args>
std::ostream & print_python_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< int > > &  M,
Args &&...  args 
)

Definition at line 46 of file print.hpp.

◆ print_csv_helper() [2/5]

template<class... Args>
std::ostream & print_csv_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long > > &  M,
Args &&...  args 
)

Definition at line 47 of file print.hpp.

◆ print_matlab_helper() [2/5]

template<class... Args>
std::ostream & print_matlab_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long > > &  M,
Args &&...  args 
)

Definition at line 47 of file print.hpp.

◆ print_python_helper() [2/5]

template<class... Args>
std::ostream & print_python_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long > > &  M,
Args &&...  args 
)

Definition at line 47 of file print.hpp.

◆ print_csv_helper() [3/5]

template<class... Args>
std::ostream & print_csv_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long long > > &  M,
Args &&...  args 
)

Definition at line 48 of file print.hpp.

◆ print_matlab_helper() [3/5]

template<class... Args>
std::ostream & print_matlab_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long long > > &  M,
Args &&...  args 
)

Definition at line 48 of file print.hpp.

◆ print_python_helper() [3/5]

template<class... Args>
std::ostream & print_python_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long long > > &  M,
Args &&...  args 
)

Definition at line 48 of file print.hpp.

◆ print_csv_helper() [4/5]

template<class... Args>
std::ostream & print_csv_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< double > > &  M,
Args &&...  args 
)

Definition at line 49 of file print.hpp.

◆ print_matlab_helper() [4/5]

template<class... Args>
std::ostream & print_matlab_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< double > > &  M,
Args &&...  args 
)

Definition at line 49 of file print.hpp.

◆ print_python_helper() [4/5]

template<class... Args>
std::ostream & print_python_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< double > > &  M,
Args &&...  args 
)

Definition at line 49 of file print.hpp.

◆ print_csv_helper() [5/5]

template<class... Args>
std::ostream & print_csv_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long double > > &  M,
Args &&...  args 
)

Definition at line 50 of file print.hpp.

◆ print_matlab_helper() [5/5]

template<class... Args>
std::ostream & print_matlab_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long double > > &  M,
Args &&...  args 
)

Definition at line 50 of file print.hpp.

◆ print_python_helper() [5/5]

template<class... Args>
std::ostream & print_python_helper ( std::ostream &  os,
const Eigen::Ref< const Eigen::MatrixX< long double > > &  M,
Args &&...  args 
)

Definition at line 50 of file print.hpp.

◆ casadi_to_index()

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

Definition at line 129 of file CasADiProblem.tpp.

◆ member_caller() [1/2]

template<auto Member, class Class , class Ret , class... Args>
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 657 of file dl-problem.h.

◆ member_caller() [2/2]

template<auto Member, class Class , class Ret >
static auto member_caller ( Ret Class::*  )
static

Overload for member variables.

See also
alpaqa::member_caller

Definition at line 677 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.