template<Config Conf>
struct alpaqa::ControlProblemVTable< Conf >
Definition at line 29 of file ocproblem.hpp.
|
static void | default_get_D_N (const void *self, Box &D, const ControlProblemVTable &vtable) |
|
static void | default_eval_add_Q_N (const void *self, crvec x, crvec h, rmat Q, const ControlProblemVTable &vtable) |
|
static void | default_eval_add_R_prod_masked (const void *, index_t, crvec, crvec, crindexvec, crindexvec, crvec, rvec, rvec, const ControlProblemVTable &) |
|
static void | default_eval_add_S_prod_masked (const void *, index_t, crvec, crvec, crindexvec, crvec, rvec, rvec, const ControlProblemVTable &) |
|
static length_t | default_get_R_work_size (const void *, const ControlProblemVTable &) |
|
static length_t | default_get_S_work_size (const void *, const ControlProblemVTable &) |
|
static void | default_eval_constr_N (const void *self, crvec x, rvec c, const ControlProblemVTable &vtable) |
|
static void | default_eval_grad_constr_prod_N (const void *self, crvec x, crvec p, rvec grad_cx_p, const ControlProblemVTable &vtable) |
|
static void | default_eval_add_gn_hess_constr_N (const void *self, crvec x, crvec M, rmat out, const ControlProblemVTable &vtable) |
|
|
required_const_function_t< void(crvec z, rvec e)> | eval_proj_diff_g |
|
required_const_function_t< void(rvec y, real_t M)> | eval_proj_multipliers |
|
required_const_function_t< void(Box &U)> | get_U |
|
optional_const_function_t< void(Box &D)> | get_D = nullptr |
|
optional_const_function_t< void(Box &D)> | get_D_N = &default_get_D_N |
|
required_const_function_t< void(rvec x_init)> | get_x_init |
|
required_const_function_t< void(index_t timestep, crvec x, crvec u, rvec fxu)> | eval_f |
|
required_const_function_t< void(index_t timestep, crvec x, crvec u, rmat J_fxu)> | eval_jac_f |
|
required_const_function_t< void(index_t timestep, crvec x, crvec u, crvec p, rvec grad_fxu_p)> | eval_grad_f_prod |
|
optional_const_function_t< void(index_t timestep, crvec x, crvec u, rvec h)> | eval_h = nullptr |
|
optional_const_function_t< void(crvec x, rvec h)> | eval_h_N = nullptr |
|
required_const_function_t< real_t(index_t timestep, crvec h)> | eval_l |
|
required_const_function_t< real_t(crvec h)> | eval_l_N |
|
required_const_function_t< void(index_t timestep, crvec xu, crvec h, rvec qr)> | eval_qr |
|
required_const_function_t< void(crvec x, crvec h, rvec q)> | eval_q_N |
|
required_const_function_t< void(index_t timestep, crvec xu, crvec h, rmat Q)> | eval_add_Q |
|
optional_const_function_t< void(crvec x, crvec h, rmat Q)> | eval_add_Q_N = &default_eval_add_Q_N |
|
required_const_function_t< void(index_t timestep, crvec xu, crvec h, crindexvec mask, rmat R, rvec work)> | eval_add_R_masked |
|
required_const_function_t< void(index_t timestep, crvec xu, crvec h, crindexvec mask, rmat S, rvec work)> | eval_add_S_masked |
|
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 |
|
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 |
|
optional_const_function_t< length_t()> | get_R_work_size = &default_get_R_work_size |
|
optional_const_function_t< length_t()> | get_S_work_size = &default_get_S_work_size |
|
optional_const_function_t< void(index_t timestep, crvec x, rvec c)> | eval_constr = nullptr |
|
optional_const_function_t< void(crvec x, rvec c)> | eval_constr_N = &default_eval_constr_N |
|
optional_const_function_t< void(index_t timestep, crvec x, crvec p, rvec grad_cx_p)> | eval_grad_constr_prod = nullptr |
|
optional_const_function_t< void(crvec x, crvec p, rvec grad_cx_p)> | eval_grad_constr_prod_N = &default_eval_grad_constr_prod_N |
|
optional_const_function_t< void(index_t timestep, crvec x, crvec M, rmat out)> | eval_add_gn_hess_constr = nullptr |
|
optional_const_function_t< void(crvec x, crvec M, rmat out)> | eval_add_gn_hess_constr_N = &default_eval_add_gn_hess_constr_N |
|
required_const_function_t< void()> | check |
|
length_t | N |
|
length_t | nu |
|
length_t | nx |
|
length_t | nh |
|
length_t | nh_N |
|
length_t | nc |
|
length_t | nc_N |
|
required_const_function_t< void(void *storage)> | copy = nullptr |
| Copy-construct a new instance into storage.
|
|
required_function_t< void(void *storage)> | move = nullptr |
| Move-construct a new instance into storage.
|
|
required_function_t< void()> | destroy = nullptr |
| Destruct the given instance.
|
|
const std::type_info * | type = &typeid(void) |
| The original type of the stored object.
|
|