Skip to content

Commit 37cc24d

Browse files
authored
remove unused function
1 parent afed95f commit 37cc24d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/model.jl

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,6 @@ function is_gdp_model(model::JuMP.Model)
4949
return haskey(model.ext, :GDP)
5050
end
5151

52-
"""
53-
disjunction_indicators(disjunction::DisjunctionRef)
54-
55-
Return LogicalVariableRefs associated with a disjunction.
56-
"""
57-
function disjunction_indicators(disjunction::DisjunctionRef)
58-
model, idx = disjunction.model, disjunction.index
59-
return _disjunctions(model)[idx].constraint.indicators
60-
end
61-
6252
# Create accessors for GDP data fields
6353
_logical_variables(model::JuMP.Model) = gdp_data(model).logical_variables
6454
_logical_constraints(model::JuMP.Model) = gdp_data(model).logical_constraints
@@ -81,4 +71,4 @@ end
8171
function _set_solution_method(model::JuMP.Model, method::AbstractSolutionMethod)
8272
gdp_data(model).solution_method = method
8373
return
84-
end
74+
end

0 commit comments

Comments
 (0)