Problem passing gradients into Optim

Hi, I streamlined the MWE a little bit and incorporated the tips you gave me in this new post Improving performance of a number of functions for large scale gradient based optimization

1 Like