diff --git a/gdplib/ex1_linan_2023/ex1_linan_2023.py b/gdplib/ex1_linan_2023/ex1_linan_2023.py index 4fd9114..92faa4d 100644 --- a/gdplib/ex1_linan_2023/ex1_linan_2023.py +++ b/gdplib/ex1_linan_2023/ex1_linan_2023.py @@ -127,10 +127,6 @@ def Disjunction1(m): # Disjunction for first Boolean variable m.Disjunction1 = Disjunction(rule=Disjunction1, xor=False) - # # Associate boolean variables to disjuncts - # for n1 in m.set1: - # m.Y1[n1].associate_binary_var(m.Y1_disjunct[n1].indicator_var) - # Second disjunction def build_disjuncts2(m, set2): # Disjuncts for second Boolean variable """ @@ -185,10 +181,6 @@ def Disjunction2(m): # Disjunction for first Boolean variable m.Disjunction2 = Disjunction(rule=Disjunction2, xor=False) - # # Associate boolean variables to disjuncts - # for n2 in m.set2: - # m.Y2[n2].associate_binary_var(m.Y2_disjunct[n2].indicator_var) - # Logical constraints # Constraint that allow to apply the reformulation over Y1