gugarosa / opytimizer

🐦 Opytimizer is a Python library consisting of meta-heuristic optimization algorithms.
https://opytimizer.readthedocs.io
Apache License 2.0
599 stars 40 forks source link

Optimization always returns a history object, which can be saved later. #1

Closed lzfelix closed 5 years ago

lzfelix commented 5 years ago

This PR updates the start() method to return a History object that can be persisted later on, thus allowing the user to inspect the optimization process result and persist it later on. Also, there are made no assumptions on the current dir structure (previously the existence of models/ was assumed).