Skip to content

Commit

Permalink
add missing fields to optimizer stats
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Feb 9, 2024
1 parent a5c18ff commit 0d6f377
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/optimizer_stats.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -37,6 +38,7 @@ function OptimizerStats()
false,
missing,
missing,
missing,
NaN,
missing,
missing,
Expand Down

0 comments on commit 0d6f377

Please sign in to comment.