DESC
DESC copied to clipboard
Have Objective Before/After costs be displayed Concurrently for Each Objective
trafficstars
When there are lots of objectives, it is hard to take a glance at the output of an optimization and see how the objectives each changed before/after the optimization.
For example,
Start of solver
Total (sum of squares): 6.194e+03,
Maximum absolute Boundary normal field error: 2.853e-01 (T m^2)
Minimum absolute Boundary normal field error: 2.050e-16 (T m^2)
Average absolute Boundary normal field error: 9.486e-02 (T m^2)
.. etc etc for another 50 lines
End of solver
Total (sum of squares): 6.389e+01,
Maximum absolute Boundary normal field error: 1.127e-02 (T m^2)
Minimum absolute Boundary normal field error: 1.378e-16 (T m^2)
Average absolute Boundary normal field error: 3.303e-03 (T m^2)
.. etc etc
It would be easier if we could display them differently, like this
Objective : Start of solver ---> End of solver
Total (sum of squares): 6.194e+03 ---> 6.389e+01
Maximum absolute Boundary normal field error: 2.853e-01 (T m^2) ---> 1.127e-02 (T m^2)
Minimum absolute Boundary normal field error: 2.050e-16 (T m^2) ---> 1.378e-16 (T m^2)
... etc etcetc
if print value also returned the printed values, this could be easy to do