I need to tell Gurobi that the variable can take two possible values: 0 or any value greater than 100. As I need it to test other values greater than 100, I cannot set this as a binary variable. Basically the solution must be x = 0 or x> = 100
I tried:
model.addConstrs (x [t, m] >= 100 for t in T for m in M)
model.addConstrs (x [t, m] < 1 for t in T for m in M)
But this wouldn't work (even if no errors were reported) because I let x be less than 0, which is not possible in my case and also because the logic just doesn't make sense. How can I adequately represent my case on Gurobipy?
Some help? Thanks!