Skip to content

Commit 469c1f7

Browse files
authored
remove unused functions
1 parent 37cc24d commit 469c1f7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/reformulate.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ function _reformulate_disjunct(model::JuMP.Model, ref_cons::Vector{JuMP.Abstract
122122
return
123123
end
124124

125-
_index_to_constraint(model::JuMP.Model, cidx::DisjunctConstraintIndex) = _disjunct_constraints(model)[cidx]
126-
_index_to_constraint(model::JuMP.Model, cidx::DisjunctionIndex) = _disjunctions(model)[cidx]
127-
128125
# reformulation for nested disjunction
129126
# NOTE: name of inner disjunction (if given) is currently lost (not passed upwards)
130127
function reformulate_disjunct_constraint(
@@ -166,4 +163,4 @@ function _reformulate_logical_constraint(model::JuMP.Model, func, set::Union{_MO
166163
end
167164
function _reformulate_logical_constraint(model::JuMP.Model, func, set::IsTrue)
168165
return _reformulate_proposition(model, func)
169-
end
166+
end

0 commit comments

Comments
 (0)