jiangyuan NTXPPA
- Total activity 5
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 1
Activity overview
Latest activity by jiangyuan NTXPPA-
jiangyuan NTXPPA commented,
Thank you. This way is available. I am wondering if there are other efficient ways so that I don't need to creat so many variables.
-
jiangyuan NTXPPA created a post,
How to model this kind of indicator constraint in Gurobipy?
Answeredx = binAssign.addVar(vtype=GRB.INTEGER, name='x')y = binAssign.addVar(vtype=GRB.INTEGER, name='y')z = binAssign.addVar(vtype=GRB.INTEGER, name='z')a = 3Model.addConstr((x >= 5) >> or_(z <= 2, y <= ...