Opened 7 years ago

Last modified 3 years ago

#4510 new defect

Importance of residual scaling for the proper operation of the default nonlinear solver

Reported by: Francesco Casella Owned by: somebody
Priority: critical Milestone:
Component: Run-time Version:
Keywords: Cc:

Description

This test is similar to the one shown in #4395, but it uses the standard nonlinear solver, see the attached file.

Test2 is nicely scaled by itself. Test3 is badly scaled, but has all the nominal attributes needed to scale it up correctly.

Test2 runs in 0.7 seconds on my PC. Test3 takes 51 seconds. My conjecture is that if residuals are scaled as suggested in ticket:4395#comment:3 (a trivial operation) there is no reason performance on Test3 should not be about the same as on Test2.

Attachments (2)

test-nonlin.mos (1.2 KB ) - added by Francesco Casella 7 years ago.
test-nonlin-v3.mos (1.6 KB ) - added by Francesco Casella 7 years ago.

Download all attachments as: .zip

Change History (9)

by Francesco Casella, 7 years ago

Attachment: test-nonlin.mos added

comment:1 by Francesco Casella, 7 years ago

I have been able to turn on LOG_NLS_V. The well scaled problem converges in 5 iterations, while the badly scaled one takes over 14900 iterations (!)

comment:2 by Francesco Casella, 7 years ago

You may want to use the attached test-nonlin-v3.mos for a more comprehensive stressing of the solver.

by Francesco Casella, 7 years ago

Attachment: test-nonlin-v3.mos added

comment:3 by Francesco Casella, 6 years ago

Milestone: 1.13.01.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:4 by Francesco Casella, 5 years ago

Milestone: 1.14.01.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:5 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:6 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:7 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.