Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Betts 10 50 #272

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Betts 10 50 #272

wants to merge 6 commits into from

Conversation

Peter230655
Copy link
Contributor

@Peter230655 Peter230655 commented Nov 28, 2024

This may be a candidate for examples-gallery for these reasons:

  • Let $t_0, t_f$ be the starting and the final times of the simulation. There are instance constraints $x_i(t_0) = x_j(t_f)$ which to my knowledge opty cannot handle at the moment. So I iterate over the problem and reset the instance constraints at each iteration. At least in this example (and another one I did) this converged to fulfill these instance constraints.
  • there are inequalities in the equations of motion. So, I define additional state variables to handle this. This is not new in the sense that I did this in PR # 269

The minimum given in Betts' book is missed by over 12%. So, I guess this "iteration - solution" is only a 'crutch' until opty can handle this type of situation.

@Peter230655
Copy link
Contributor Author

Peter230655 commented Dec 10, 2024

Instance constrains like $x_2(t_f) - x_1(t_0)$ are possible with opty, so I changed the simulation accordingly.
I do not believe there is such an example it examples-gallery, yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant