Skip to content

Commit b64dbe1

Browse files
authored
[FileFormats.MPS] revert change for backwards compatibility (#2424)
1 parent cbc1dfa commit b64dbe1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/FileFormats/MPS/MPS.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,4 +1829,13 @@ PrecompileTools.@setup_workload begin
18291829
end
18301830
end
18311831

1832+
# Originally removed by #2421, but this constant was used by extensions like
1833+
# BilevelJuMP so I'm re-adding to maintain backwards compatibility.
1834+
const SET_TYPES = (
1835+
(MOI.LessThan{Float64}, "L"),
1836+
(MOI.GreaterThan{Float64}, "G"),
1837+
(MOI.EqualTo{Float64}, "E"),
1838+
(MOI.Interval{Float64}, "L"),
1839+
)
1840+
18321841
end

0 commit comments

Comments
 (0)