cashocs.io.managers.generate_summary_str#

cashocs.io.managers.generate_summary_str(db: database.Database, precision: int) str[source]#

Generates a string for the summary of the optimization.

Parameters:
  • db (database.Database) – The database of the problem.

  • precision (int) – The precision used for displaying the numbers.

Returns:

The summary string.

Return type:

str