From 0ef608ec10ec7d65102876c4fcf5e31a3823c328 Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <MichielCottaar@protonmail.com>
Date: Wed, 11 Sep 2024 16:20:42 +0100
Subject: [PATCH] Increase number of attempts to converge

---
 src/build_sequences.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/build_sequences.jl b/src/build_sequences.jl
index bfcc83e..fa71cb4 100644
--- a/src/build_sequences.jl
+++ b/src/build_sequences.jl
@@ -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,
-- 
GitLab