I am looking to benchmark my model, for example by plotting the objective bounds over time, for which I would obviously need the bounds.
My initial idea was to extract them directly from the log file, but since that would require parsing a plain text file, I suspect there is a more efficient way. I tried changing the log format by >>> model.Params.LogFile = 'log.csv', but this seems to not affect the file format.
Since I want to use the bounds in the same program, avoiding writing to the hard drive all together would be ideal.
If there are better approaches to benchmarking, I am of course also open to them. It should probably be mentioned that I am using the official Python API.
Thanks in advance!
Please sign in to leave a comment.