
Canqi Yao
- Total activity 26
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 8
Activity overview
Latest activity by Canqi Yao-
Canqi Yao commented,
Solved! Repalcing large-sized matrix with its sparse matrix can reduce the modeling time!!!
-
Canqi Yao created a post,
Too much time wasted in adding quadratic constraint for a quadratic minimization problem
AnsweredHi, I came across an annoying problem while solving a quadratic minimization problem. Too much time (almost 2 mins for the size of 576*1*1 ) in adding socp_det constraint. What can be done to reduc...
-
Canqi Yao commented,
Hi Eli, Thank you very much, it seems that I have fixed this issue. Best, Canqi
-
Canqi Yao commented,
Hi Eli, I have revised my code according to what you said, however, there is a new error occurred. NameError: name 'EPI' is not defined My code is uploaded as the attached file. # Import Gurobi L...
-
Canqi Yao created a post,
Error occurred while defining a callback function in class
AnsweredHi, When I implement Benders decomposition method with gurobipy, some bugs occur. This 1st - 4th pictures show 1) the whole codes, 2)code implementing optimization with user-defined cut (EPI, cal...
-
Canqi Yao commented,
Hi Jaromił Apart from reducing time in callback function, can we decrease the number of calling callback function by choosing some nodes with callback function added? Best Canqi
-
Canqi Yao created a post,
Is there any method to reduce cpu time in callback function ?
AnsweredHi I am trying to use Branch and cut method to solve a vehicle routing problem. When there is a relaxed continuous solution obtained, a specified condition will be checked and a user-defined cut w...
-
Canqi Yao created a post,
DLL load failed for gurobipy (Windows, calling python script from Matlab)
AnsweredHi When I am trying to run this code ‘system('D:\anaconda\python.exe dualSP.py')’ in Matlab, the following error occurs. (P.S. Note that dualSP.py runs perfectly in Pycharm.) >> system('D:\anaco...
-
Canqi Yao commented,
Hi Matthias Note that when i=0, j=0, and k=0, this constraint = 0 >= -t[0]+ T[0,0] + g[0] * r[0,0] + t[0] - M * (1 - x[0,0,0] which can be further simplified for T[0,0]=0 -g[0]*r[0,0]>= - M * (1 -...
-
Canqi Yao commented,
As shown in the following figure, the 1st element of bineq should be 5000 in this case ( T[i,i]==0 for i in range(N) ). However, running the code gives me a wrong RHS value. # branch and cut us...