hongyan liu
- Total activity 4
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 1
Posts
Recent activity by hongyan liu-
Some problem about adding indicator constraints
AnsweredI want to add constraints as below: if dep[i][j] == 1 then z[0, j] < z[0, i] 0<i<4,i<j<4 I write these codes : m.addConstrs((dep[i][j] == 1) >> (z[0, j] < z[0, i]) for i in range(tab_cnt - 1) for...