40 void mexFunction(
int nlhs, mxArray *plhs[],
int nrhs,
const mxArray *prhs[] )
56 f <<
dot(v) == (u-0.2*v*
v)/m;
57 f <<
dot(m) == -0.01*u*u;
void acadoPlot(VariablesGrid grid)
USING_NAMESPACE_ACADO typedef TaylorVariable< Interval > T
User-interface to formulate and solve optimal control problems and static NLPs.
#define USING_NAMESPACE_ACADO
Provides a time grid consisting of vector-valued optimization variables at each grid point...
returnValue subjectTo(const DifferentialEquation &differentialEquation_)
returnValue minimizeMayerTerm(const Expression &arg)
Data class for defining optimal control problems.
Expression dot(const Expression &arg)
returnValue getControls(VariablesGrid &p_) const
returnValue clearAllStaticCounters()
USING_NAMESPACE_ACADO void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
virtual returnValue solve()
returnValue getDifferentialStates(VariablesGrid &xd_) const
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.