Open davidschlegel opened 3 years ago
Currently, Brent's method and GoldenSection only support a maximum number of iteration as a finite stopping criterium. Currently, the signature of both these methods are:
function optimize( f, x_lower::T, x_upper::T, mo::Function; rel_tol::T = sqrt(eps(T)), abs_tol::T = eps(T), iterations::Integer = 1_000, store_trace::Bool = false, show_trace::Bool = false, callback = nothing, show_every = 1, extended_trace::Bool = false) where T <: AbstractFloat
It would be very important to add also a time limit.
That would be consistent with multivariate optimizaiton, yes.
I'd love to have this too
Would you be up to try to implement it? I don't think it should be that hard. You can just mimic it for multivariate.
Currently, Brent's method and GoldenSection only support a maximum number of iteration as a finite stopping criterium. Currently, the signature of both these methods are:
It would be very important to add also a time limit.