Stores and evaluates boundary constraints within optimal control problems. More...
#include <boundary_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 boundary constraints within optimal control problems.
The class BoundaryConstraint allows to manage and evaluate constraints at the boundary of the horizon within optimal control problems.
Definition at line 55 of file boundary_constraint.hpp.
BEGIN_NAMESPACE_ACADO BoundaryConstraint::BoundaryConstraint | ( | ) |
Default constructor.
Definition at line 48 of file boundary_constraint.cpp.
BoundaryConstraint::BoundaryConstraint | ( | const Grid & | grid_ | ) |
Default constructor.
Definition at line 54 of file boundary_constraint.cpp.
BoundaryConstraint::BoundaryConstraint | ( | const BoundaryConstraint & | rhs | ) |
Copy constructor (deep copy).
Definition at line 60 of file boundary_constraint.cpp.
|
virtual |
Destructor.
Definition at line 67 of file boundary_constraint.cpp.
|
inline |
Adds a boundary-constraint component.
returnValue BoundaryConstraint::evaluate | ( | const OCPiterate & | iter | ) |
Evaluates all components in this constraint and stores the
residuum.
Definition at line 86 of file boundary_constraint.cpp.
returnValue BoundaryConstraint::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 138 of file boundary_constraint.cpp.
returnValue BoundaryConstraint::evaluateSensitivities | ( | const DMatrix & | seed, |
BlockMatrix & | hessian | ||
) |
Evaluates the sensitivities and Hessian.
Definition at line 234 of file boundary_constraint.cpp.
|
inline |
returns the number of constraints
BoundaryConstraint & BoundaryConstraint::operator= | ( | const BoundaryConstraint & | rhs | ) |
Assignment operator (deep copy).
Definition at line 72 of file boundary_constraint.cpp.