diff --git a/src/MOI_wrapper.jl b/src/MOI_wrapper.jl index 2cefa97..5be819a 100644 --- a/src/MOI_wrapper.jl +++ b/src/MOI_wrapper.jl @@ -450,7 +450,7 @@ end function MOI.supports( ::Optimizer, ::MOI.ConstraintDualStart, - ::Type{MOI.ConstraintIndex{F,<:_SETS}}, + ::Type{<:MOI.ConstraintIndex{F,<:_SETS}}, ) where { F<:Union{ MOI.ScalarAffineFunction{Float64}, @@ -562,6 +562,14 @@ function MOI.set( return end +function MOI.supports( + ::Optimizer, + ::MOI.ConstraintDualStart, + ::Type{<:MOI.ConstraintIndex{MOI.ScalarNonlinearFunction,<:_SETS}}, +) + return true +end + function MOI.get( model::Optimizer, attr::MOI.ConstraintDualStart,