diff --git a/src/build_sequences.jl b/src/build_sequences.jl index d93ecd8cca7dad2ae6aaf4521761b4a12b4f8588..694641b4a94c0ca48253efac163badd9c20dc306 100644 --- a/src/build_sequences.jl +++ b/src/build_sequences.jl @@ -78,7 +78,7 @@ function build_sequence(f::Function, scanner::Union{Nothing, Scanner}, model::Tu prev_cost_func = nothing for cost_func in iterate_cost() if !isnothing(prev_cost_func) - @constraint jump_model prev_cost_func <= (objective_value(jump_model) + 1e-5 * abs(objective_value(jump_model))) + @constraint jump_model prev_cost_func <= objective_value(jump_model) end optimise_with_cost_func(jump_model, cost_func, n_attempts) prev_cost_func = cost_func