PerformanceEstimation / PEPit

PEPit is a package enabling computer-assisted worst-case analyses of first-order optimization methods.
https://pepit.readthedocs.io/en/latest/
MIT License
76 stars 10 forks source link

Raise explicit warning when no guarantee is found #43

Closed bgoujaud closed 2 years ago

bgoujaud commented 2 years ago

Previously, when no solution, G was full of NANs and PEPit raised an annoying error when computing its eigenvalues. Here, we stop the computation as soon as G is not a number anymore and return a more explicit Exception message.