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