#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 | optional_const_function_t = util::BasicVTable::optional_const_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 . | |
template<class F > | |
using | required_const_function_t = typename required_const_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.
using optional_const_function_t = util::BasicVTable::optional_const_function_t<F, ControlProblemVTable> |
Definition at line 40 of file ocproblem.hpp.
|
inherited |
A required function includes a void pointer to self, in addition to the arguments of F
.
Definition at line 78 of file type-erasure.hpp.
|
inherited |
A required function includes a void pointer to self, in addition to the arguments of F
.
For const-qualified member functions.
Definition at line 82 of file type-erasure.hpp.
Definition at line 109 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_const_function_t<void(crvec z, rvec e)> eval_proj_diff_g |
Definition at line 45 of file ocproblem.hpp.
required_const_function_t<void(rvec y, real_t M)> eval_proj_multipliers |
Definition at line 47 of file ocproblem.hpp.
required_const_function_t<void(Box &U)> get_U |
Definition at line 49 of file ocproblem.hpp.
optional_const_function_t<void(Box &D)> get_D = nullptr |
Definition at line 51 of file ocproblem.hpp.
optional_const_function_t<void(Box &D)> get_D_N = &default_get_D_N |
Definition at line 53 of file ocproblem.hpp.
required_const_function_t<void(rvec x_init)> get_x_init |
Definition at line 55 of file ocproblem.hpp.
required_const_function_t<void(index_t timestep, crvec x, crvec u, rvec fxu)> eval_f |
Definition at line 57 of file ocproblem.hpp.
required_const_function_t<void(index_t timestep, crvec x, crvec u, rmat J_fxu)> eval_jac_f |
Definition at line 59 of file ocproblem.hpp.
required_const_function_t<void(index_t timestep, crvec x, crvec u, crvec p, rvec grad_fxu_p)> eval_grad_f_prod |
Definition at line 61 of file ocproblem.hpp.
optional_const_function_t<void(index_t timestep, crvec x, crvec u, rvec h)> eval_h = nullptr |
Definition at line 63 of file ocproblem.hpp.
optional_const_function_t<void(crvec x, rvec h)> eval_h_N = nullptr |
Definition at line 65 of file ocproblem.hpp.
required_const_function_t<real_t(index_t timestep, crvec h)> eval_l |
Definition at line 67 of file ocproblem.hpp.
required_const_function_t<real_t(crvec h)> eval_l_N |
Definition at line 69 of file ocproblem.hpp.
required_const_function_t<void(index_t timestep, crvec xu, crvec h, rvec qr)> eval_qr |
Definition at line 71 of file ocproblem.hpp.
required_const_function_t<void(crvec x, crvec h, rvec q)> eval_q_N |
Definition at line 73 of file ocproblem.hpp.
required_const_function_t<void(index_t timestep, crvec xu, crvec h, rmat Q)> eval_add_Q |
Definition at line 75 of file ocproblem.hpp.
optional_const_function_t<void(crvec x, crvec h, rmat Q)> eval_add_Q_N = &default_eval_add_Q_N |
Definition at line 77 of file ocproblem.hpp.
required_const_function_t<void(index_t timestep, crvec xu, crvec h, crindexvec mask, rmat R, rvec work)> eval_add_R_masked |
Definition at line 79 of file ocproblem.hpp.
required_const_function_t<void(index_t timestep, crvec xu, crvec h, crindexvec mask, rmat S, rvec work)> eval_add_S_masked |
Definition at line 81 of file ocproblem.hpp.
optional_const_function_t<void(index_t timestep, crvec xu, crvec h, crindexvec mask_J, crindexvec mask_K, crvec v, rvec out, rvec work)> eval_add_R_prod_masked = &default_eval_add_R_prod_masked |
Definition at line 83 of file ocproblem.hpp.
optional_const_function_t<void(index_t timestep, crvec xu, crvec h, crindexvec mask_K, crvec v, rvec out, rvec work)> eval_add_S_prod_masked = &default_eval_add_S_prod_masked |
Definition at line 85 of file ocproblem.hpp.
optional_const_function_t<length_t()> get_R_work_size = &default_get_R_work_size |
Definition at line 87 of file ocproblem.hpp.
optional_const_function_t<length_t()> get_S_work_size = &default_get_S_work_size |
Definition at line 89 of file ocproblem.hpp.
optional_const_function_t<void(index_t timestep, crvec x, rvec c)> eval_constr = nullptr |
Definition at line 91 of file ocproblem.hpp.
optional_const_function_t<void(crvec x, rvec c)> eval_constr_N = &default_eval_constr_N |
Definition at line 93 of file ocproblem.hpp.
optional_const_function_t<void(index_t timestep, crvec x, crvec p, rvec grad_cx_p)> eval_grad_constr_prod = nullptr |
Definition at line 95 of file ocproblem.hpp.
optional_const_function_t<void(crvec x, crvec p, rvec grad_cx_p)> eval_grad_constr_prod_N = &default_eval_grad_constr_prod_N |
Definition at line 97 of file ocproblem.hpp.
optional_const_function_t<void(index_t timestep, crvec x, crvec M, rmat out)> eval_add_gn_hess_constr = nullptr |
Definition at line 99 of file ocproblem.hpp.
optional_const_function_t<void(crvec x, crvec M, rmat out)> eval_add_gn_hess_constr_N = &default_eval_add_gn_hess_constr_N |
Definition at line 101 of file ocproblem.hpp.
required_const_function_t<void()> check |
Definition at line 103 of file ocproblem.hpp.
length_t N |
Definition at line 106 of file ocproblem.hpp.
length_t nu |
Definition at line 106 of file ocproblem.hpp.
length_t nx |
Definition at line 106 of file ocproblem.hpp.
length_t nh |
Definition at line 106 of file ocproblem.hpp.
length_t nh_N |
Definition at line 106 of file ocproblem.hpp.
length_t nc |
Definition at line 106 of file ocproblem.hpp.
length_t nc_N |
Definition at line 106 of file ocproblem.hpp.
|
inherited |
Copy-construct a new instance into storage.
Definition at line 95 of file type-erasure.hpp.
|
inherited |
Move-construct a new instance into storage.
Definition at line 97 of file type-erasure.hpp.
|
inherited |
Destruct the given instance.
Definition at line 99 of file type-erasure.hpp.
The original type of the stored object.
Definition at line 101 of file type-erasure.hpp.