File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1146,7 +1146,7 @@ then it should only implement [`add_constrained_variable`](@ref) and not
1146
1146
[ ` add_variable ` ] ( @ref ) nor [ ` add_constraint ` ] ( @ref ) for
1147
1147
[ ` SingleVariable ` ] ( @ref ) -in-` typeof(set) ` . In addition, it should implement
1148
1148
` 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
1150
1150
[ ` supports_add_constrained_variables ` ] ( @ref ) .
1151
1151
1152
1152
### Handling duplicate coefficients
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ two sets which prevents the user to add both a binary constraint and a
60
60
lower bound on the same variable. Moreover, if the user adds a
61
61
`SingleVariable`-in-`GreaterThan` constraint, implementing this interface (i.e.,
62
62
`supports_add_constrained_variables`) enables the constraint to be transparently
63
- bridged. into a supported constraint.
63
+ bridged into a supported constraint.
64
64
"""
65
65
function supports_add_constrained_variable (model:: ModelLike ,
66
66
S:: Type{<:AbstractScalarSet} )
@@ -115,7 +115,7 @@ as free variables are not supported.
115
115
The solvers should then implement
116
116
`supports_add_constrained_variables(::Optimizer, ::Type{<:SupportedCones}) = true`
117
117
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
119
119
`supports_constraint(::Type{VectorOfVariables}, Type{<:SupportedCones})`
120
120
as it should return `false` and it's the default.
121
121
This prevents the user to constrain the same variable in two different cones.
You can’t perform that action at this time.
0 commit comments