Thank you for the nice library! These solvers are pretty good but in reality, they are easy to fall into local optimum. I am wondering if it is possible to have a batch version with different initial guess in Pytorch? For instance, the example in your case
# initial point
x0 = torch.tensor([1., 8.])
can be
# initial point
x0 = torch.rand(N,2)
and outputs are with N results, so that we can choose the best one.
Thank you for the nice library! These solvers are pretty good but in reality, they are easy to fall into local optimum. I am wondering if it is possible to have a batch version with different initial guess in Pytorch? For instance, the example in your case
can be
and outputs are with N results, so that we can choose the best one.