get additional model 'attributes' from MIP run
AnsweredIn my Gurobi log I see information that is not obviously available through the Python API:
Reading time = 153.94 seconds
Presolve removed 52 rows and 53 columns (presolve time = 15s) ...
How do I capture this information from the API? The only way I can think to capture what happens in presolve is to seperately presolve() and then optimize() and record the clock time. Is there a better way?
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi,
I am sorry, we don't offer a attribute or an API method to query the reading time or the presolve time. The only way of getting these number is to parse the log file.
Best regards,
Sonja
0
Post is closed for comments.
Comments
2 comments