-
Notifications
You must be signed in to change notification settings - Fork 1
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
Modifications and improvements to the base functionalities #9
Conversation
…ng solver The structure is equivalent to the input structure and should help in simplifying the definition of costs and constraints over the horizon
In multiple shooting solver, exploit the base name in case the initial condition name is not set
This automatically adds the union of the type with a list of the same type
It is also possible to retrieve the guess back once it has been set
Added method to solve the problem
This is in case some variable/parameter is not present in the cost/constraints
Renamed Stopping to Callback
…ave time in the callback
8e6c919
to
a4e4c71
Compare
I have just pruned the history from some useless commit that remained after rebasing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work! I got a bit lost in the logic of using variables names as I never used this functionality firsthand, but I trust your tests on this. I'm glad to see that the pattern using dataclasses
with custom metadata is eventually working pretty well providing also a good flexibility.
Thank you all, merging and moving to the second 😊 |
This is the first of three PRs to merge the modifications done in the
humanoidPlanning
branchAmong the notable modifications, we have:
OverridableParameter
andOverridableVariable
. This is to allow defining some set of predefined composite variables, leaving to the user the possibility to decide of the components need to be considered variables or parametersMultipleShootingSolver
. In order to do this, theOptimalControlProblem
outputs also a symbolic structure, where the structure matches the user-defined one, but without being expanded over time.Note that some modifications to the dependencies will be needed in the following PRs.