@@ -4,7 +4,7 @@ function test_countdistinct_vectorofvariables(
44) where {T <: Real }
55 @MOIT . requires MOI. supports_constraint (model, MOI. VariableIndex, MOI. Integer) # x1, x2, x3, x4
66 @MOIT . requires MOI. supports_constraint (model, MOI. VariableIndex, MOI. EqualTo{T}) # c1, c2, c3
7- @MOIT . requires MOI. supports_constraint (model, MOI. VectorOfVariables, CP . CountDistinct) # c4
7+ @MOIT . requires MOI. supports_constraint (model, MOI. VectorOfVariables, MOI . CountDistinct) # c4
88
99 x1, _ = MOI. add_constrained_variable (model, MOI. Integer ())
1010 x2, _ = MOI. add_constrained_variable (model, MOI. Integer ())
@@ -15,7 +15,7 @@ function test_countdistinct_vectorofvariables(
1515 c2 = MOI. add_constraint (model, x2, MOI. EqualTo (1 ))
1616 c3 = MOI. add_constraint (model, x3, MOI. EqualTo (2 ))
1717
18- c4 = MOI. add_constraint (model, MOI. VectorOfVariables ([x4, x1, x2, x3]), CP . CountDistinct (3 ))
18+ c4 = MOI. add_constraint (model, MOI. VectorOfVariables ([x4, x1, x2, x3]), MOI . CountDistinct (4 ))
1919
2020 @test MOI. is_valid (model, x1)
2121 @test MOI. is_valid (model, x2)
@@ -57,7 +57,7 @@ function test_countdistinct_vectoraffinefunction(
5757) where {T <: Real }
5858 @MOIT . requires MOI. supports_constraint (model, MOI. VariableIndex, MOI. Integer) # x1, x2, x3, x4
5959 @MOIT . requires MOI. supports_constraint (model, MOI. ScalarAffineFunction{T}, MOI. EqualTo{T}) # c1, c2, c3
60- @MOIT . requires MOI. supports_constraint (model, MOI. VectorAffineFunction{T}, CP . CountDistinct) # c4
60+ @MOIT . requires MOI. supports_constraint (model, MOI. VectorAffineFunction{T}, MOI . CountDistinct) # c4
6161
6262 x1, _ = MOI. add_constrained_variable (model, MOI. Integer ())
6363 x2, _ = MOI. add_constrained_variable (model, MOI. Integer ())
@@ -68,7 +68,7 @@ function test_countdistinct_vectoraffinefunction(
6868 c2 = MOI. add_constraint (model, one (T) * x2, MOI. EqualTo (1 ))
6969 c3 = MOI. add_constraint (model, one (T) * x3, MOI. EqualTo (2 ))
7070
71- c4 = MOI. add_constraint (model, MOIU. vectorize (one (T) .* [x4, x1, x2, x3]), CP . CountDistinct (3 ))
71+ c4 = MOI. add_constraint (model, MOIU. vectorize (one (T) .* [x4, x1, x2, x3]), MOI . CountDistinct (4 ))
7272
7373 @test MOI. is_valid (model, x1)
7474 @test MOI. is_valid (model, x2)
0 commit comments