openopt / copt

A Python library for mathematical optimization
http://openo.pt/copt
Other
135 stars 35 forks source link

Good practice on logging #74

Closed GeoffNN closed 3 years ago

GeoffNN commented 4 years ago

What's the easiest / more practical way to log results, and keep them locally? For now, we have the Trace objects, but no writing to file. Should this be part of a logging.py file, or should this functionality be something the user imports from another library?

fabianp commented 4 years ago

Would avoid having our own since many logging systems already exist, but I would definitely make it easy or provide examples on how to adapt existing frameworks to be used in copt (thinking tensorboard for example). What is your opinion?

GeoffNN commented 3 years ago

Agreed. I don't have a preferred logging system now, so open to suggestions.

GeoffNN commented 3 years ago

Todo for myself: try Cox https://github.com/MadryLab/cox