35 #ifndef ACADO_TOOLKIT_ALGEBRAIC_CONSISTENCY_CONSTRAINT_HPP 36 #define ACADO_TOOLKIT_ALGEBRAIC_CONSISTENCY_CONSTRAINT_HPP 134 inline int getNC()
const;
137 inline int getDim(
const int& idx_ );
172 #include <acado/constraint/algebraic_consistency_constraint.ipp> 175 #endif // ACADO_TOOLKIT_ALGEBRAIC_CONSISTENCY_CONSTRAINT_HPP virtual returnValue initializeEvaluationPoints(const OCPiterate &iter)
int * numberOfDifferentialStates
Data class for storing generic optimization variables.
Implements a very rudimentary block sparse matrix class.
returnValue evaluate(const OCPiterate &iter)
returnValue computeForwardSensitivityBlock(int offset1, int offset2, int offset3, int stageIdx, DMatrix *seed)
Allows to pass back messages to the calling function.
AlgebraicConsistencyConstraint & operator=(const AlgebraicConsistencyConstraint &rhs)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Allows to conveniently handle (one-dimensional) grids consisting of time points.
#define CLOSE_NAMESPACE_ACADO
int * numberOfAlgebraicStates
Deals with algebraic consistency constraints within optimal control problems.
Base class for all kind of constraints (except for bounds) within optimal control problems...
virtual ~AlgebraicConsistencyConstraint()
void rhs(const real_t *x, real_t *f)
AlgebraicConsistencyConstraint()
#define BEGIN_NAMESPACE_ACADO
int getDim(const int &idx_)
returnValue evaluateSensitivities()
returnValue add(const uint &endOfStage_, const DifferentialEquation &dae)
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.