what I need is to constraint my optimization control problem such that
the value at the end of the - the value the beginning is zero
lets say we have a differential state x
i want to express this
ocp.subjectTo (x(T) - x(0) =0)
how can I implement this in acado. I looked over the subjectTo method there is one thing I didn't understand and kind of hoping its what I need
* ocp.subjectTo( 0.0, r , -r , 0.0 );
Adds a constraint of the form lb_ <= arg1(0) + arg_2(T) <= ub with
constant lower and upper bounds.
Hi,
total nube question
what I need is to constraint my optimization control problem such that
the value at the end of the - the value the beginning is zero
lets say we have a differential state x
i want to express this
ocp.subjectTo (x(T) - x(0) =0)
how can I implement this in acado. I looked over the subjectTo method there is one thing I didn't understand and kind of hoping its what I need
* ocp.subjectTo( 0.0, r , -r , 0.0 );
Adds a constraint of the form lb_ <= arg1(0) + arg_2(T) <= ub with
constant lower and upper bounds.