Skip to content

Commit fc53603

Browse files
committed
remove debugging assert
1 parent 5e804e7 commit fc53603

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mip/highs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,6 @@ def constr_get_slack(self: "SolverHighs", constr: "mip.Constr") -> numbers.Real:
765765
activity = sum(coef * var.x for var, coef in expr.expr.items())
766766
rhs = -expr.const
767767
slack = rhs - activity
768-
assert False
769768
if expr.sense == mip.LESS_OR_EQUAL:
770769
return slack
771770
elif expr.sense == mip.GREATER_OR_EQUAL:

0 commit comments

Comments
 (0)