Where is the relative gap from cplexbilp?

5 Ansichten (letzte 30 Tage)
FM
FM am 8 Jul. 2022
Bearbeitet: FM am 8 Jul. 2022
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:
https://or.stackexchange.com/questions/8653/where-is-the-relative-gap-from-cplexbilp

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by