You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the model below is unsat for gurobi, because it doesn't allow rounding of floordiv (only even numbers are valid for x1 because it gets divided by 2). This is not the expected behavior of floordivision
iv = intvar(-1,3)
x1 = intvar(1,4, name="x1")
cons = [x1 // 2 == iv, x1 == 1]
print(Model(cons).solve('gurobi'))
The text was updated successfully, but these errors were encountered:
the model below is unsat for gurobi, because it doesn't allow rounding of floordiv (only even numbers are valid for x1 because it gets divided by 2). This is not the expected behavior of floordivision
The text was updated successfully, but these errors were encountered: