Skip to content
Permalink
Browse files

Adapt test to move of added_constraint_types from MOIBC to MOIB

  • Loading branch information...
coroa committed Aug 16, 2019
1 parent fd66521 commit d55efae668cd67038a60573dfd40a4ac9d0df7c3
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/nonnegative_bridge.jl
@@ -12,6 +12,7 @@

using MathOptInterface
const MOI = MathOptInterface
const MOIB = MOI.Bridges
const MOIBC = MOI.Bridges.Constraint

"""
@@ -44,7 +45,7 @@ function MOI.supports_constraint(::Type{NonnegativeBridge{T}},
::Type{Nonnegative}) where T
return true
end
function MOIBC.added_constraint_types(::Type{NonnegativeBridge{T, F}}) where {T, F}
function MOIB.added_constraint_types(::Type{NonnegativeBridge{T, F}}) where {T, F}
return [(F, MOI.GreaterThan{T})]
end
function MOIBC.concrete_bridge_type(::Type{NonnegativeBridge{T}},

0 comments on commit d55efae

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