Log File in Gurobi 9?
AnsweredJust updated to Gurobi 9. Was the log file output disabled by default in Gurobi 9?
If so, is there a way to permanently change the parameter responsible to always output a log file by default, as in Gurobi 8?
Thanks!
-
Hi Ahmad -
Yes, for v9.0 there is a change in the default for creating the logfile; the default log file only exits for gurobi_cl and the interactive shell with v9.0. Otherwise, you need to set the LogFile parameter.
Gwyneth
0 -
Thanks for the quick reply.
For someone who is used to having the log file outputting by default, setting the parameter each time I run a model is quite cumbersome. Is there a way to change the default value to avoid having to do this every time?
0 -
Hi,
I am setting the LogFile parameter manually but the file is almost empty! The only part copied to my logfile is this:Gurobi 9.0.1 (win64) logging started 04/22/20 14:49:32
Changed value of parameter LogFile to gurobi.log
Prev: Default:
Parameter OutputFlag unchanged
Value: 1 Min: 0 Max: 1 Default: 1
Discarded solution informationWould you please tell me what I am doing wrong or what's the correct way to set the LogFile parameter?
Thanks.
0 -
Hi Vincent,
Make sure to put it before the "optimize" method.
1 -
That was actually the issue!
Thank you Danial Ramin.
0
Please sign in to leave a comment.
Comments
5 comments