template<Config Conf>
struct alpaqa::ControlProblemVTable< Conf >
Definition at line 36 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_function_t< void(crvec z, rvec e) const > | eval_projecting_difference_constraints |
required_function_t< void(rvec y, real_t M) const > | eval_projection_multipliers |
required_function_t< void(Box &U) const > | get_U |
optional_function_t< void(Box &D) const > | get_D = nullptr |
optional_function_t< void(Box &D) const > | get_D_N = &default_get_D_N |
required_function_t< void(rvec x_init) const > | get_x_init |
required_function_t< void(index_t timestep, crvec x, crvec u, rvec fxu) const > | eval_f |
required_function_t< void(index_t timestep, crvec x, crvec u, rmat J_fxu) const > | eval_jac_f |
required_function_t< void(index_t timestep, crvec x, crvec u, crvec p, rvec grad_fxu_p) const > | eval_grad_f_prod |
optional_function_t< void(index_t timestep, crvec x, crvec u, rvec h) const > | eval_h = nullptr |
optional_function_t< void(crvec x, rvec h) const > | eval_h_N = nullptr |
required_function_t< real_t(index_t timestep, crvec h) const > | eval_l |
required_function_t< real_t(crvec h) const > | eval_l_N |
required_function_t< void(index_t timestep, crvec xu, crvec h, rvec qr) const > | eval_qr |
required_function_t< void(crvec x, crvec h, rvec q) const > | eval_q_N |
required_function_t< void(index_t timestep, crvec xu, crvec h, rmat Q) const > | eval_add_Q |
optional_function_t< void(crvec x, crvec h, rmat Q) const > | eval_add_Q_N = &default_eval_add_Q_N |
required_function_t< void(index_t timestep, crvec xu, crvec h, crindexvec mask, rmat R, rvec work) const > | eval_add_R_masked |
required_function_t< void(index_t timestep, crvec xu, crvec h, crindexvec mask, rmat S, rvec work) const > | eval_add_S_masked |
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 |
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 |
optional_function_t< length_t() const > | get_R_work_size = &default_get_R_work_size |
optional_function_t< length_t() const > | get_S_work_size = &default_get_S_work_size |
optional_function_t< void(index_t timestep, crvec x, rvec c) const > | eval_constr = nullptr |
optional_function_t< void(crvec x, rvec c) const > | eval_constr_N = &default_eval_constr_N |
optional_function_t< void(index_t timestep, crvec x, crvec p, rvec grad_cx_p) const > | eval_grad_constr_prod = nullptr |
optional_function_t< void(crvec x, crvec p, rvec grad_cx_p) const > | eval_grad_constr_prod_N = &default_eval_grad_constr_prod_N |
optional_function_t< void(index_t timestep, crvec x, crvec M, rmat out) const > | eval_add_gn_hess_constr = nullptr |
optional_function_t< void(crvec x, crvec M, rmat out) const > | eval_add_gn_hess_constr_N = &default_eval_add_gn_hess_constr_N |
required_function_t< void() const > | check |
length_t | N |
length_t | nu |
length_t | nx |
length_t | nh |
length_t | nh_N |
length_t | nc |
length_t | nc_N |