Skip to content

Commit 8034332

Browse files
committed
Improve docstring
1 parent f2de794 commit 8034332

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Bridges/Variable/vectorize.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
VectorizeBridge{T, S}
33
44
Transforms a constrained variable in `scalar_set_type(S, T)` where
5-
`S <: VectorLinearSet` constrained variables in `S`.
5+
`S <: VectorLinearSet` into a constrained vector of one variable in `S`. For
6+
instance, `VectorizeBridge{Float64, MOI.Nonnegatives}` transforms a constrained
7+
variable in `MOI.GreaterThan{Float64}` into a constrained vector of one
8+
variable in `MOI.Nonnegatives`.
69
"""
710
mutable struct VectorizeBridge{T, S} <: AbstractBridge
811
variable::MOI.VariableIndex

0 commit comments

Comments
 (0)