50 f <<
dot(x) == -0.5*x-z+u*u;
51 f << 0 == z+
exp(z)+x-1.0+u;
User-interface to formulate and solve optimal control problems and static NLPs.
#define USING_NAMESPACE_ACADO
returnValue subjectTo(const DifferentialEquation &differentialEquation_)
returnValue minimizeMayerTerm(const Expression &arg)
returnValue set(OptionsName name, int value)
Data class for defining optimal control problems.
Expression dot(const Expression &arg)
IntermediateState exp(const Expression &arg)
virtual returnValue solve()
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.