Definition at line 7 of file riskaverse-mpc.cpp.
Public Types | |
using | Diag = Eigen::DiagonalMatrix< real_t, Eigen::Dynamic, Eigen::Dynamic > |
Public Member Functions | |
template<class VecX > | |
auto | u (VecX &&x) const |
template<class VecX > | |
auto | s (VecX &&x) const |
template<class VecX > | |
auto | y (VecX &&x) const |
Box | get_C () const |
Box | get_D () const |
RiskaverseProblem () | |
auto | mpc_dynamics (crvec x, crvec u) const |
real_t | f (crvec ux) const |
void | grad_f (crvec ux, rvec grad_f) const |
void | g (crvec ux, rvec g_u) const |
void | grad_g (crvec ux, crvec v, rvec grad_u_v) const |
Public Attributes | |
unsigned | nu = 2 |
unsigned | nx = 4 |
unsigned | ns = 2 |
unsigned | ny = 3 |
unsigned | n = nu + ns + ny |
unsigned | m = 3 |
real_t | Ts = 0.05 |
mat | A |
mat | B |
mat | Q |
mat | R |
vec | x0 |
Definition at line 55 of file riskaverse-mpc.cpp.
|
inline |
Definition at line 57 of file riskaverse-mpc.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 48 of file riskaverse-mpc.cpp.
Definition at line 74 of file riskaverse-mpc.cpp.
Definition at line 79 of file riskaverse-mpc.cpp.
Definition at line 84 of file riskaverse-mpc.cpp.
unsigned nu = 2 |
Definition at line 8 of file riskaverse-mpc.cpp.
unsigned nx = 4 |
Definition at line 9 of file riskaverse-mpc.cpp.
unsigned ns = 2 |
Definition at line 10 of file riskaverse-mpc.cpp.
unsigned ny = 3 |
Definition at line 11 of file riskaverse-mpc.cpp.
Definition at line 12 of file riskaverse-mpc.cpp.
unsigned m = 3 |
Definition at line 13 of file riskaverse-mpc.cpp.
real_t Ts = 0.05 |
Definition at line 14 of file riskaverse-mpc.cpp.
mat A |
Definition at line 16 of file riskaverse-mpc.cpp.
mat B |
Definition at line 17 of file riskaverse-mpc.cpp.
mat Q |
Definition at line 19 of file riskaverse-mpc.cpp.
mat R |
Definition at line 20 of file riskaverse-mpc.cpp.
vec x0 |
Definition at line 22 of file riskaverse-mpc.cpp.