We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed7dfe1 commit c6efecfCopy full SHA for c6efecf
src/Test/test_model.jl
@@ -22,8 +22,6 @@ function MOI.get(::BadModel, ::MOI.ListOfModelAttributesSet)
22
return MOI.AbstractModelAttribute[]
23
end
24
25
-MOI.get(::BadModel, ::MOI.NumberOfVariables) = 1
26
-
27
MOI.get(::BadModel, ::MOI.ListOfVariableIndices) = [MOI.VariableIndex(1)]
28
29
function MOI.get(::BadModel, ::MOI.ListOfVariableAttributesSet)
@@ -54,10 +52,6 @@ function MOI.get(
54
52
return MOI.EqualTo(0.0)
55
53
56
57
-function MOI.get(::BadModel, ::MOI.ListOfConstraintAttributesSet)
58
- return MOI.AbstractConstraintAttribute[]
59
-end
60
61
struct BadConstraintModel <: BadModel end
62
63
function MOI.get(::BadConstraintModel, ::MOI.ListOfConstraintTypesPresent)
0 commit comments