alpaqa
1.0.0a18
Nonconvex constrained optimization
|
#include <alpaqa/problem/ocproblem.hpp>
Definition at line 33 of file ocproblem.hpp.
Public Types | |
using | Box = alpaqa::Box< config_t > |
template<class F > | |
using | optional_function_t = util::BasicVTable::optional_function_t< F, ControlProblemVTable > |
template<class F > | |
using | required_function_t = typename required_function< F >::type |
A required function includes a void pointer to self, in addition to the arguments of F . | |
Public Member Functions | |
template<class P > | |
ControlProblemVTable (std::in_place_t, P &p) | |
ControlProblemVTable ()=default | |
using Box = alpaqa::Box<config_t> |
Definition at line 35 of file ocproblem.hpp.
using optional_function_t = util::BasicVTable::optional_function_t<F, ControlProblemVTable> |
Definition at line 38 of file ocproblem.hpp.
|
inherited |
A required function includes a void pointer to self, in addition to the arguments of F
.
Definition at line 82 of file type-erasure.hpp.
Definition at line 106 of file ocproblem.hpp.
|
default |
|
static |
Definition at line 8 of file ocproblem.tpp.
|
static |
Definition at line 13 of file ocproblem.tpp.
|
static |
Definition at line 18 of file ocproblem.tpp.
|
static |
Definition at line 25 of file ocproblem.tpp.
|
static |
Definition at line 31 of file ocproblem.tpp.
|
static |
Definition at line 36 of file ocproblem.tpp.
|
static |
Definition at line 41 of file ocproblem.tpp.
|
static |
Definition at line 46 of file ocproblem.tpp.
|
static |
Definition at line 51 of file ocproblem.tpp.
required_function_t<void(crvec z, rvec e) const> eval_proj_diff_g |
Definition at line 42 of file ocproblem.hpp.
Definition at line 44 of file ocproblem.hpp.
required_function_t<void(Box &U) const> get_U |
Definition at line 46 of file ocproblem.hpp.
optional_function_t<void(Box &D) const> get_D = nullptr |
Definition at line 48 of file ocproblem.hpp.
optional_function_t<void(Box &D) const> get_D_N = &default_get_D_N |
Definition at line 50 of file ocproblem.hpp.
required_function_t<void(rvec x_init) const> get_x_init |
Definition at line 52 of file ocproblem.hpp.
required_function_t<void(index_t timestep, crvec x, crvec u, rvec fxu) const> eval_f |
Definition at line 54 of file ocproblem.hpp.
required_function_t<void(index_t timestep, crvec x, crvec u, rmat J_fxu) const> eval_jac_f |
Definition at line 56 of file ocproblem.hpp.
required_function_t<void(index_t timestep, crvec x, crvec u, crvec p, rvec grad_fxu_p) const> eval_grad_f_prod |
Definition at line 58 of file ocproblem.hpp.
optional_function_t<void(index_t timestep, crvec x, crvec u, rvec h) const> eval_h = nullptr |
Definition at line 60 of file ocproblem.hpp.
Definition at line 62 of file ocproblem.hpp.
Definition at line 64 of file ocproblem.hpp.
required_function_t<real_t(crvec h) const> eval_l_N |
Definition at line 66 of file ocproblem.hpp.
required_function_t<void(index_t timestep, crvec xu, crvec h, rvec qr) const> eval_qr |
Definition at line 68 of file ocproblem.hpp.
Definition at line 70 of file ocproblem.hpp.
required_function_t<void(index_t timestep, crvec xu, crvec h, rmat Q) const> eval_add_Q |
Definition at line 72 of file ocproblem.hpp.
optional_function_t<void(crvec x, crvec h, rmat Q) const> eval_add_Q_N = &default_eval_add_Q_N |
Definition at line 74 of file ocproblem.hpp.
required_function_t<void(index_t timestep, crvec xu, crvec h, crindexvec mask, rmat R, rvec work) const> eval_add_R_masked |
Definition at line 76 of file ocproblem.hpp.
required_function_t<void(index_t timestep, crvec xu, crvec h, crindexvec mask, rmat S, rvec work) const> eval_add_S_masked |
Definition at line 78 of file ocproblem.hpp.
optional_function_t<void(index_t timestep, crvec xu, crvec h, crindexvec mask_J, crindexvec mask_K, crvec v, rvec out, rvec work) const> eval_add_R_prod_masked = &default_eval_add_R_prod_masked |
Definition at line 80 of file ocproblem.hpp.
optional_function_t<void(index_t timestep, crvec xu, crvec h, crindexvec mask_K, crvec v, rvec out, rvec work) const> eval_add_S_prod_masked = &default_eval_add_S_prod_masked |
Definition at line 82 of file ocproblem.hpp.
optional_function_t<length_t() const> get_R_work_size = &default_get_R_work_size |
Definition at line 84 of file ocproblem.hpp.
optional_function_t<length_t() const> get_S_work_size = &default_get_S_work_size |
Definition at line 86 of file ocproblem.hpp.
optional_function_t<void(index_t timestep, crvec x, rvec c) const> eval_constr = nullptr |
Definition at line 88 of file ocproblem.hpp.
optional_function_t<void(crvec x, rvec c) const> eval_constr_N = &default_eval_constr_N |
Definition at line 90 of file ocproblem.hpp.
optional_function_t<void(index_t timestep, crvec x, crvec p, rvec grad_cx_p) const> eval_grad_constr_prod = nullptr |
Definition at line 92 of file ocproblem.hpp.
optional_function_t<void(crvec x, crvec p, rvec grad_cx_p) const> eval_grad_constr_prod_N = &default_eval_grad_constr_prod_N |
Definition at line 94 of file ocproblem.hpp.
optional_function_t<void(index_t timestep, crvec x, crvec M, rmat out) const> eval_add_gn_hess_constr = nullptr |
Definition at line 96 of file ocproblem.hpp.
optional_function_t<void(crvec x, crvec M, rmat out) const> eval_add_gn_hess_constr_N = &default_eval_add_gn_hess_constr_N |
Definition at line 98 of file ocproblem.hpp.
required_function_t<void() const> check |
Definition at line 100 of file ocproblem.hpp.
length_t N |
Definition at line 103 of file ocproblem.hpp.
length_t nu |
Definition at line 103 of file ocproblem.hpp.
length_t nx |
Definition at line 103 of file ocproblem.hpp.
length_t nh |
Definition at line 103 of file ocproblem.hpp.
length_t nh_N |
Definition at line 103 of file ocproblem.hpp.
length_t nc |
Definition at line 103 of file ocproblem.hpp.
length_t nc_N |
Definition at line 103 of file ocproblem.hpp.
|
inherited |
Copy-construct a new instance into storage.
Definition at line 90 of file type-erasure.hpp.
|
inherited |
Move-construct a new instance into storage.
Definition at line 92 of file type-erasure.hpp.
|
inherited |
Destruct the given instance.
Definition at line 94 of file type-erasure.hpp.
The original type of the stored object.
Definition at line 96 of file type-erasure.hpp.