How do I implement ">>" operations while using the Java API? #1
Unanswered
huaizhe2012
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While using the python API, I can do the following:
for i in range(5):
model.addConstr((binVars[i]) == 1) >> (x <=0))
How can I do the same thing when using java API ,or how can I implement 'or' logic?
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions