From 0d6f377a4a3c9f6f5c9be1a49acf75dfff94d793 Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Thu, 8 Feb 2024 17:44:19 -0700 Subject: [PATCH] add missing fields to optimizer stats --- src/core/optimizer_stats.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/optimizer_stats.jl b/src/core/optimizer_stats.jl index 19475381c6..dfac5c3cce 100644 --- a/src/core/optimizer_stats.jl +++ b/src/core/optimizer_stats.jl @@ -10,6 +10,7 @@ mutable struct OptimizerStats has_duals::Bool # Candidate solution objective_bound::Union{Missing, Float64} + relative_gap::Union{Missing, Float64} # Use missing instead of nothing so that CSV writting doesn't fail dual_objective_value::Union{Missing, Float64} # Work counters @@ -37,6 +38,7 @@ function OptimizerStats() false, missing, missing, + missing, NaN, missing, missing,