Skip to content

Commit 89a1cf5

Browse files
authored
[Utilities] remove invalid and unused method (#2286)
1 parent 53ec269 commit 89a1cf5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Utilities/model.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -404,14 +404,6 @@ function MOI.add_constraint(
404404
return MOI.add_constraint(model.constraints, func, set)
405405
end
406406

407-
function MOI.get(
408-
model::AbstractModel,
409-
attr::Union{MOI.AbstractFunction,MOI.AbstractSet},
410-
ci::MOI.ConstraintIndex,
411-
)
412-
return MOI.get(model.constraints, attr, ci)
413-
end
414-
415407
function MOI.delete(model::AbstractModel, ci::MOI.ConstraintIndex)
416408
MOI.delete(constraints(model, ci), ci)
417409
model.name_to_con = nothing

0 commit comments

Comments
 (0)