Skip to content

Commit f11fbfa

Browse files
authored
Apply suggestions from code review
1 parent 93c543f commit f11fbfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridges/Constraint/bridges/SOCtoPSDBridge.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const SOCtoPSD{T,OT<:MOI.ModelLike} =
8080
# This bridge destorys a lot of structure and adding PSD variables is almost
8181
# always undesirable. We give this bridge an arbitrarily hight cost so that it
8282
# is used only if necessary.
83-
bridging_cost(::Type{<:SOCtoPSDBridge}) = 10.0
83+
MOI.Bridges.bridging_cost(::Type{<:SOCtoPSDBridge}) = 10.0
8484

8585
function concrete_bridge_type(
8686
::Type{<:SOCtoPSDBridge{T}},
@@ -194,7 +194,7 @@ const RSOCtoPSD{T,OT<:MOI.ModelLike} =
194194
# This bridge destorys a lot of structure and adding PSD variables is almost
195195
# always undesirable. We give this bridge an arbitrarily hight cost so that it
196196
# is used only if necessary.
197-
bridging_cost(::Type{<:RSOCtoPSDBridge}) = 10.0
197+
MOI.Bridges.bridging_cost(::Type{<:RSOCtoPSDBridge}) = 10.0
198198

199199
function concrete_bridge_type(
200200
::Type{<:RSOCtoPSDBridge{T}},

0 commit comments

Comments
 (0)