DESC icon indicating copy to clipboard operation
DESC copied to clipboard

Have Objective Before/After costs be displayed Concurrently for Each Objective

Open dpanici opened this issue 1 year ago • 1 comments
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

dpanici avatar Jul 08 '24 22:07 dpanici

if print value also returned the printed values, this could be easy to do

dpanici avatar Jul 17 '24 20:07 dpanici