Data structure for the optimal control problem of unconstrained rigid-body systems.
More...
#include <unconstr_ocp_data.hpp>
|
template<int p = 1> |
double | primalFeasibility () const |
| Returns the lp norm of the primal feasibility, i.e., the constraint violation. Default norm is l1-norm. You can also specify l-infty norm by passing Eigen::Infinity as the template parameter. More...
|
|
template<int p = 1> |
double | dualFeasibility () const |
| Returns the lp norm of the dual feasibility. Default norm is l1-norm. You can also specify l-infty norm by passing Eigen::Infinity as the template parameter. More...
|
|
double | KKTError () const |
| Returns the squared norm of the KKT residual, that is, the primal and dual residual. More...
|
|
Data structure for the optimal control problem of unconstrained rigid-body systems.
◆ dualFeasibility()
template<int p = 1>
double robotoc::UnconstrOCPData::dualFeasibility |
( |
| ) |
const |
|
inline |
Returns the lp norm of the dual feasibility. Default norm is l1-norm. You can also specify l-infty norm by passing Eigen::Infinity as the template parameter.
- Template Parameters
-
p | Index of norm. Default is 1 (l1-norm). |
- Returns
- The lp norm of the dual feasibility.
◆ KKTError()
double robotoc::UnconstrOCPData::KKTError |
( |
| ) |
const |
|
inline |
Returns the squared norm of the KKT residual, that is, the primal and dual residual.
- Returns
- The squared norm of the KKT residual.
◆ primalFeasibility()
template<int p = 1>
double robotoc::UnconstrOCPData::primalFeasibility |
( |
| ) |
const |
|
inline |
Returns the lp norm of the primal feasibility, i.e., the constraint violation. Default norm is l1-norm. You can also specify l-infty norm by passing Eigen::Infinity as the template parameter.
- Template Parameters
-
p | Index of norm. Default is 1 (l1-norm). |
- Returns
- The lp norm of the primal feasibility.
◆ constraints_data
◆ cost_data
◆ performance_index
◆ unconstr_dynamics
The documentation for this class was generated from the following file: