Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Aug 8, 2024
1 parent 1d0b487 commit f74bba0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f74bba0

Please sign in to comment.