rfeinman / pytorch-minimize

Newton and Quasi-Newton optimization with PyTorch
https://pytorch-minimize.readthedocs.io
MIT License
308 stars 34 forks source link

Enable import of _status_message for scipy >= 1.8.0 #10

Closed calvinmccarter closed 2 years ago

calvinmccarter commented 2 years ago

This PR makes torchmin compatible with scipy > 1.7.1, in which scipy.optimize.optimize has become scipy.optimize._optimize.

rfeinman commented 2 years ago

Thanks for the suggestion! Can you remove the non-relevant line changes? There are a couple of files which have a newline removed from the last line

calvinmccarter commented 2 years ago

@rfeinman - done!

rfeinman commented 2 years ago

Thanks @calvinmccarter! I hadn't updated to the latest scipy (1.8) and so missed this