Intigrality gap from cplex

1 view (last 30 days)
ic_fly2
ic_fly2 on 10 Jan 2015
Commented: Rongxing Hu on 12 Oct 2020
I call cplex from Matlab, cplexmiqp and lp to be specific. The outputs are x,fval,exitflag and info . Info contains all sorts but not the intigrality gap if it was terminated due to time. That is shown in the command window if i select display , iter in the options. I need to know this gap.
Is there a method to: a) specify the gap to be added to the info cell? b) read the command window output? (I am aware that I could cheat via text files but the info written there must pass through somewhere fist, no?)
Obviously a solution along a) would be preferable.
I'm aware that this may not be the correct forum, but I've tried quite a few sources to no avail so far. Thanks in advance,
ic_fly2
  1 Comment
Rongxing Hu
Rongxing Hu on 12 Oct 2020
Hi,
Did you find a way to achieve this purpose? I want to save the gap of cplex solution in matlab too.

Sign in to comment.

Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!