Skip to content

Commit bd677c2

Browse files
committed
format
1 parent f9bd259 commit bd677c2

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

src/Infeasibility/analyze.jl

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ function MathOptAnalyzer.analyze(
4040
func = MOI.get(model, MOI.ConstraintFunction(), constraints[1])
4141
push!(
4242
out.infeasible_integrality,
43-
InfeasibleIntegrality{T}(func, meta.lower_bound, meta.upper_bound, meta.set),
43+
InfeasibleIntegrality{T}(
44+
func,
45+
meta.lower_bound,
46+
meta.upper_bound,
47+
meta.set,
48+
),
4449
)
4550
elseif typeof(meta) <: MOIIS.RangeData
4651
constraints = iis.constraints
@@ -50,16 +55,18 @@ function MathOptAnalyzer.analyze(
5055
if !(typeof(con) <: MOI.ConstraintIndex{MOI.VariableIndex})
5156
push!(
5257
out.constraint_range,
53-
InfeasibleConstraintRange{T}(con, meta.lower_bound, meta.upper_bound, meta.set),
58+
InfeasibleConstraintRange{T}(
59+
con,
60+
meta.lower_bound,
61+
meta.upper_bound,
62+
meta.set,
63+
),
5464
)
5565
break
5666
end
5767
end
5868
else
59-
push!(
60-
out.iis,
61-
IrreducibleInfeasibleSubset(iis.constraints),
62-
)
69+
push!(out.iis, IrreducibleInfeasibleSubset(iis.constraints))
6370
end
6471
end
6572
return out

0 commit comments

Comments
 (0)