Skip to content

Commit

Permalink
Fix use of private symbol in MOI.FileFormats.MPS
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Feb 8, 2024
1 parent 954467f commit ed58f8c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/mibs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ end
function _index_to_row_link(model::MOI.FileFormats.MPS.Model)
i = 0
dict = Dict{MOI.ConstraintIndex,Int}()
for (S, _) in MOI.FileFormats.MPS.SET_TYPES
for S in (
MOI.GreaterThan{Float64},
MOI.LessThan{Float64},
MOI.EqualTo{Float64},
MOI.Interval{Float64},
)
for ci in MOI.get(
model,
MOI.ListOfConstraintIndices{MOI.ScalarAffineFunction{Float64},S}(),
Expand Down

0 comments on commit ed58f8c

Please sign in to comment.