Control Problem with Sum of Squares Cost #4597
Unanswered
aarraf
asked this question in
Firedrake support
Replies: 2 comments 4 replies
-
I think this demo has what you need: https://www.firedrakeproject.org/demos/full_waveform_inversion.py.html . In particular, look at how the point sources for the wave equation are implemented. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I want to solve the linear system resulting form an (linear elliptic) PDE constraint optimization problem using the "All-at-once" approach. The optimality system, see [1], reads as follows (y =state, p=adjoint and u=control):
I'm using no control constraints. However, my cost function includes a Sum of Squares Cost over some points, say$X_m$ . This results in an Adjoint PDE with point sources located at $X_m$ as rhs. I know that point sources can be implemented in the dual space. However I'm not sure how to formulate the problem, that it can be solved with a LinearVariationalSolver, more specifically how project the current state y on the points $X_m$ .
My first attempt was to use the interpolation matrix$C$ (see picture) as decried in the discussion: #4045. However, I was wondering if there is a more elegant way (with VertexOnlyMesh) which directly uses UFL Forms to do that.
Thanks in advance.
[1] Tröltzsch, "Optimal control of partial differential equations", 2010
Beta Was this translation helpful? Give feedback.
All reactions