@@ -56,7 +56,9 @@ function MOI.supports_constraint(
5656 return MOI. Utilities. is_coefficient_type (F, T)
5757end
5858
59- function MOI. Bridges. added_constrained_variable_types (:: Type{<:IntervalToHyperRectangleBridge} )
59+ function MOI. Bridges. added_constrained_variable_types (
60+ :: Type{<:IntervalToHyperRectangleBridge} ,
61+ )
6062 return Tuple{Type}[]
6163end
6264
@@ -89,7 +91,10 @@ function MOI.get(
8991 return [bridge. vector_constraint]
9092end
9193
92- function MOI. delete (model:: MOI.ModelLike , bridge:: IntervalToHyperRectangleBridge )
94+ function MOI. delete (
95+ model:: MOI.ModelLike ,
96+ bridge:: IntervalToHyperRectangleBridge ,
97+ )
9398 MOI. delete (model, bridge. vector_constraint)
9499 return
95100end
@@ -99,7 +104,11 @@ function MOI.supports(
99104 attr:: Union{MOI.ConstraintPrimalStart,MOI.ConstraintDualStart} ,
100105 :: Type{IntervalToHyperRectangleBridge{T,F,G}} ,
101106) where {T,F,G}
102- return MOI. supports (model, attr, MOI. ConstraintIndex{F,MOI. HyperRectangle{T}})
107+ return MOI. supports (
108+ model,
109+ attr,
110+ MOI. ConstraintIndex{F,MOI. HyperRectangle{T}},
111+ )
103112end
104113
105114function MOI. get (
@@ -120,12 +129,7 @@ function MOI.set(
120129 bridge:: IntervalToHyperRectangleBridge ,
121130 value,
122131)
123- MOI. set (
124- model,
125- attr,
126- bridge. vector_constraint,
127- [value],
128- )
132+ MOI. set (model, attr, bridge. vector_constraint, [value])
129133 return
130134end
131135
@@ -199,9 +203,14 @@ function MOI.get(
199203 attr:: MOI.ConstraintFunction ,
200204 bridge:: IntervalToHyperRectangleBridge{T,F,G} ,
201205) where {T,F,G}
202- return convert (G, only (MOI. Utilities. scalarize (
203- MOI. get (model, attr, bridge. vector_constraint),
204- )))
206+ return convert (
207+ G,
208+ only (
209+ MOI. Utilities. scalarize (
210+ MOI. get (model, attr, bridge. vector_constraint),
211+ ),
212+ ),
213+ )
205214end
206215
207216function MOI. get (
0 commit comments