Commit 7bddf90b authored by Rémi's avatar Rémi
Browse files

Typo

parent 3e970623
......@@ -161,12 +161,11 @@ function mcm_ilp_odd_increment!(model::Model,
@constraint(model, sum(1-model[:ToLinkZeros][m] for m in 1:length(model[:ToLinkZeros]))-1+NA <= nb_total_adders_ub)
end
set_silent(model)
timelimit = time_limit_sec(model)
set_time_limit_sec(model, timelimit)
optimize!(model)
solved_once = true
current_solve_time = solve_time(model)
total_solve_time += current_solve_time
unset_silent(model)
timelimit -= current_solve_time
verbose && println("$(termination_status(model)) for NA=$(NA)")
......@@ -178,6 +177,7 @@ function mcm_ilp_odd_increment!(model::Model,
verbose && println("\tSolving time: $(total_solve_time)")
end
model[:scaling] = scaling
unset_silent(model)
return model
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment