Add number of non-zero parameters to optimizer __str__
Description
As a user, I would like to see on first glance the number of non-zero parameters in my model, i.e. the sparsity of the solution.
To this end, one could simply add another entry to the summary
dictionary of the BaseOptimizer
class.
Demo
- tests pass