Skip to content

Commit 9db98b8

Browse files
committed
cleanup
1 parent bd3e162 commit 9db98b8

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/solver.jl

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,7 @@ function _elastic_filter(optimizer::Optimizer)
7373
MOI.DUAL_INFEASIBLE,
7474
MOI.ALMOST_DUAL_INFEASIBLE,
7575
)
76-
#try with a pure relaxation objective
77-
MOI.set(
78-
model,
79-
MOI.ObjectiveFunction{relaxed_obj_type}(),
80-
pure_relaxed_obj_func,
81-
)
82-
changed_obj = true
83-
MOI.optimize!(model)
76+
#
8477
end
8578
if status in
8679
(MOI.INFEASIBLE, MOI.ALMOST_INFEASIBLE, MOI.ALMOST_INFEASIBLE)
@@ -119,14 +112,6 @@ function _elastic_filter(optimizer::Optimizer)
119112
end
120113
end
121114

122-
if changed_obj
123-
MOI.set(
124-
model,
125-
MOI.ObjectiveFunction{relaxed_obj_type}(),
126-
relaxed_obj_func,
127-
)
128-
end
129-
130115
# consider deleting all no iis constraints
131116
# be careful with intervals
132117

0 commit comments

Comments
 (0)