Skip to content

Commit 165c896

Browse files
committed
Remove incorrect ConstraintPrimal method in favor of fallback
1 parent ad6e8f4 commit 165c896

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/MOI_wrapper.jl

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -566,19 +566,6 @@ function MOI.get(
566566
return vectorize_block(model.X, block(model, ci), S)
567567
end
568568

569-
function MOI.get(
570-
model::Optimizer,
571-
attr::MOI.ConstraintPrimal,
572-
ci::MOI.ConstraintIndex{
573-
MOI.ScalarAffineFunction{Cdouble},
574-
MOI.EqualTo{Cdouble},
575-
},
576-
)
577-
MOI.check_result_index_bounds(model, attr)
578-
# TODO(odow): this isn't correct. In Ax = b, it should be Ax, not b.
579-
return model.b[ci.value]
580-
end
581-
582569
function MOI.get(
583570
model::Optimizer,
584571
attr::MOI.ConstraintDual,

0 commit comments

Comments
 (0)