Optimization maxtime in what units?

I looked in the docs for Optimization.jl Common Solver Options (Solve Keyword Arguments) · Optimization.jl

and it says " maxtime (the maximum of time the optimization runs for)"

but it doesn’t mention the units. I’ve been assuming seconds. Can we get this clarified in the docs? Is there somewhere this is clarified already?

Also it would be great to know which optimizers actually respect maxtime.

Happy to open a bug report on the docs or whatever, just wanted to know if I was missing something before doing it.

Seconds

1 Like