This function seems excessively difficult for the Wolfram Engine solve symbolically - which is what Wolfram|Alpha seems to be trying to do.
I do not know if Wolfram|Alpha can numerically minimize, but here is an example of using a notebook (which is free for small computations like this):
Solving it numerically is fast: