File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Utility functions for identifying JuMP constraints that define equalities.
25
25
import JuMP as jmp
26
26
import MathOptInterface as moi
27
27
28
- function get_set_of_constraint (
28
+ function _get_set_of_constraint (
29
29
model:: jmp.Model ,
30
30
constraint:: jmp.ConstraintRef ,
31
31
index:: moi.ConstraintIndex ,
@@ -34,7 +34,7 @@ function get_set_of_constraint(
34
34
return set
35
35
end
36
36
37
- function get_set_of_constraint (
37
+ function _get_set_of_constraint (
38
38
model:: jmp.Model ,
39
39
constraint:: jmp.ConstraintRef ,
40
40
index:: moi.Nonlinear.ConstraintIndex ,
@@ -116,7 +116,7 @@ Detect whether a constraint is an equality constraint.
116
116
function is_equality (constraint:: jmp.ConstraintRef ):: Bool
117
117
model = constraint. model
118
118
index = constraint. index
119
- set = get_set_of_constraint (model, constraint, index)
119
+ set = _get_set_of_constraint (model, constraint, index)
120
120
return set_implies_equality (set)
121
121
end
122
122
You can’t perform that action at this time.
0 commit comments