argmin-rs / argmin

Numerical optimization in pure Rust
http://argmin-rs.org
Apache License 2.0
942 stars 74 forks source link

newton and newton cg freeze rather than stopping #497

Open 0xAlcibiades opened 2 months ago

0xAlcibiades commented 2 months ago

I've seen a few times while developing that newton and newton cg will hang indefinitely sometimes in the case of non-convergence, pegging the CPU with no output.

stefan-k commented 2 months ago

Thank you for reporting! Could you provide a minimal example to reproduce the issue, please?