Hi,
Thanks for the reply. In this case, I know that this would be a convex function. So, I just have to walk down the slope and the minima that I find would be the right one. So, in this sense the only task is to go down the hill somehow in a fast way.
I was using a simple gradient descent...