Expose NonConvergence exception in scipy.optimize

Feb. 18, 2024
9:40 a.m.
Hi all, In [1] it was pointed out that the NonConvergence exception is only available through scipy.optimize.nonlin which is deprecated. This is annoying if you want to catch this exception. I have opened [2] to expose NonConvergence in the main scipy.optimize namespace so that this exception is accessible without deprecation warning and in the future when optimize.nonlin is removed. Please feel free to raise any thoughts/objections here or on the pr. Thanks, Jake [1] https://github.com/scipy/scipy/issues/20100 [2] https://github.com/scipy/scipy/pull/20103
388
Age (days ago)
388
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jake Bowhay