We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba82536 commit b252f0cCopy full SHA for b252f0c
1 file changed
src/Bridges/Constraint/bridges/SplitIntervalBridge.jl
@@ -333,7 +333,7 @@ function MOI.get(
333
# `VariableIndex` constraints but `ConstraintBasisStatus` is not
334
# defined for `VariableIndex` constraints.
335
msg = "Cannot get `$attr` for a constraint in the interval `[-Inf, Inf]`."
336
- error(msg)
+ throw(MOI.GetAttributeNotAllowed(attr, msg))
337
end
338
lower_stat = MOI.get(model, attr, bridge.lower)
339
if lower_stat == MOI.NONBASIC
0 commit comments