Hello,
In NeuralPDE you normally define the PDE (lhs-rhs=0) symbolically and the loss function is built internally, loosely \int dvars ||lhs(vars) - rhs(vars)||^2 .
Is there a way to specify the objective function symbolically directly? Let’s say you are crazy enough and just want to optimize \int dvars \, [cos(lhs(vars)) + sin(rhs (vars)) ] . What would be the easiest way to do that?
Cheers!