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

Possible wider applications of opty #265

Open
Peter230655 opened this issue Nov 14, 2024 · 0 comments
Open

Possible wider applications of opty #265

Peter230655 opened this issue Nov 14, 2024 · 0 comments

Comments

@Peter230655
Copy link
Contributor

Peter230655 commented Nov 14, 2024

I have tried maybe 20 examples out of John T. Betts' book Practical Method for Optimal Control Using Nonlinear Programming, 3rd edition. Some are on pst-notebooks, some I pushed to examples-gallery, some I simply did not mange to get to converge.
The two major 'hindrances' to do more examples seem to be:

  • opty cannot accept inequalities in the DAEs. In some cases this may be circumvented by adding state variables, see e.g. PR Betts 10 1 #269
  • opty cannot accept (I believe) instance constraints or bounds which depend on the values of other state or control variables at some point in time (see also 'idea' # 264. In some cases this may be circumvented by adding state variables, see e.g. PR Examples 10.73 and 10.74 from Betts' book #271 Update as of 10-12-24: opty CAN accept instance constraints such as $x_2(t_0) = x_1(t_f)$. I have not checked this for bounds.
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

No branches or pull requests

1 participant