Skip to content
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

Framework for QoI optimisation #251

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Framework for QoI optimisation #251

wants to merge 8 commits into from

Conversation

jwallwork23
Copy link
Member

Towards #245.

This PR sets up several classes to support PDE-constrained optimisation in Goalie as an outer loop process (outside the fixed-point iterations, even). The difference between these optimisation methods and those already available in Pyadjoint is that they will support adaptive meshes.

Eventually, we will implement gradient descent, Adam, Newton, BFGS, and L-BFGS, which were already implemented in https://github.com/mesh-adaptation/opt_adapt. In this PR, we just add

  • OptimisationParameters options class to hold tolerances, maxiter, etc.
  • A skeleton base class for QoI optimisation, QoIOptimiser_Base, which will implement the minimisation strategy, as well as line searching (upstreamed from opt_adapt).
  • Skeletons for the subclasses of QoIOptimiser_Base.
  • A factory function QoIOptimiser, which allows the subclasses to be easily constructed.

@jwallwork23 jwallwork23 self-assigned this Dec 10, 2024
@jwallwork23 jwallwork23 added the enhancement New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant