@@ -154,20 +154,18 @@ function ModelAnalyzer.analyze(
154154 for var in JuMP. all_variables (model)
155155 lb = if JuMP. has_lower_bound (var)
156156 JuMP. lower_bound (var)
157+ elseif JuMP. is_fixed (var)
158+ JuMP. fix_value (var)
157159 else
158160 - Inf
159161 end
160162 ub = if JuMP. has_upper_bound (var)
161163 JuMP. upper_bound (var)
164+ elseif JuMP. is_fixed (var)
165+ JuMP. fix_value (var)
162166 else
163167 Inf
164168 end
165- if lb > ub
166- push! (out. infeasible_bounds, InfeasibleBounds (var, lb, ub))
167- bounds_consistent = false
168- else
169- variables[var] = Interval (lb, ub)
170- end
171169 if JuMP. is_integer (var)
172170 if abs (ub - lb) < 1 && ceil (ub) == ceil (lb)
173171 push! (
@@ -186,6 +184,12 @@ function ModelAnalyzer.analyze(
186184 bounds_consistent = false
187185 end
188186 end
187+ if lb > ub
188+ push! (out. infeasible_bounds, InfeasibleBounds (var, lb, ub))
189+ bounds_consistent = false
190+ else
191+ variables[var] = Interval (lb, ub)
192+ end
189193 end
190194 # check PSD diagonal >= 0 ?
191195 # other cones?
@@ -371,10 +375,6 @@ function iis_elastic_filter(original_model::JuMP.GenericModel, optimizer)
371375 end
372376 end
373377
374- # TODO : add deletion filter
375- # otherwise this is not an IIS (it does contain an IIS)
376-
377- # pre_iis = Set(val[1] for val in de_elastisized)
378378 pre_iis = Set (cadidates)
379379 iis = JuMP. ConstraintRef[]
380380 for con in JuMP. all_constraints (
0 commit comments