Skip to content
Snippets Groups Projects
Unverified Commit 0ef608ec authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Increase number of attempts to converge

parent bb02082f
No related branches found
No related tags found
1 merge request!8Make optimisation more robust
Pipeline #25487 canceled
......@@ -155,7 +155,7 @@ function optimise_with_cost_func!(jump_model::Model, cost_func, n_attempts)
return min_objective
end
function build_sequence(f::Function, scanner::Union{Nothing, Scanner}=Default_Scanner; optimise=true, n_attempts=10, print_level=0, mu_strategy="adaptive", max_iter=1000, kwargs...)
function build_sequence(f::Function, scanner::Union{Nothing, Scanner}=Default_Scanner; optimise=true, n_attempts=20, print_level=0, mu_strategy="adaptive", max_iter=1000, kwargs...)
if optimise || GLOBAL_MODEL[] == IGNORE_MODEL
full_kwargs = Dict(
:print_level => print_level,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment