Gurobi / gurobi-logtools

Extract and visualize information from Gurobi log files
Apache License 2.0
102 stars 16 forks source link

Add command line option to copy/rename logs #34

Closed simonbowly closed 1 year ago

simonbowly commented 1 year ago

Adds a --write-to-dir <directory> option to the command line script. This option copies logs to files following a {version}-{parameters}-{modelname}-{seed} naming scheme. Useful for tuner logs, or if a user just has a set of runs in the default gurobi.log file and wants to separate them.

@maliheha could you review this? The idea is to collect all the log lines in the active SingleLogParser, then when we move to the next log, write all those lines to a single file.