60 f <<
dot(x1) == (1.0-x2*x2)*x1 - x2 + p*u;
66 OCP ocp( t_start, T, 27 );
102 algorithm.
getControls(
"van_der_pol_controls2.txt");
USING_NAMESPACE_ACADO typedef TaylorVariable< Interval > T
returnValue minimizeLagrangeTerm(const Expression &arg)
returnValue initializeControls(const char *fileName)
User-interface to formulate and solve optimal control problems and static NLPs.
#define USING_NAMESPACE_ACADO
returnValue subjectTo(const DifferentialEquation &differentialEquation_)
Data class for defining optimal control problems.
Expression dot(const Expression &arg)
returnValue getControls(VariablesGrid &p_) const
Provides an interface to Gnuplot for plotting algorithmic outputs.
virtual returnValue solve()
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.