YenChun Liu
 Total activity 10
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 1
 Subscriptions 3
Activity overview
Latest activity by YenChun Liu
YenChun Liu commented,
Thank you!

YenChun Liu commented,
ah! I fixed it by writing:It's much faster now! Thans for i in range(N1): for k in range(i+1, N): g.addConstr(gu.quicksum((x[i,s,:] @ x[k,s,:].T) for s in range(q)) <= q*(1C), name = ...

YenChun Liu commented,
Thank you for the reply. However I am confused  I have N(N1)/2 1dim constraint, each constraint resulting from the restriction of minimum distant between any (i,j), 1<=i<j<=N, pair of binary mat...

YenChun Liu created a post,
How to maximize the determinant of a N by N Matrix variable
AnsweredHi, Below are the notations of my problem: variable of interest: N*m*m binary array (B_1,...,B_N). Each B_i's is subjected to the constraint that row sum=1. the distance matrix of these N m*m a...

YenChun Liu created a post,
Speeding up Gurobi adding Constraint time
AnsweredHi, I am trying to find N mxm binary matrices whose pairwise hamming distances are all greater than a given number C. However, it takes so long to add all the pairwise distance constraints (N*(N1...

YenChun Liu created a post,
Running multiple slurm tasks
AnsweredHi, I am trying to run 50 gurobi tasks simultaneously on cluster. This is what my batch file looks like: #!/bin/bash#SBATCH partition common #SBATCH mem=8G # Memory limit for each tasks (...