From e1cba35569e14d0cb00aa38ca2c4f61af2fee2d4 Mon Sep 17 00:00:00 2001 From: odow Date: Sun, 9 Jul 2023 08:52:54 -0700 Subject: [PATCH] Fix --- src/MSPFormat.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MSPFormat.jl b/src/MSPFormat.jl index 3b3c28168..282bb7db1 100644 --- a/src/MSPFormat.jl +++ b/src/MSPFormat.jl @@ -215,7 +215,7 @@ function read_from_file( if lower_bound isa Number && isfinite(lower_bound) JuMP.set_lower_bound(x, lower_bound) if lower_bound > 0 - graph.initial_root_state[sym_name] = lower_bound + model.initial_root_state[sym_name] = lower_bound end elseif lower_bound isa Vector{Any} ω_lower_bound[x] = lower_bound @@ -223,7 +223,7 @@ function read_from_file( if upper_bound isa Number && isfinite(upper_bound) JuMP.set_upper_bound(x, upper_bound) if upper_bound < 0 - graph.initial_root_state[sym_name] = upper_bound + model.initial_root_state[sym_name] = upper_bound end elseif upper_bound isa Vector{Any} ω_upper_bound[x] = upper_bound