Skip to content

Conversation

angus-g
Copy link
Contributor

@angus-g angus-g commented Sep 22, 2025

Description

Install ROL through pyroltrilinos into the ci dependency set, and add to some of the parameterised optimisation tests. Requires dolfin-adjoint/pyadjoint#223.

In the default configurations, TAO's NLS does very well compared to a default Lin-More trust region in ROL. Very likely these tests should use a line search in ROL, I just need to figure out what the parameters are actually called... Even though the tests (seem to) pass, the optimisation doesn't actually converge to the specified tolerance!

"pdf2image",
"pygraphviz",
"pylit",
"pyroltrilinos",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be good to enable pip install firedrake[pyrol] by adding another dependency group. If so we also add a little bit of info here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this resolved?

@angus-g angus-g force-pushed the angus-g/pyrol-test branch 2 times, most recently from 6cd37eb to f1774dc Compare September 29, 2025 11:14
@angus-g angus-g force-pushed the angus-g/pyrol-test branch 2 times, most recently from e2ec8d2 to 11b2cd8 Compare October 7, 2025 22:35
@angus-g angus-g marked this pull request as ready for review October 7, 2025 22:35
@connorjward
Copy link
Contributor

These changes should maybe go into release. That means that we would need to use pyadjoint master branch in the pyproject.toml and make a pyadjoint release before the next Firedrake patch release. I think that's fine.

@angus-g angus-g force-pushed the angus-g/pyrol-test branch from 11b2cd8 to c61add4 Compare October 9, 2025 10:35
@angus-g
Copy link
Contributor Author

angus-g commented Oct 9, 2025

Sure, I'm happy to change the base for this. That'd make life slightly easier for our transition to main for development too.

Requires pyroltrilinos in the ci dependency set
@angus-g angus-g force-pushed the angus-g/pyrol-test branch from c61add4 to b9ba63b Compare October 9, 2025 10:42
@angus-g angus-g changed the base branch from main to release October 9, 2025 10:42
Needed until the ROL changes land in pyadjoint 2025.10.1 (presumably)
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

Successfully merging this pull request may close these issues.

2 participants