Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have the following problem : $$ \begin{aligned} \frac{d x(t)}{dt} &= y(t)\\ \frac{d y(t)}{dt} &= -x(t)+y(t)(1-x(t)^2)+u(t) \end{aligned} $$ with the initial condition $(x,y) = (0,0)$. Those equations represent the dynamic of the mass spring movement. I tried to find the optimal control in minimal time to stabilize the system close to (0,0).

The optimal control $u(t)$ I've found is in this case equal to $sign(p_y(t))$. Where $(p_x(t),p_y(t)$ is the function of the adjoint state.

I tried to apply and simulate the shooting algorithm on this problem but I had no idea what steps should I follow.

I will really appreciate any help of any kind on the use of the shooting algorithm.

Thank you in advance guys,

share|cite|improve this question
Did you mean the algorithm to do it? Single shooting, multiple shooting or something else? Regards – Amzoti Jan 28 '13 at 21:47
Thank you Amzoti Just the single shooting algorithm. Regards – Samatix Jan 28 '13 at 21:51
Try these and see if they provide what you need (I may have a book reference at home and will check).… (Slides 55 - end) (see:…) Regards – Amzoti Jan 28 '13 at 21:58
Thank you so much Amzoti :) – Samatix Jan 29 '13 at 16:23
You are quite welcome. Were you able to converge on your problem using those? Regards – Amzoti Jan 29 '13 at 16:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.