paramm-team / pybamm-param

Parameter optimisation for PyBaMM.
BSD 3-Clause "New" or "Revised" License
37 stars 8 forks source link

Add `__str__` to `OptimistationResult` #20

Closed brosaplanella closed 1 year ago

brosaplanella commented 2 years 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.