Skip to content

Commit 6f641ad

Browse files
committed
format
1 parent 1426502 commit 6f641ad

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/infeasibility.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ function _fix_to_zero(model, variable::MOI.VariableIndex, ::Type{T}) where {T}
404404
if MOI.is_valid(model, lb_idx)
405405
MOI.delete(model, lb_idx)
406406
has_lower = true
407-
# MOI.PenaltyRelaxation only creates variables with LB
408-
# elseif MOI.is_valid(model, ub_idx)
409-
# MOI.delete(model, ub_idx)
407+
# MOI.PenaltyRelaxation only creates variables with LB
408+
# elseif MOI.is_valid(model, ub_idx)
409+
# MOI.delete(model, ub_idx)
410410
else
411411
error("Variable is not bounded")
412412
end
@@ -426,9 +426,9 @@ function _set_bound_zero(
426426
MOI.delete(model, eq_idx)
427427
if has_lower
428428
MOI.add_constraint(model, variable, MOI.GreaterThan{T}(zero(T)))
429-
# MOI.PenaltyRelaxation only creates variables with LB
430-
# else
431-
# MOI.add_constraint(model, variable, MOI.LessThan{T}(zero(T)))
429+
# MOI.PenaltyRelaxation only creates variables with LB
430+
# else
431+
# MOI.add_constraint(model, variable, MOI.LessThan{T}(zero(T)))
432432
end
433433
return
434434
end

0 commit comments

Comments
 (0)