January 4 2008 11:08:21.614 AM MINPACK_PRB A set of tests for MINPACK. TEST01 CHKDER compares a user supplied jacobian and a finite difference approximation to it and judges whether the jacobian is correct. On the first test, use a correct jacobian. Evaluation point X: 0.500000 0.500000 0.500000 0.500000 0.500000 Sampled function values F(X) and F(XP) 1 -3.00000 -3.00000 2 -3.00000 -3.00000 3 -3.00000 -3.00000 4 -3.00000 -3.00000 5 -0.968750 -0.968750 Computed jacobian 2.00000 1.00000 1.00000 1.00000 1.00000 1.00000 2.00000 1.00000 1.00000 1.00000 1.00000 1.00000 2.00000 1.00000 1.00000 1.00000 1.00000 1.00000 2.00000 1.00000 0.625000E-01 0.625000E-01 0.625000E-01 0.625000E-01 0.625000E-01 CHKDER gradient component error estimates: > 0.5, the component is probably correct. < 0.5, the component is probably incorrect. 1 1.00000 2 1.00000 3 1.00000 4 1.00000 5 1.00000 Repeat the test, but use a "bad" jacobian and see if the routine notices! Evaluation point X: 0.500000 0.500000 0.500000 0.500000 0.500000 Sampled function values F(X) and F(XP) 1 -3.00000 -3.00000 2 -3.00000 -3.00000 3 -3.00000 -3.00000 4 -3.00000 -3.00000 5 -0.968750 -0.968750 Computed jacobian 2.02000 1.00000 1.00000 1.00000 1.00000 1.00000 2.00000 -1.00000 1.00000 1.00000 1.00000 1.00000 2.00000 1.00000 1.00000 1.00000 1.00000 1.00000 2.00000 1.00000 0.625000E-01 0.625000E-01 0.625000E-01 0.625000E-01 0.625000E-01 CHKDER gradient component error estimates: > 0.5, the component is probably correct. < 0.5, the component is probably incorrect. 1 0.354955 2 0.994216E-01 3 1.00000 4 1.00000 5 1.00000 TEST02 HYBRD1 solves a nonlinear system of equations. Returned value of INFO = 1 X: 1.00000 1.00000 F(X): -0.961951E-10 -0.123539E-09 TEST03 HYBRJ1 solves a nonlinear system of equations. Returned value of INFO = 1 X: 1.00000 1.00000 F(X): -0.961951E-10 -0.123539E-09 TEST04 LMDER1 minimizes 4 functions in 2 variables. Returned value of INFO = 3 X: 6.55000 -12.5000 F(X): -1.40000 2.70000 -1.20000 -0.100000 TEST05 LMDER1 minimizes 10 functions in 3 variables. Returned value of INFO = 2 X: 1.00000 3.00000 2.00000 F(X): 0.132339E-12 0.337508E-13 0.238032E-12 0.859757E-12 0.198952E-11 0.369482E-11 0.608225E-11 0.903810E-11 0.128182E-10 0.172804E-10 TEST06 LMDIF1 minimizes 4 functions in 2 variables. Returned value of INFO = 3 X: 6.55000 -12.5000 F(X): -1.40000 2.70000 -1.20000 -0.100000 TEST07 LMDIF1 minimizes 10 functions in 3 variables. Returned value of INFO = 2 X: 1.00000 3.00000 2.00000 F(X): 0.189182E-12 0.426326E-13 0.262901E-12 0.994760E-12 0.237321E-11 0.443379E-11 0.727596E-11 0.109708E-10 0.155467E-10 0.210321E-10 TEST08 LMSTR1 minimizes 4 functions in 2 variables. Returned value of INFO = 2 X: 6.55000 -12.5000 F(X): -1.40000 2.70000 -1.20000 -0.100000 TEST09 LMSTR1 minimizes 10 functions in 3 variables. Returned value of INFO = 2 X: 1.00000 3.00000 2.00000 F(X): 0.133227E-12 0.337508E-13 0.241585E-12 0.859757E-12 0.198952E-11 0.369482E-11 0.608225E-11 0.903810E-11 0.128182E-10 0.172804E-10 MINPACK_PRB Normal end of execution. January 4 2008 11:08:21.619 AM