Dear helpful GAMS community,
I am using CPLEX Benders algorithm. I want to record the number of Benders iterations to a parameter. I can read it from the display but since I will be running many different problems, I have to write it to a GAMS parameter to keep track of everything. Can I do that?
Thanks in advance.
CPLEX - Benders' iteration count to parameter
Re: CPLEX - Benders' iteration count to parameter
For the record:
I have found a solution by analyzing the .log file using MATLAB. I utilized the fact that in the .log file, the iteration count is always displayed at two lines above of the text "--- LP status (1): optimal."
I have found a solution by analyzing the .log file using MATLAB. I utilized the fact that in the .log file, the iteration count is always displayed at two lines above of the text "--- LP status (1): optimal."