Canqi Yao
- Total activity 26
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 8
Posts
Recent activity by Canqi Yao-
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...
-
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...
-
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...
-
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...
-
Unbounded ray of an infeasible LP problem (Python)
AnsweredCan you tell me the API for retrieving the unbounded ray for an infeasible LP problem ?
-
A script which runs perfectly in Pycharm can not be implemented in the Matlab environment.
AnsweredThe following errors occur. Traceback (most recent call last): File "dualSP.py", line 138, in <module> [Aeq,Aineq,beq,bineq,f]=BVRP() File "dualSP.py", line 107, in BVRP A=m1.getA() File "...
-
Is there any api which can be used to retrieve the standard form of a linear program in python.
AnsweredWhile solving large-scale optimization problem, I want to know if Gurobi provides a API which can obtain the coefficient matrix (A,b,C,Aineq,bineq ) of a LP problem. min C'X s.t. Ax=b Aineqx<=bineq
-
How to retrieve the number of cutting planes added by callback?
AnsweredIs there any API aimed for counting the number of cutting planes added by user defined callback?