mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-06 08:28:52 -06:00
dual_gmi: Relax tolerances
This commit is contained in:
@@ -118,8 +118,8 @@ function collect_gmi_dual(
|
|||||||
tableau = compute_tableau(data_s, basis, x = sol_frac, rows = selected_rows)
|
tableau = compute_tableau(data_s, basis, x = sol_frac, rows = selected_rows)
|
||||||
|
|
||||||
# Assert tableau rows have been computed correctly
|
# Assert tableau rows have been computed correctly
|
||||||
assert_eq(tableau.lhs * sol_frac, tableau.rhs)
|
assert_eq(tableau.lhs * sol_frac, tableau.rhs, atol=1e-3)
|
||||||
assert_eq(tableau.lhs * sol_opt_s, tableau.rhs)
|
assert_eq(tableau.lhs * sol_opt_s, tableau.rhs, atol=1e-3)
|
||||||
end
|
end
|
||||||
|
|
||||||
@timeit "Compute GMI cuts" begin
|
@timeit "Compute GMI cuts" begin
|
||||||
|
|||||||
Reference in New Issue
Block a user