mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-06 08:28:52 -06:00
dual_gmi: Fix gap formula
This commit is contained in:
@@ -38,7 +38,7 @@ function collect_gmi_dual(
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Define relative MIP gap
|
# Define relative MIP gap
|
||||||
gap(v) = 100 * abs(obj_mip - v) / abs(v)
|
gap(v) = 100 * abs(obj_mip - v) / abs(obj_mip)
|
||||||
|
|
||||||
@timeit "Initialize" begin
|
@timeit "Initialize" begin
|
||||||
stats_obj = []
|
stats_obj = []
|
||||||
|
|||||||
Reference in New Issue
Block a user