mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-07 00:48:50 -06:00
FisSal2011: Improve estimated tableau density
This commit is contained in:
@@ -327,6 +327,7 @@ function collect_gmi_FisSal2011(
|
||||
pool_cut_age = nothing
|
||||
pool_cut_hashes = Set{UInt64}()
|
||||
pool_size_mb = 0
|
||||
tableau_density::Float32 = 0.05
|
||||
λ, Δ = 0, 0
|
||||
μ = 10
|
||||
end
|
||||
@@ -470,7 +471,8 @@ function collect_gmi_FisSal2011(
|
||||
end
|
||||
|
||||
@timeit "Compute tableau rows" begin
|
||||
tableau = compute_tableau(data_s, basis, x = sol_frac, rows = selected_rows)
|
||||
tableau = compute_tableau(data_s, basis, x = sol_frac, rows = selected_rows, estimated_density=tableau_density * 1.05)
|
||||
tableau_density = nnz(tableau.lhs) / length(tableau.lhs)
|
||||
assert_eq(tableau.lhs * sol_frac, tableau.rhs, atol=1e-3)
|
||||
assert_eq(tableau.lhs * sol_opt_s, tableau.rhs, atol=1e-3)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user