Hi all,
I did not seem to find any control application within the problem gallery and the group.
I tried to implement a linear-quadratic parabolic optimal control problem for the advection-diffusion equation in 1-1 dimensions.
In optimal control literature this would be an optimize then discretize approach since I solve the state, adjoint and euler pde. It works reasonably well but I would like the gradient norm to be smaller.
Does this implementation make sense?
I post also the code that might be of use for people in control.
Best,
Carlo