I'm trying to understand the difference between these two methods.
Both seem to be able to be used to find optimal parameters for an non-linear function using constraints and using least squares.
However, they are evidently not the same because curve_fit
results do not correspond to a third solver whereas least_squares
does.
Can someone explain the difference?