Re: [Gurobi] How to save log file of gurbi for diffrent models

1,269 views
Skip to first unread message

Renan Garcia

unread,
Dec 3, 2015, 9:36:20 AM12/3/15
to gur...@googlegroups.com
Use the LogFile parameter (http://www.gurobi.com/documentation/6.5/refman/logfile.html#parameter:LogFile) with a different name for each model. For example,

  m1.params.LogFile='m1.log'
  m2.params.LogFile='m2.log'

On Dec 2, 2015, at 7:57 PM, Hasan <hman...@uw.edu> wrote:


I'm running a gurobi code that solves several MIP models in sequence and save the outputs. I would like to save the log file of gurobi for each model SEPARATELY. At this time, it seems that all of them are combined into a single text file. I set  m.params.OutputFlag=1 and I'm using Python-Gurobi interface. Can anyone let me know how I can do it? Thanks! 

--

---
You received this message because you are subscribed to the Google Groups "Gurobi Optimization" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hasan

unread,
Dec 3, 2015, 1:35:31 PM12/3/15
to Gurobi Optimization
Thank you!
Reply all
Reply to author
Forward
0 new messages