
Yen-Chun Liu
- Total activity 10
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 3
Comments
Recent activity by Yen-Chun Liu-
Thank you!
-
ah! I fixed it by writing:It's much faster now! Thans for i in range(N-1): for k in range(i+1, N): g.addConstr(gu.quicksum((x[i,s,:] @ x[k,s,:].T) for s in range(q)) <= q*(1-C), name = ...
-
Thank you for the reply. However I am confused - I have N(N-1)/2 1-dim constraint, each constraint resulting from the restriction of minimum distant between any (i,j), 1<=i<j<=N, pair of binary mat...