Skip to content

Commit 6bfca94

Browse files
authored
Remove redundant constraint in CircuitToMILPBridge.jl (#2694)
1 parent 49d9662 commit 6bfca94

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Bridges/Constraint/bridges/CircuitToMILPBridge.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ function bridge_constraint(
5858
n = MOI.dimension(s)
5959
z = [MOI.add_constrained_variable(model, MOI.ZeroOne())[1] for _ in 1:n^2]
6060
Z = reshape(z, n, n)
61-
MOI.add_constraint.(model, z, MOI.ZeroOne())
6261
equal_to = MOI.ConstraintIndex{MOI.ScalarAffineFunction{T},MOI.EqualTo{T}}[]
6362
for (i, x) in enumerate(MOI.Utilities.eachscalar(f))
6463
f_1 = MOI.ScalarAffineFunction(

0 commit comments

Comments
 (0)