Skip to content

Commit

Permalink
[FileFormats.MPS] revert change for backwards compatibility (#2424)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Feb 8, 2024
1 parent cbc1dfa commit b64dbe1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/FileFormats/MPS/MPS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1829,4 +1829,13 @@ PrecompileTools.@setup_workload begin
end
end

# Originally removed by #2421, but this constant was used by extensions like
# BilevelJuMP so I'm re-adding to maintain backwards compatibility.
const SET_TYPES = (
(MOI.LessThan{Float64}, "L"),
(MOI.GreaterThan{Float64}, "G"),
(MOI.EqualTo{Float64}, "E"),
(MOI.Interval{Float64}, "L"),
)

end

0 comments on commit b64dbe1

Please sign in to comment.