Skip to content

Commit 4991e2a

Browse files
committed
Update docstring
1 parent 242c695 commit 4991e2a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Bridges/Bridges.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,11 @@ Run a series of tests that check the correctness of `Bridge`.
251251
`input_fn` and `output_fn` are functions such that `input_fn(model)`
252252
and `output_fn(model)` load the corresponding model into `model`.
253253
254-
Set `cannot_unbridge` to `true` if the bridge is a variable bridge
255-
for which [`Variable.unbridged_map`](@ref) returns `nothing` so that
256-
the tests allow errors that can be raised due to this.
254+
Set `cannot_unbridge` to `true` if the bridge transformation is not invertible.
255+
If `Bridge` is a variable bridge this allows [`Variable.unbridged_map`](@ref)
256+
to returns `nothing` so that the tests allow errors that can be raised due to this.
257+
If `Bridge` is a constraint bridge this allows the getter of [`MOI.ConstraintFunction`](@ref)
258+
and [`MOI.ConstraintPrimalStart`](@ref) to throw [`MOI.GetAttributeNotAllowed`](@ref).
257259
258260
## Example
259261

0 commit comments

Comments
 (0)