Saving some iteration log data generated by CPLEX, as a MIP solver, into parameters. Is this possible?

Solver related questions
Post Reply
hossein60
User
User
Posts: 8
Joined: 2 months ago

Saving some iteration log data generated by CPLEX, as a MIP solver, into parameters. Is this possible?

Post by hossein60 » 1 week ago

Dear all

I want to record some outputs generated by CPLEX such as the iteration number, objective and the associated time so that I can plot some convergence characteristic, for example objective-iteration number, objective-time and objective-number of nodes.
Have you any idea?

Best regards;
Hossein

Fred
Posts: 163
Joined: 3 years ago

Re: Saving some iteration log data generated by CPLEX, as a MIP solver, into parameters. Is this possible?

Post by Fred » 1 week ago

Hi,

The solve trace option might be what you are looking for: https://www.gams.com/latest/docs/UG_Sol ... SOLVETRACE

I hope this helps!

Fred

hossein60
User
User
Posts: 8
Joined: 2 months ago

Re: Saving some iteration log data generated by CPLEX, as a MIP solver, into parameters. Is this possible?

Post by hossein60 » 1 week ago

Hi,
Thank you once again.
But I could not implement the method. Certainly my CPLEX does not include miptrace maybe because of using older version of GAMS, i.e. 24.1.
The provided file in following link also did not helped.
Advanced Use of GAMS Solver Links:
https://old.gams.com/presentations/pres ... m#ICS_2013

The solver based method could not be found in my CPLEX manual. The "GAMS trace files" was also unclear. Certainly a simple example can help if exists.

Best regards;

Hossein

Post Reply