JuliaNLSolvers / NLsolve.jl

Julia solvers for systems of nonlinear equations and mixed complementarity problems
Other
324 stars 66 forks source link

Setting a time limit #275

Open rconnorjohnstone opened 3 years ago

rconnorjohnstone commented 3 years ago

I can't find any support for any kind of time limit in NLsolve. Does this exist? For instance in JuMP using Ipopt as the solver I can set a maximum cpu time limit for a given problem. I can't use JuMP in my case for a number of reasons though.

As far as I can tell, NLsolve only allows for limiting the number of iterations. This doesn't always work for problems that aren't well behaved, though.

denbigh commented 1 year ago

I just want to nudge this: this would be an extremely useful feature.