Hi Johan.
I have a question. I am working on unit commitment problem. I just wanted to know whether there is any way to control the duality gap in MIQP problems. I need to speed up the solution process and I don not care about the accuracy in my case. I am using CPLEX 12.3. Personally, I used to use GAMS and it was very easy on this software to control the duality gap buy using the following command:
optCA: Absolute optimality criterion. This attribute specifies an absolute termination
tolerance for use in solving all mixed-integer models.
optCR: Relative optimality criterion. This attribute specifies a relative termination
tolerance for use in solving all mixed-integer models.
I used the following command, unfortunately none of them worked for me!
ops = sdpsettings;
ops.cplex.mip.tolerances.mipgap=0.5;
ops.cplex.mip.tolerances.absmipgap=0.5;
and even in this format:
ops = sdpsettings('cplex.mip.tolerances.mipgap','0.5');
Thanks alot Johan