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 件のコメント

Rongxing Hu
Rongxing Hu 2020 年 10 月 12 日
Hi,
Did you find a way to achieve this purpose? I want to save the gap of cplex solution in matlab too.

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

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