I have some functional, such as S[f] = \int_\Omega f^2(x) dx
. If you're familiar with physics, it's the action. This object takes in a function defined on a certain domain \Omega
and gives you a number. The math jargon for this is functional.
Now I need to minimize this thing with respect to f
. I know SciPy
has an optimize package that allows one to minimize multivariable functions, but I am curious if there is a better way considering if I used this I would be minimizing over ~10,000 variables (because the functions are essentially just lists of 10,000 numbers).
Do I have any other options?