Stores and evaluates coupled path constraints within optimal control problems. More...
#include <coupled_path_constraint.hpp>
Additional Inherited Members | |
Protected Member Functions inherited from ConstraintElement | |
virtual returnValue | initializeEvaluationPoints (const OCPiterate &iter) |
Protected Attributes inherited from ConstraintElement | |
BlockMatrix * | bSeed |
BlockMatrix * | bSeed2 |
CondensingType | condType |
BlockMatrix | dBackward |
BlockMatrix | dForward |
Function * | fcn |
Grid | grid |
EvaluationPoint * | JJ |
double ** | lb |
int | na |
int | nB |
int | nFcn |
int | np |
int | nu |
int | nw |
int | nx |
int | ny |
BlockMatrix * | pSeed |
BlockMatrix * | pSeed2 |
BlockMatrix | residuumL |
BlockMatrix | residuumU |
int * | t_index |
double ** | ub |
BlockMatrix * | uSeed |
BlockMatrix * | uSeed2 |
BlockMatrix * | wSeed |
BlockMatrix * | wSeed2 |
BlockMatrix * | xaSeed |
BlockMatrix * | xaSeed2 |
BlockMatrix * | xSeed |
BlockMatrix * | xSeed2 |
int ** | y_index |
EvaluationPoint * | z |
Stores and evaluates coupled path constraints within optimal control problems.
The class CoupledPathConstraint allows to manage and evaluate constraints along the whole horizon within optimal control problems that are coupled across control intervals. If the contraints are decoupled, the class PathConstraint should be used.
Definition at line 57 of file coupled_path_constraint.hpp.
BEGIN_NAMESPACE_ACADO CoupledPathConstraint::CoupledPathConstraint | ( | ) |
Default constructor.
Definition at line 48 of file coupled_path_constraint.cpp.
CoupledPathConstraint::CoupledPathConstraint | ( | const Grid & | grid_ | ) |
Default constructor.
Definition at line 53 of file coupled_path_constraint.cpp.
CoupledPathConstraint::CoupledPathConstraint | ( | const CoupledPathConstraint & | rhs | ) |
Copy constructor (deep copy).
Definition at line 58 of file coupled_path_constraint.cpp.
|
virtual |
Destructor.
Definition at line 63 of file coupled_path_constraint.cpp.
|
inline |
Adds a coupled-path-constraint component.
returnValue CoupledPathConstraint::evaluate | ( | const OCPiterate & | iter | ) |
Evaluates all components in this constraint and stores the
residuum.
Definition at line 78 of file coupled_path_constraint.cpp.
returnValue CoupledPathConstraint::evaluateSensitivities | ( | ) |
Evaluates the sensitivities of all components in this
constraint. Note that the seed can be defined via the base
class ConstraintElement.
Definition at line 122 of file coupled_path_constraint.cpp.
returnValue CoupledPathConstraint::evaluateSensitivities | ( | const DMatrix & | seed, |
BlockMatrix & | hessian | ||
) |
Evaluates the sensitivities and Hessian.
Definition at line 231 of file coupled_path_constraint.cpp.
|
inline |
returns the number of constraints
CoupledPathConstraint & CoupledPathConstraint::operator= | ( | const CoupledPathConstraint & | rhs | ) |
Assignment operator (deep copy).
Definition at line 67 of file coupled_path_constraint.cpp.