|
|
|
@ -745,6 +745,17 @@ function collect_gmi_FisSal2011(
|
|
|
|
|
|
|
|
|
|
@info "Best gap closure: $(gapcl_best)"
|
|
|
|
|
|
|
|
|
|
@timeit "Keep only active cuts" begin
|
|
|
|
|
positive_idx = findall(multipliers_best .> 1e-6)
|
|
|
|
|
@info "Keeping $(length(positive_idx)) active cuts"
|
|
|
|
|
pool.lhs = pool.lhs[:, positive_idx]
|
|
|
|
|
pool.lb = pool.lb[positive_idx]
|
|
|
|
|
pool.ub = pool.ub[positive_idx]
|
|
|
|
|
pool.hash = pool.hash[positive_idx]
|
|
|
|
|
multipliers_best = multipliers_best[positive_idx]
|
|
|
|
|
multipliers_curr = multipliers_curr[positive_idx]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
to = TimerOutputs.get_defaulttimer()
|
|
|
|
|
stats_time = TimerOutputs.tottime(to) / 1e9
|
|
|
|
|
print_timer()
|
|
|
|
|