File tree 1 file changed +2
-8
lines changed
src/Bridges/Constraint/bridges 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -127,15 +127,9 @@ function MOI.get(
127
127
bridge:: _AbstractSlackBridge ,
128
128
)
129
129
# The dual constraint on slack (since it is free) is
130
- # ` -dual_slack_in_set + dual_equality = 0` so the two duals are
130
+ # -dual_slack_in_set + dual_equality = 0 so the two duals are
131
131
# equal and we can return either one of them.
132
- # We decide to use the dual of the equality constraints because
133
- # the `slack_in_set` constraint might be bridge by a variable bridge that
134
- # does not # support `ConstraintDual`. This is the case if the adjoint of
135
- # the linear map on which the bridge is based is not invertible, as for
136
- # instance with `Variable.ZerosBridge` or
137
- # `SumOfSquares.Bridges.Variable.KernelBridge`.
138
- return MOI. get (model, a, bridge. equality)
132
+ return MOI. get (model, a, bridge. slack_in_set)
139
133
end
140
134
141
135
function MOI. set (
You can’t perform that action at this time.
0 commit comments