Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ function __map_optimizer_args(prob::OptimizationCache, opt::CMAEvolutionStrategy
maxiters::Union{Number, Nothing} = nothing,
maxtime::Union{Number, Nothing} = nothing,
abstol::Union{Number, Nothing} = nothing,
reltol::Union{Number, Nothing} = nothing)
reltol::Union{Number, Nothing} = nothing,
verbose::Bool = false)
if !isnothing(reltol)
@warn "common reltol is currently not used by $(opt)"
end

mapped_args = (; lower = prob.lb,
upper = prob.ub,
logger = CMAEvolutionStrategy.BasicLogger(prob.u0;
verbosity = 0,
verbosity = verbose ? 1 : 0,
callback = callback))

if !isnothing(maxiters)
Expand Down
Loading