#include <alpaqa/inner/directions/panoc-ocp/ocp-vars.hpp>
Definition at line 160 of file ocp-vars.hpp.
Public Types | |
using | OCPVars = OCPVariables< config_t > |
using | Problem = TypeErasedControlProblem< config_t > |
using | Box = alpaqa::Box< config_t > |
Public Member Functions | |
OCPEvaluator (const Problem &problem) | |
length_t | N () const |
real_t | forward (rvec storage, const Box &D, const Box &D_N, crvec μ, crvec y) const |
void | forward_simulate (rvec storage) const |
void | forward_simulate (crvec u, rvec x) const |
void | backward (rvec storage, rvec g, const auto &qr, const auto &q_N, const Box &D, const Box &D_N, crvec μ, crvec y) const |
void | Qk (crvec storage, crvec y, crvec μ, const Box &D, const Box &D_N, index_t k, rmat out) const |
auto | Q (crvec storage, crvec y, crvec μ, const Box &D, const Box &D_N) const |
void | Rk (crvec storage, index_t k, crindexvec mask, rmat out) |
auto | R (crvec storage) |
void | Sk (crvec storage, index_t k, crindexvec mask, rmat out) |
auto | S (crvec storage) |
void | Rk_prod (crvec storage, index_t k, crindexvec mask_J, crindexvec mask_K, crvec v, rvec out) const |
auto | R_prod (crvec storage) const |
void | Sk_prod (crvec storage, index_t k, crindexvec mask_K, crvec v, rvec out) const |
auto | S_prod (crvec storage) const |
Public Attributes | |
const Problem * | problem |
OCPVars | vars |
vec | work_x {vars.nc() > 0 || vars.nc_N() ? vars.nx() : 0} |
vec | work_λ {vars.nx()} |
vec | work_c {std::max(vars.nc(), vars.nc_N())} |
vec | work_R {problem->get_R_work_size()} |
vec | work_S {problem->get_S_work_size()} |
using OCPVars = OCPVariables<config_t> |
Definition at line 162 of file ocp-vars.hpp.
using Problem = TypeErasedControlProblem<config_t> |
Definition at line 163 of file ocp-vars.hpp.
using Box = alpaqa::Box<config_t> |
Definition at line 164 of file ocp-vars.hpp.
|
inline |
Definition at line 173 of file ocp-vars.hpp.
|
inline |
Definition at line 175 of file ocp-vars.hpp.
|
inline |
Definition at line 181 of file ocp-vars.hpp.
Definition at line 229 of file ocp-vars.hpp.
Definition at line 253 of file ocp-vars.hpp.
|
inline |
Definition at line 263 of file ocp-vars.hpp.
|
inline |
Definition at line 361 of file ocp-vars.hpp.
|
inline |
Definition at line 371 of file ocp-vars.hpp.
Definition at line 378 of file ocp-vars.hpp.
|
inline |
Definition at line 387 of file ocp-vars.hpp.
Definition at line 394 of file ocp-vars.hpp.
|
inline |
Definition at line 403 of file ocp-vars.hpp.
Definition at line 414 of file ocp-vars.hpp.
|
inline |
Definition at line 424 of file ocp-vars.hpp.
Definition at line 433 of file ocp-vars.hpp.
Definition at line 165 of file ocp-vars.hpp.
OCPVars vars |
Definition at line 166 of file ocp-vars.hpp.
|
mutable |
Definition at line 167 of file ocp-vars.hpp.
|
mutable |
Definition at line 168 of file ocp-vars.hpp.
|
mutable |
Definition at line 169 of file ocp-vars.hpp.
Definition at line 170 of file ocp-vars.hpp.
Definition at line 171 of file ocp-vars.hpp.