Originally posted by: Moslem Zamani
I introduce an algorithm for non-convex quadratic programs. I would like to check its efficiency compared to CPLEX. I have two stopping criteria, max CPU time and absolute tolerance gap. Unfortunately, I could not find options related to tolerance gap for quadratic programs. I only saw this option for MIP which quadratic programming was not sensitive to it or there were other stopping criteria, which I do not know how to set them. My code is as follows:
n=size(H,1);
m=size(A,1);
cplex = Cplex('TEST');
cplex.Param.optimalitytarget.Cur=3;
cplex.Param.timelimit.Cur=1000;
cplex.Param.mip.tolerances.absmipgap.Cur=10^-3;
cplex.Param.mip.tolerances.integrality.Cur=0;
cplex.Model.sense = 'minimize';
cplex.addCols(2*f, [], zeros(size(A,2),1), Inf*ones(size(A,2),1));
cplex.Model.Q = H;
cplex.addRows(-inf*ones(m,1), A, b);
cplex.solve();
I wonder if you could help me. Moreover, if CPLEX provides lower bound for quadratic programs.
#CPLEXOptimizers#DecisionOptimization