cashocs.io.managers.IOManager#
- class cashocs.io.managers.IOManager(db: database.Database, result_dir: str)[source]#
Bases:
ABC
Abstract base class for input / output management.
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
()The output operation, which is performed after every iteration.
The output operation, which is performed after convergence.
The output operation which is performed as part of the postprocessing.
Methods Documentation
- abstractmethod output() None [source]#
The output operation, which is performed after every iteration.
- Parameters:
solver – The optimization algorithm.
- Return type:
None