cashocs.io.managers.ResultManager#
- class cashocs.io.managers.ResultManager(
- db: database.Database,
- result_dir: str,
Bases:
IOManagerClass for managing the output of the optimization history.
Initializes self.
- Parameters:
db (database.Database) – The database of the problem.
result_dir (str) – Path to the directory, where the results are saved.
Methods Summary
output()Saves the optimization history to a dictionary.
The output operation, which is performed after convergence.
Saves the history of the optimization to a .json file.
Methods Documentation