Data Science, Python, Programming, Biophysics, Optimization.
might be due to a poor choice of initial parameters. Ultimately, the algorithm is able to find a reasonable approximation for the data. Below, I set the algorithm to run for 2,000 iterations with a tolerance of the residuals 2-norm being less than 1e-6. A solution is found after approximately 1,600