Skip to content

Commit c498e19

Browse files
authored
Update Constraint.jl
1 parent 884b3cd commit c498e19

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Bridges/Constraint/Constraint.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ function add_all_bridges(model, ::Type{T}) where {T}
6363
# IndicatorGreaterToLessThanBridge are added.
6464
MOI.Bridges.add_bridge(model, IndicatorSOS1Bridge{T})
6565
MOI.Bridges.add_bridge(model, IndicatorToMILPBridge{T})
66-
MOI.Bridges.add_bridge(model, InequalityToComplementsBridge{T})
66+
# * InequalityToComplementsBridge{T}
67+
# This bridge is not added because of a bug in Convex.jl:
68+
# https://github.com/jump-dev/Convex.jl/blob/ca5324217575af263bfeee20b3e0526bed051887/src/MOI_wrapper.jl#L119-L133
69+
# It is also really useful only to PATHSolver.jl, which could add this
70+
# to MOI.ListOfRequiredBridges.
6771
MOI.Bridges.add_bridge(model, IntegerToZeroOneBridge{T})
6872
MOI.Bridges.add_bridge(model, LessToGreaterBridge{T})
6973
if T <: AbstractFloat # See note in docstring of AbstractToIntervalBridge

0 commit comments

Comments
 (0)