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 efc9945 commit 6359db4Copy full SHA for 6359db4
src/NonLinearProgram/NonLinearProgram.jl
@@ -114,14 +114,20 @@ function MOI.supports_constraint(
114
S<:Union{
115
MOI.GreaterThan{Float64},
116
MOI.LessThan{Float64},
117
- # MOI.Interval{Float64},
118
MOI.EqualTo{Float64},
119
- MOI.Parameter{Float64},
120
},
121
}
122
return true
123
end
124
+function MOI.supports_constraint(
+ ::Form,
125
+ ::Type{MOI.VariableIndex},
126
+ ::Type{MOI.Parameter{Float64}},
127
+)
128
+ return true
129
+end
130
+
131
function _add_leq_geq(
132
form::Form,
133
idx::MOI.ConstraintIndex,
0 commit comments