-
Notifications
You must be signed in to change notification settings - Fork 46
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
[RTM] Restoring bounds on graphs #724
Conversation
Great ! Are there any means to test more stuff around, so we don't break it anymore? At least that nlp.plot[f"{key}_states"].bounds = ... is well filled by the end of prepare ocp |
I'll do it then this is a 10 line test. |
I think if you only test this specific thing, we will have a false security feeling. We should instead always run an example with graphs when we merge a PR. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #724 +/- ##
==========================================
+ Coverage 81.44% 81.46% +0.01%
==========================================
Files 129 129
Lines 15466 15466
==========================================
+ Hits 12597 12599 +2
+ Misses 2869 2867 -2
☔ View full report in Codecov by Sentry. |
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.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @EveCharbie)
bioptim/examples/getting_started/pendulum.py
line 132 at r1 (raw file):
# --- Solve the ocp --- # sol = ocp.solve(Solver.IPOPT(show_online_optim=platform.system() == "Linux")) # sol.graphs(show_bounds=True)
Isn't this by default?
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.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @EveCharbie)
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.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @EveCharbie)
All Submissions:
New Feature Submissions:
black . -l120 --exclude "external/*"
)?Changes to Core Features:
This change is