Intigrality gap from cplex

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 个评论

Hi,
Did you find a way to achieve this purpose? I want to save the gap of cplex solution in matlab too.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Timing and presenting 2D and 3D stimuli 的更多信息

提问:

2015-1-10

评论:

2020-10-12

Community Treasure Hunt

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

Start Hunting!

Translated by