cashocs.io.managers.TempFileManager#
- class cashocs.io.managers.TempFileManager(db: database.Database, result_dir: str)[source]#
Bases:
IOManager
Class for managing temporary files.
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.
Deletes temporary files.
Methods Documentation
- output() None [source]#
The output operation, which is performed after every iteration.
- Parameters:
solver – The optimization algorithm.
- Return type:
None