Allow formatting for values in problem output
Description:
When solving mathematical problems, the final output displaying the results for the unknowns and residues can be challenging to interpret, especially when dealing with large problems. The raw values, as currently displayed, may make it difficult to assess the convergence at a glance.
Proposal:
Introduce a way to format the values in the problem output. While it may be interesting to better format the output, I'm not sure what the best implementation approach is. That's why I'd like to open this question for discussion.
Current situation
Here is an example taken from the documentation : https://cosapp.readthedocs.io/en/latest/tutorials/08-Multipoints-Design.html#Export-recorded-data
This is a fairly simple example with 7 unknowns, but the output may be more complicated to analyze when the problem contains dozens of unknowns / residuals.