Skip to content

Commit d899efd

Browse files
committed
Address comments
1 parent 3a1eddb commit d899efd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/apimanual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ then it should only implement [`add_constrained_variable`](@ref) and not
11461146
[`add_variable`](@ref) nor [`add_constraint`](@ref) for
11471147
[`SingleVariable`](@ref)-in-`typeof(set)`. In addition, it should implement
11481148
`supports_add_constrained_variables(::Optimizer, ::Type{Reals})` and return
1149-
`false` so that free variables are bridged, see
1149+
`false` so that these variables are bridged, see
11501150
[`supports_add_constrained_variables`](@ref).
11511151

11521152
### Handling duplicate coefficients

src/variables.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ two sets which prevents the user to add both a binary constraint and a
6060
lower bound on the same variable. Moreover, if the user adds a
6161
`SingleVariable`-in-`GreaterThan` constraint, implementing this interface (i.e.,
6262
`supports_add_constrained_variables`) enables the constraint to be transparently
63-
bridged. into a supported constraint.
63+
bridged into a supported constraint.
6464
"""
6565
function supports_add_constrained_variable(model::ModelLike,
6666
S::Type{<:AbstractScalarSet})
@@ -115,7 +115,7 @@ as free variables are not supported.
115115
The solvers should then implement
116116
`supports_add_constrained_variables(::Optimizer, ::Type{<:SupportedCones}) = true`
117117
where `SupportedCones` is the union of all cone types that are supported;
118-
but it does not have to implement the method
118+
it does not have to implement the method
119119
`supports_constraint(::Type{VectorOfVariables}, Type{<:SupportedCones})`
120120
as it should return `false` and it's the default.
121121
This prevents the user to constrain the same variable in two different cones.

0 commit comments

Comments
 (0)