Provides additional tools for analysing QP solutions. More...
#include <SolutionAnalysis.hpp>
Provides additional tools for analysing QP solutions.
This class is intended to provide additional tools for analysing a QP solution obtained with qpOASES.
Definition at line 48 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
Default constructor.
Definition at line 38 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/SRC/EXTRAS/SolutionAnalysis.cpp.
SolutionAnalysis::SolutionAnalysis | ( | const SolutionAnalysis & | rhs | ) |
Copy constructor (deep copy).
rhs | Rhs object. |
Definition at line 46 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/SRC/EXTRAS/SolutionAnalysis.cpp.
Destructor.
Definition at line 54 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/SRC/EXTRAS/SolutionAnalysis.cpp.
Default constructor.
SolutionAnalysis::SolutionAnalysis | ( | const SolutionAnalysis & | rhs | ) |
Copy constructor (deep copy).
rhs | Rhs object. |
Destructor.
Default constructor.
SolutionAnalysis::SolutionAnalysis | ( | const SolutionAnalysis & | rhs | ) |
Copy constructor (deep copy).
rhs | Rhs object. |
Destructor.
returnValue SolutionAnalysis::getHessianInverse | ( | QProblem * | qp, |
real_t * | hessianInverse | ||
) |
A routine for computation of inverse of the Hessian matrix.
hessianInverse | QP Inverse of the Hessian matrix |
Definition at line 75 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/SRC/EXTRAS/SolutionAnalysis.cpp.
returnValue SolutionAnalysis::getHessianInverse | ( | QProblem * | qp, |
real_t * | hessianInverse | ||
) |
A routine for computation of inverse of the Hessian matrix.
hessianInverse | QP Inverse of the Hessian matrix |
returnValue SolutionAnalysis::getHessianInverse | ( | QProblemB * | qp, |
real_t * | hessianInverse | ||
) |
A routine for computation of inverse of the Hessian matrix.
hessianInverse | QP Inverse of the Hessian matrix |
Definition at line 176 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/SRC/EXTRAS/SolutionAnalysis.cpp.
returnValue SolutionAnalysis::getHessianInverse | ( | QProblemB * | qp, |
real_t * | hessianInverse | ||
) |
A routine for computation of inverse of the Hessian matrix.
hessianInverse | QP Inverse of the Hessian matrix |
returnValue SolutionAnalysis::getMaxKKTviolation | ( | QProblemB * | qp, |
real_t & | maxKKTviolation | ||
) | const |
Determines the maximum violation of the KKT optimality conditions of the current iterate within the QProblemB object.
qp | QProblemB to be analysed. |
maxKKTviolation | OUTPUT: maximum violation of the KKT conditions. |
Definition at line 93 of file external_packages/qpOASES-3.0beta/src/extras/SolutionAnalysis.cpp.
returnValue SolutionAnalysis::getMaxKKTviolation | ( | QProblem * | qp, |
real_t & | maxKKTviolation | ||
) | const |
Determines the maximum violation of the KKT optimality conditions of the current iterate within the QProblem object.
qp | QProblem to be analysed. |
maxKKTviolation | OUTPUT: maximum violation of the KKT conditions. |
Definition at line 175 of file external_packages/qpOASES-3.0beta/src/extras/SolutionAnalysis.cpp.
returnValue SolutionAnalysis::getMaxKKTviolation | ( | SQProblem * | qp, |
real_t & | maxKKTviolation | ||
) | const |
Determines the maximum violation of the KKT optimality conditions of the current iterate within the SQProblem object.
qp | SQProblem to be analysed. |
maxKKTviolation | OUTPUT: maximum violation of the KKT conditions. |
Definition at line 302 of file external_packages/qpOASES-3.0beta/src/extras/SolutionAnalysis.cpp.
returnValue SolutionAnalysis::getVarianceCovariance | ( | QProblemB * | qp, |
real_t * | g_b_bA_VAR, | ||
real_t * | Primal_Dual_VAR | ||
) | const |
Computes the variance-covariance matrix of the QP output for uncertain
inputs.
qp | QProblemB to be analysed. |
g_b_bA_VAR | INPUT : Variance-covariance of g, the bounds lb and ub, and lbA and ubA respectively. Dimension: 2nV x 2nV |
Primal_Dual_VAR | OUTPUT: The result for the variance-covariance of the primal and dual variables. Dimension: 2nV x 2nV |
Definition at line 312 of file external_packages/qpOASES-3.0beta/src/extras/SolutionAnalysis.cpp.
returnValue SolutionAnalysis::getVarianceCovariance | ( | QProblem * | qp, |
real_t * | g_b_bA_VAR, | ||
real_t * | Primal_Dual_VAR | ||
) | const |
Computes the variance-covariance matrix of the QP output for uncertain
inputs.
qp | QProblem to be analysed. |
g_b_bA_VAR | INPUT : Variance-covariance of g, the bounds lb and ub, and lbA and ubA respectively. Dimension: (2nV+nC) x (2nV+nC) |
Primal_Dual_VAR | OUTPUT: The result for the variance-covariance of the primal and dual variables. Dimension: (2nV+nC) x (2nV+nC) |
Definition at line 321 of file external_packages/qpOASES-3.0beta/src/extras/SolutionAnalysis.cpp.
returnValue SolutionAnalysis::getVarianceCovariance | ( | SQProblem * | qp, |
real_t * | g_b_bA_VAR, | ||
real_t * | Primal_Dual_VAR | ||
) | const |
Computes the variance-covariance matrix of the QP output for uncertain
inputs.
qp | SQProblem to be analysed. |
g_b_bA_VAR | INPUT : Variance-covariance of g, the bounds lb and ub, and lbA and ubA respectively. Dimension: (2nV+nC) x (2nV+nC) |
Primal_Dual_VAR | OUTPUT: The result for the variance-covariance of the primal and dual variables. Dimension: (2nV+nC) x (2nV+nC) |
Definition at line 555 of file external_packages/qpOASES-3.0beta/src/extras/SolutionAnalysis.cpp.
SolutionAnalysis& SolutionAnalysis::operator= | ( | const SolutionAnalysis & | rhs | ) |
Copy asingment operator (deep copy).
rhs | Rhs object. |
SolutionAnalysis & SolutionAnalysis::operator= | ( | const SolutionAnalysis & | rhs | ) |
Copy asingment operator (deep copy).
rhs | Rhs object. |
Definition at line 62 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/SRC/EXTRAS/SolutionAnalysis.cpp.
SolutionAnalysis& SolutionAnalysis::operator= | ( | const SolutionAnalysis & | rhs | ) |
Copy asingment operator (deep copy).
rhs | Rhs object. |
int SolutionAnalysis::AC_idx [private] |
Index array for fixed variables
Definition at line 99 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_g_cov [private] |
Definition at line 87 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_lb_cov [private] |
A covariance-vector of g
Definition at line 88 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_lbA_cov [private] |
A covariance-vector of ub
Definition at line 90 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_ub_cov [private] |
A covariance-vector of lb
Definition at line 89 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_ubA_cov [private] |
A covariance-vector of lbA
Definition at line 91 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_xFR [private] |
Index array for active constraints
Definition at line 101 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_xFX [private] |
QP reaction, primal, w.r.t. free
Definition at line 102 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_yAC [private] |
QP reaction, primal, w.r.t. fixed
Definition at line 103 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
real_t SolutionAnalysis::delta_yFX [private] |
QP reaction, dual, w.r.t. active
Definition at line 104 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
int SolutionAnalysis::FR_idx [private] |
A covariance-vector of ubA
Definition at line 97 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.
int SolutionAnalysis::FX_idx [private] |
Index array for free variables
Definition at line 98 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/EXTRAS/SolutionAnalysis.hpp.