Where is the relative gap from cplexbilp?

조회 수: 1(최근 30일)
FM 2022년 7월 8일
편집: FM 2022년 7월 8일
I am invoking "cplexbilp" (CPLEX 12.9) from Matlab R2022a. I request all 4 return arguments:
[x,fval,exitflag,output] = cplexbilp(...)
I use the variable browser to browse the 4 outputs. Nowhere is there a relative gap. I set the options to terminate at a relative gap of 1e-4 (0.01%), but I'd like to know what the actual relative gap is. I know that for lengthy enough searches, the display console will show periodic updates, but my problem is solved immediately (albeit with "numerical issues"). Will "numerical issues" prevent the appearance of a relative gap in (say) the "output" argument above?
If the relative gap simply isn't available, but if I can get the numerical best-bound (as unlikely as that might sound), I can calculate the relative gap.
P.S. I initially posted this to a the following page, but it occurred to me that this might be a limitation of the Matlab/CPLEX interface:






Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by