Skip to content
Permalink
Browse files

Minor changes to nonnegative_bridges

  • Loading branch information...
blegat committed Aug 18, 2019
1 parent 3cdb405 commit dcaccf1ffac76b4bc3709c2050499bb74b957f94
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/nonnegative_bridge.jl
@@ -46,8 +46,8 @@ function MOI.supports_constraint(::Type{NonnegativeBridge{T}},
return true
end

function MOIB.added_constrained_variable_types(::Type{NonnegativeBridge{T, F}}) where {T, F}
return []
function MOIB.added_constrained_variable_types(::Type{<:NonnegativeBridge})
return Tuple{DataType}[]
end
function MOIB.added_constraint_types(::Type{NonnegativeBridge{T, F}}) where {T, F}
return [(F, MOI.GreaterThan{T})]

0 comments on commit dcaccf1

Please sign in to comment.
You can’t perform that action at this time.