-
Notifications
You must be signed in to change notification settings - Fork 6
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
Made compatible with last bioptim version #3
Conversation
@pariterre Pariterre, you can merge in a branch with a tag refering to the updated version of Bioptim. But before, please go through my PR in Bioptim, because I had to make a necessary changes in custom penalty. |
@pariterre this PR is compatible with https://github.com/pyomeca/bioptim/releases/tag/Release_1.2.0 ! |
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.
- two minor comments
AND - Should we update the MHE example so it fits the new API? @aceglia you may take this opportunity to familiarize yourself with the bioptim MHE API?
self.constraints.add(maximal_tau, phase=i, node=Node.ALL, minimal_tau=self.tau_min, | ||
get_all_nodes_at_once=True) |
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.
Should we black?
@@ -13,7 +13,7 @@ def generate_table(out): | |||
|
|||
# IPOPT | |||
ocp = prepare_ocp(biorbd_model_path=model_path) | |||
opts = {"linear_solver": "ma57"} | |||
opts = {"linear_solver": "ma57", "print_level": 0} |
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.
ma57
and print_level=0
gives highly misleading error message. I fear this will lead to think that the examples are broken (instead of their installation is wrong...)
Should be merged in a branch called something like "bioptim_updated"