IMTEK-Simulation / NuMPI

Utilities for MPI-parallel numerical calculations with Python
MIT License
2 stars 1 forks source link

remove usage of scipy.optimize.linesearch.scalar_search_wolfe2 #11

Closed sannant closed 5 years ago

sannant commented 5 years ago

In older Versions of scipy 0.19.1 scipy.optimize.linesearch.scalar_search_wolfe2. doesn't accept parameter maxiter (internally the default value maxiter = 10 is hardcoded). In version 1.1 it is.

This function is not mentioned in the documentation (https://docs.scipy.org/doc/scipy/reference/optimize.html) and is probably not intended to be used externally. We should avoid using it.