R Under development (unstable) (2023-12-09 r85665 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > ## source R-script at inst/unit_tests/unit_test_gslnls.R > source(system.file("unit_tests", "unit_tests_gslnls.R", package = "gslnls"), local = TRUE) Loading required package: gslnls Running gsnls unit tests... iter 1: ssr = 586.393, par = (674.168, 0.000200649) iter 2: ssr = 223.939, par = (455.269, 0.000245159) iter 3: ssr = 51.497, par = (388.435, 0.000306208) iter 4: ssr = 38.9436, par = (328.231, 0.000369903) iter 5: ssr = 7.20293, par = (301.398, 0.000416731) iter 6: ssr = 3.09028, par = (281.434, 0.00045268) iter 7: ssr = 1.463, par = (266.047, 0.000483759) iter 8: ssr = 0.607647, par = (255.471, 0.000507893) iter 9: ssr = 0.277058, par = (246.99, 0.000528517) iter 10: ssr = 0.147434, par = (242.193, 0.000541258) iter 11: ssr = 0.125826, par = (239.538, 0.000548465) iter 12: ssr = 0.124556, par = (238.987, 0.000550031) iter 13: ssr = 0.124551, par = (238.943, 0.000550153) iter 14: ssr = 0.124551, par = (238.942, 0.000550156) iter 15: ssr = 0.124551, par = (238.942, 0.000550156) iter 16: ssr = 0.124551, par = (238.942, 0.000550156) ******************* summary from method 'multifit/levenberg-marquardt' number of iterations: 16 reason for stopping: input domain error initial ssr = 10780.2 final ssr = 0.124551 ssr/dof = 0.0103793 ssr achieved tolerance = 1.11716e-14 function evaluations: 53 jacobian evaluations: 0 fvv evaluations: 0 status = success ******************* iter 1: ssr = 19.45, par = (0.7, 0.7, 0.7, 0.7, 0.7) iter 2: ssr = 11.05, par = (0.1, 0.1, 0.1, 0.1, 0.1) iter 3: ssr = 5, par = (-1, -1, -1, -1, -1) ******************* summary from method 'multifit/2D-subspace' number of iterations: 3 reason for stopping: output range error initial ssr = 25 final ssr = 5 ssr/dof = 1 ssr achieved tolerance = 6.05 function evaluations: 4 jacobian evaluations: 4 fvv evaluations: 0 status = success ******************* iter 1: ssr = 586.393, |x|^2 = 454502, cond(J) = 1.85011e+08 iter 2: ssr = 223.94, |x|^2 = 207270, cond(J) = 8.21035e+07 iter 3: ssr = 51.4968, |x|^2 = 150881, cond(J) = 4.37488e+07 iter 4: ssr = 38.944, |x|^2 = 107735, cond(J) = 2.46605e+07 iter 5: ssr = 7.20277, |x|^2 = 90840.7, cond(J) = 1.74949e+07 iter 6: ssr = 3.09038, |x|^2 = 79204.5, cond(J) = 1.3639e+07 iter 7: ssr = 1.46293, |x|^2 = 70781.2, cond(J) = 1.11458e+07 iter 8: ssr = 0.60766, |x|^2 = 65265.1, cond(J) = 9.6137e+06 iter 9: ssr = 0.277044, |x|^2 = 61004.2, cond(J) = 8.51113e+06 iter 10: ssr = 0.147436, |x|^2 = 58657.5, cond(J) = 7.91613e+06 iter 11: ssr = 0.125826, |x|^2 = 57378.5, cond(J) = 7.60256e+06 iter 12: ssr = 0.124556, |x|^2 = 57114.8, cond(J) = 7.53713e+06 iter 13: ssr = 0.124551, |x|^2 = 57094, cond(J) = 7.53205e+06 iter 14: ssr = 0.124551, |x|^2 = 57093.3, cond(J) = 7.5319e+06 iter 15: ssr = 0.124551, |x|^2 = 57093.3, cond(J) = 7.5319e+06 iter 16: ssr = 0.124551, |x|^2 = 57093.3, cond(J) = 7.5319e+06 ******************* summary from method 'multilarge/levenberg-marquardt' number of iterations: 16 reason for stopping: input domain error initial ssr = 10780.2 final ssr = 0.124551 ssr/dof = 0.0103793 ssr achieved tolerance = 0 function evaluations: 34 jacobian-vector product evaluations: 16 jacobian-jacobian product evaluations: 16 fvv evaluations: 0 status = success ******************* iter 1: ssr = 19.45, |x|^2 = 2.45, cond(J) = 1 iter 2: ssr = 11.05, |x|^2 = 0.05, cond(J) = 1 iter 3: ssr = 5, |x|^2 = 5, cond(J) = 1 ******************* summary from method 'multilarge/double-dogleg' number of iterations: 3 reason for stopping: output range error initial ssr = 25 final ssr = 5 ssr/dof = 1 ssr achieved tolerance = 6.05 function evaluations: 4 jacobian-vector product evaluations: 4 jacobian-jacobian product evaluations: 4 fvv evaluations: 0 status = success ******************* mstart ssr* = 1168.01, cond(J) = 173.929, NSP = 1, NWSP = 0, par = (213.81, 0.547231) multi-start algorithm finished successfully (NSP = 1, NWSP = 4, # iterations = 2) ******************* iter 1: ssr = 1168.01, par = (213.81, 0.547236) iter 2: ssr = 1168.01, par = (213.809, 0.547237) iter 3: ssr = 1168.01, par = (213.809, 0.547237) ******************* summary from method 'multifit/levenberg-marquardt' number of iterations: 3 reason for stopping: output range error initial ssr = 1168.01 final ssr = 1168.01 ssr/dof = 292.002 ssr achieved tolerance = 1.5259e-09 function evaluations: 12 jacobian evaluations: 0 fvv evaluations: 0 status = success ******************* mstart ssr* = 3.85856e-17, cond(J) = 91.7631, NSP = 1, NWSP = 0, par = (1, 10, 1) multi-start algorithm finished successfully (NSP = 1, NWSP = 4, # iterations = 2) ******************* iter 1: ssr = 3.85856e-17, par = (1, 10, 1) ******************* summary from method 'multifit/levenberg-marquardt' number of iterations: 1 reason for stopping: input domain error initial ssr = 3.85856e-17 final ssr = 3.85856e-17 ssr/dof = 5.51224e-18 ssr achieved tolerance = 4.44809e-25 function evaluations: 2 jacobian evaluations: 2 fvv evaluations: 0 status = success ******************* Completed gslnls unit tests > > proc.time() user system elapsed 0.95 0.12 1.06