Adding 'reset every step' functionality (didn't help much and ~2x compute time)
Adding SDG as an optimizer (didn't help much)
Adding back the old OSI as an option (default is the new one. I named it 'crowd_osi', and the old one 'crowd_spikes') with a parameter for the subtraction factor to mitigate the divergence issue (this is helping the most so far).
Adding 'reset every step' functionality (didn't help much and ~2x compute time) Adding SDG as an optimizer (didn't help much) Adding back the old OSI as an option (default is the new one. I named it 'crowd_osi', and the old one 'crowd_spikes') with a parameter for the subtraction factor to mitigate the divergence issue (this is helping the most so far).