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
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
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
6060lower 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"""
6565function supports_add_constrained_variable (model:: ModelLike ,
6666 S:: Type{<:AbstractScalarSet} )
@@ -115,7 +115,7 @@ as free variables are not supported.
115115The solvers should then implement
116116`supports_add_constrained_variables(::Optimizer, ::Type{<:SupportedCones}) = true`
117117where `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})`
120120as it should return `false` and it's the default.
121121This prevents the user to constrain the same variable in two different cones.
You can’t perform that action at this time.
0 commit comments