Closed brosaplanella closed 1 year ago
Add the __str__ method to the OptimisationResult class so it prints nicely the outcome (e.g. optimal values, function value, solving time...). Then, people can just type print(result) to get all the info.
__str__
OptimisationResult
print(result)
Add the
__str__
method to theOptimisationResult
class so it prints nicely the outcome (e.g. optimal values, function value, solving time...). Then, people can just typeprint(result)
to get all the info.