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
TR description in optimization tutorial #2181
base: main
Are you sure you want to change the base?
Conversation
Mirroring external branch in external_pr_2181 |
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.
Hi Peter,
thanks for including the TR methods in the tutorial. I think the section is well written and the wording was already quite good. I added some comments that you could commit if you want.
These are mostly just suggestions.
Two major comments:
- The methods
opt_along_path
andopt_along_path_adaptively
were basically in the tutorial since we did not have the TR method, yet. The TR method can be seen as the certified replacement of the other methods. I think it is a little bit dangerous to sell these two methods before the TR method as they were simply invented for presentational reasons and are rather hacked inside the tutorial, not using any pyMOR algorithm. Thus, I would suggest removing these two methods entirely and only concentrating on the TR method. - I know that it is a little bit more work, but I think it would be really great if we could get rid of the 'scipy.optimize.minimize' method entirely.
I do not remember but do we use the same problem as in the TR demo for the tutorial?
Thank you.
ac659b1
to
5605038
Compare
5605038
to
0c2d251
Compare
Thanks for the extensive review @TiKeil ! For now I have implemented the first part of your recommendations, I'll try and get around to the second part tomorrow. As far as I can tell, the optimization tutorial uses the problem from the |
We now have |
Is there something to decide upon or is it "just" working on finalizing the PR ? |
I think it's just finalizing the tutorial. |
@TiKeil, hard freeze for the next release is in one week. Do you think you find time to take a look at this until then? |
I'm afraid I will not be able to work on this before the freeze. |
Ok, I'll remove the release milestone for now. Release is planned for December 7. As this is only documentation related, it might still get in after hard freeze .. |
@TiKeil, did you have a chance to look at this PR? Soft freeze for the next release would be May 31 .. |
This PR proposes an addition to the optimization tutorial in order to describe the usage of the trust-region algorithm and parts of the underlying theory.
I'd be glad to get some feedback on the clarity of the wording, especially the distinction of the inner/outer loop mechanic because this is essential for the algorithm.