# Optimization maxtime in what units?

**URL:** https://discourse.julialang.org/t/optimization-maxtime-in-what-units/118032
**Category:** General Usage
**Tags:** sciml
**Created:** [August 10, 2024, 4:40pm UTC](https://discourse.julialang.org/t/optimization-maxtime-in-what-units/118032 "2024-08-10T16:40:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)
#### Post date: [August 10, 2024, 4:40pm UTC](https://discourse.julialang.org/t/optimization-maxtime-in-what-units/118032/1 "2024-08-10T16:40:19Z")

</div>

I looked in the docs for Optimization.jl [Common Solver Options (Solve Keyword Arguments) · Optimization.jl](https://docs.sciml.ai/Optimization/stable/API/solve/)

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.

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [August 10, 2024, 4:43pm UTC](https://discourse.julialang.org/t/optimization-maxtime-in-what-units/118032/2 "2024-08-10T16:43:18Z")

</div>

Seconds
