User Portlet User Portlet

Discussions
This worked great, thank you so much! Another thing I tried was compiling the interpolated random walks which are coefficients in the differential equations. It seems to make things faster, but in trials with the exact same seed I end up with less...
Ah that's my bad, the x_i's in the EuclideanDistance[] should probably be labeled v_i, as they're vectors, and I'm taking the derivative with respect to their x components.
Thank you so much! I figured there was something wrong about the order in which it replaced x[t] vs other variables but I had no idea how to fix it. I really appreciate it!
Thank you so much Roland! You're absolutely right, that ended up being the problem. I found a note about it at the bottom of mathematica's documentation for NMaximize (I feel like an idiot for not finding it earlier), and there they offer a solution,...
Ok, I've updated the post with the relevant variable initializations as csv's. I wasn't sure how else to show them on the post. This is the output from wrapping in region plot: ![enter image description here][1] [1]:...