Package evaluation of DFOTrustRegion on Julia 1.13.0-DEV.985 (9c94e7ae32*) started at 2025-08-14T11:45:30.134 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.17s ################################################################################ # Installation # Installing DFOTrustRegion... Resolving package versions... Updating `~/.julia/environments/v1.13/Project.toml` [9c8d5c2c] + DFOTrustRegion v0.1.0 Updating `~/.julia/environments/v1.13/Manifest.toml` [9c8d5c2c] + DFOTrustRegion v0.1.0 [10745b16] + Statistics v1.11.1 [56f22d72] + Artifacts v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.0 [de0858da] + Printf v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [4536629a] + OpenBLAS_jll v0.3.29+0 [8e850b90] + libblastrampoline_jll v5.13.1+0 Installation completed after 1.11s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 15.46s ################################################################################ # Testing # Testing DFOTrustRegion Status `/tmp/jl_mUrYrn/Project.toml` [9c8d5c2c] DFOTrustRegion v0.1.0 [10745b16] Statistics v1.11.1 [37e2e46d] LinearAlgebra v1.13.0 [de0858da] Printf v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_mUrYrn/Manifest.toml` [9c8d5c2c] DFOTrustRegion v0.1.0 [10745b16] Statistics v1.11.1 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.11.0 [8dfed614] Test v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [4536629a] OpenBLAS_jll v0.3.29+0 [8e850b90] libblastrampoline_jll v5.13.1+0 Testing Running tests... ================================================================================ DFO-TR Comprehensive Solver Test Suite ================================================================================ ============================================================ Testing: Sphere Function Starting point: [2.0 3.0] Expected minimum: 0.0 at [0.0 0.0] DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 1.025000e+01 | 1.00000 | ----------- | 5 | 1 | 1 | 4.870948e+00 | 1.50000 | 0.866038 | 5 | 2 | 1 | 4.998806e-01 | 2.25000 | 1.000000 | 6 | 3 | 1 | 4.747741e-28 | 3.37500 | 1.000000 | 6 ================================================== DFO-TR Final Report Gradient norm: 0.0 Iterations: 3 | Successful: 3 | Function evals: 8 Final objective: 0.0 Final trust radius: 3.375 ================================================== Results: Converged: ✓ Final objective: 0.0 Final point: [-0.0 0.0] Distance to optimum: 0.0 Iterations: 3 Function evaluations: 8 Success rate: 100.0% Status: PASSED ✓ ============================================================ Testing: Rosenbrock Function Starting point: [-1.2 1.0] Expected minimum: 0.0 at [1.0 1.0] DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 5.200000e+00 | 1.00000 | ----------- | 5 | 1 | 0 | 5.200000e+00 | 0.80000 | -1.721733 | 5 | 2 | 1 | 3.534076e+00 | 0.80000 | 0.053963 | 6 | 3 | 0 | 3.534076e+00 | 0.64000 | -0.388843 | 6 | 4 | 1 | 2.508739e+00 | 0.64000 | 0.054808 | 6 | 5 | 0 | 2.508739e+00 | 0.51200 | -0.512700 | 6 | 6 | 0 | 2.508739e+00 | 0.40960 | -2.030322 | 6 | 7 | 0 | 2.508739e+00 | 0.32768 | -0.254039 | 6 | 8 | 0 | 2.508739e+00 | 0.26214 | -3.508338 | 6 | 9 | 0 | 2.508739e+00 | 0.20972 | -0.734178 | 6 | 10 | 1 | 2.160609e+00 | 0.20972 | 0.459910 | 6 | 11 | 1 | 2.132334e+00 | 0.20972 | 0.343280 | 6 | 12 | 0 | 2.132334e+00 | 0.16777 | -3.075031 | 6 | 13 | 1 | 1.795316e+00 | 0.25166 | 1.723018 | 6 | 14 | 0 | 1.795316e+00 | 0.20133 | -0.380314 | 6 | 15 | 1 | 1.661934e+00 | 0.30199 | 3.517561 | 6 | 16 | 1 | 9.987048e-01 | 0.30199 | 0.411616 | 6 | 17 | 0 | 9.987048e-01 | 0.24159 | -8.477259 | 6 | 18 | 0 | 9.987048e-01 | 0.19327 | -1.578957 | 6 | 19 | 0 | 9.987048e-01 | 0.15462 | -0.889198 | 6 | 20 | 1 | 7.020467e-01 | 0.15462 | 0.424978 | 6 | 21 | 0 | 7.020467e-01 | 0.12370 | -1.045039 | 6 | 22 | 0 | 7.020467e-01 | 0.09896 | -1.456479 | 6 | 23 | 0 | 7.020467e-01 | 0.07916 | -1.804179 | 6 | 24 | 1 | 5.785325e-01 | 0.11875 | 5.927685 | 6 | 25 | 1 | 5.302907e-01 | 0.17812 | 3.936353 | 6 | 26 | 1 | 3.602425e-01 | 0.17812 | 0.559770 | 6 | 27 | 0 | 3.602425e-01 | 0.14250 | -8.433739 | 6 | 28 | 0 | 3.602425e-01 | 0.11400 | -0.116999 | 6 | 29 | 0 | 3.602425e-01 | 0.09120 | -0.291692 | 6 | 30 | 1 | 3.388587e-01 | 0.09120 | 0.490068 | 6 | 31 | 1 | 2.673270e-01 | 0.09120 | 0.500777 | 6 | 32 | 1 | 2.032820e-01 | 0.13680 | 0.850823 | 6 | 33 | 1 | 1.483784e-01 | 0.13680 | 0.618745 | 6 | 34 | 0 | 1.483784e-01 | 0.10944 | -4.856072 | 6 | 35 | 0 | 1.483784e-01 | 0.08755 | -0.755205 | 6 | 36 | 1 | 9.692558e-02 | 0.08755 | 0.241687 | 6 | 37 | 1 | 9.443148e-02 | 0.13132 | 36.160676 | 6 | 38 | 1 | 5.400262e-02 | 0.13132 | 0.578381 | 6 | 39 | 1 | 3.687389e-02 | 0.19699 | 0.764409 | 6 | 40 | 0 | 3.687389e-02 | 0.15759 | -13.264263 | 6 | 41 | 1 | 3.542037e-02 | 0.15759 | 0.038491 | 6 | 42 | 0 | 3.542037e-02 | 0.12607 | -1.915919 | 6 | 43 | 1 | 2.599047e-02 | 0.18911 | 0.842983 | 6 | 44 | 1 | 2.149291e-02 | 0.28366 | 5.115112 | 6 | 45 | 0 | 2.149291e-02 | 0.22693 | -0.986905 | 6 | 46 | 1 | 2.051216e-02 | 0.22693 | 0.049625 | 6 | 47 | 1 | 9.337217e-03 | 0.34039 | 1.565127 | 6 | 48 | 0 | 9.337217e-03 | 0.27232 | -2.660437 | 6 | 49 | 0 | 9.337217e-03 | 0.21785 | -2.333943 | 6 | 50 | 0 | 9.337217e-03 | 0.17428 | -2.084287 | 6 | 51 | 0 | 9.337217e-03 | 0.13943 | -1.891535 | 6 | 52 | 0 | 9.337217e-03 | 0.11154 | -1.741574 | 6 | 53 | 0 | 9.337217e-03 | 0.08923 | -0.307410 | 6 | 54 | 1 | 4.544029e-03 | 0.13385 | 0.822856 | 6 | 55 | 0 | 4.544029e-03 | 0.10708 | -6.420702 | 6 | 56 | 1 | 4.633267e-04 | 0.10708 | 0.603415 | 6 | 57 | 0 | 4.633267e-04 | 0.08566 | -2.228447 | 6 | 58 | 0 | 4.633267e-04 | 0.06853 | -4.806225 | 6 | 59 | 1 | 9.362288e-05 | 0.10280 | 1.297926 | 6 | 60 | 1 | 6.502569e-05 | 0.15419 | 3.632951 | 6 | 61 | 1 | 1.380234e-06 | 0.23129 | 1.013035 | 6 | 62 | 0 | 1.380234e-06 | 0.18503 | -16.314909 | 6 | 63 | 1 | 1.209862e-07 | 0.18503 | 0.696358 | 6 | 64 | 1 | 1.468756e-08 | 0.27755 | 1.464887 | 6 | 65 | 1 | 7.915864e-12 | 0.41632 | 0.993430 | 6 | 66 | 1 | 1.497842e-12 | 0.41632 | 0.632778 | 6 ================================================== DFO-TR Final Report Gradient norm: 2.576e-5 Iterations: 66 | Successful: 33 | Function evals: 71 Final objective: 0.0 Final trust radius: 0.41632234 ================================================== Results: Converged: ✓ Final objective: 0.0 Final point: [0.999999 0.999998] Distance to optimum: 3.0e-6 Iterations: 66 Function evaluations: 71 Success rate: 50.0% Status: PASSED ✓ ============================================================ Testing: 2D Quadratic Starting point: [1.0 2.0] Expected minimum: 0.0 at [0.0 0.0] DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 5.500000e+00 | 1.00000 | ----------- | 5 | 1 | 1 | 1.078444e+00 | 1.00000 | 0.699392 | 5 | 2 | 1 | 1.873545e-30 | 1.50000 | 1.000000 | 6 ================================================== DFO-TR Final Report Gradient norm: 0.0 Iterations: 2 | Successful: 2 | Function evals: 7 Final objective: 0.0 Final trust radius: 1.5 ================================================== Results: Converged: ✓ Final objective: 0.0 Final point: [0.0 0.0] Distance to optimum: 0.0 Iterations: 2 Function evaluations: 7 Success rate: 100.0% Status: PASSED ✓ ============================================================ Testing: Booth Function Starting point: [0.0 0.0] Expected minimum: 0.0 at [1.0 3.0] DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 5.625000e+01 | 1.00000 | ----------- | 5 | 1 | 1 | 2.062858e+01 | 1.50000 | 0.774544 | 5 | 2 | 1 | 1.646274e-26 | 2.25000 | 1.000000 | 6 ================================================== DFO-TR Final Report Gradient norm: 0.0 Iterations: 2 | Successful: 2 | Function evals: 7 Final objective: 0.0 Final trust radius: 2.25 ================================================== Results: Converged: ✓ Final objective: 0.0 Final point: [1.0 3.0] Distance to optimum: 0.0 Iterations: 2 Function evaluations: 7 Success rate: 100.0% Status: PASSED ✓ ============================================================ Testing: Ill-conditioned Quadratic Starting point: [1.0 10.0] Expected minimum: 0.0 at [0.0 0.0] DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 2.600000e-01 | 1.00000 | ----------- | 5 | 1 | 0 | 2.600000e-01 | 0.80000 | -0.000100 | 5 | 2 | 1 | 8.789741e-03 | 1.20000 | 1.001993 | 6 | 3 | 1 | 6.683619e-03 | 1.80000 | 1.000000 | 6 | 4 | 1 | 4.064496e-03 | 2.70000 | 1.000000 | 6 | 5 | 1 | 1.350813e-03 | 4.05000 | 1.000000 | 6 | 6 | 1 | 1.260110e-23 | 6.07500 | 1.000000 | 6 ================================================== DFO-TR Final Report Gradient norm: 3.0e-8 Iterations: 6 | Successful: 5 | Function evals: 11 Final objective: 0.0 Final trust radius: 6.075 ================================================== Results: Converged: ✓ Final objective: 0.0 Final point: [0.0 0.0] Distance to optimum: 0.0 Iterations: 6 Function evaluations: 11 Success rate: 83.3% Status: PASSED ✓ ============================================================ Testing: Non-symmetric Curvature Starting point: [1.0 2.0] Expected minimum: 0.0 at [0.0 0.0] DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 1.650000e+00 | 1.00000 | ----------- | 5 | 1 | 1 | 1.154085e+00 | 1.00000 | 0.097058 | 5 | 2 | 1 | 5.111156e-02 | 1.50000 | 1.000000 | 6 | 3 | 1 | 5.148781e-29 | 2.25000 | 1.000000 | 6 ================================================== DFO-TR Final Report Gradient norm: 0.0 Iterations: 3 | Successful: 3 | Function evals: 8 Final objective: 0.0 Final trust radius: 2.25 ================================================== Results: Converged: ✓ Final objective: 0.0 Final point: [0.0 0.0] Distance to optimum: 0.0 Iterations: 3 Function evaluations: 8 Success rate: 100.0% Status: PASSED ✓ ============================================================ Testing: Nearly Flat Exponential Starting point: [2.0 2.0] Expected minimum: 1.0 at [0.0 0.0] DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 3.535750e-05 | 1.00000 | ----------- | 5 | 1 | 1 | 1.004857e-06 | 1.00000 | 0.049544 | 5 | 2 | 0 | 1.004857e-06 | 0.80000 | -0.010817 | 6 | 3 | 1 | 4.621293e-07 | 0.80000 | 0.003526 | 6 | 4 | 0 | 4.621293e-07 | 0.64000 | -0.023846 | 6 | 5 | 0 | 4.621293e-07 | 0.51200 | -0.019905 | 6 | 6 | 0 | 4.621293e-07 | 0.40960 | -0.112527 | 6 | 7 | 1 | 2.925809e-07 | 0.40960 | 0.016948 | 6 | 8 | 0 | 2.925809e-07 | 0.32768 | -0.044156 | 6 | 9 | 1 | 1.004763e-07 | 0.32768 | 0.511764 | 6 | 10 | 1 | 8.765721e-08 | 0.32768 | 0.038752 | 6 | 11 | 0 | 8.765721e-08 | 0.26214 | -0.471716 | 6 | 12 | 0 | 8.765721e-08 | 0.20972 | -0.164818 | 6 | 13 | 1 | 2.390771e-08 | 0.20972 | 0.061871 | 6 | 14 | 1 | 1.873911e-08 | 0.20972 | 0.044120 | 6 | 15 | 0 | 1.873911e-08 | 0.16777 | -0.910947 | 6 | 16 | 1 | 1.724397e-08 | 0.16777 | 0.068279 | 6 | 17 | 0 | 1.724397e-08 | 0.13422 | -0.109630 | 6 | 18 | 1 | 1.660886e-08 | 0.20133 | 12.225664 | 6 | 19 | 1 | 9.302429e-09 | 0.30199 | 1.116794 | 6 | 20 | 1 | 4.614339e-09 | 0.45298 | 0.860402 | 6 | 21 | 1 | 2.950168e-09 | 0.45298 | 0.167653 | 6 | 22 | 1 | 5.497112e-10 | 0.45298 | 0.380661 | 6 | 23 | 0 | 5.497112e-10 | 0.36239 | -0.181480 | 6 | 24 | 0 | 5.497112e-10 | 0.28991 | -0.038277 | 6 | 25 | 0 | 5.497112e-10 | 0.23193 | -0.418308 | 6 | 26 | 1 | 2.660512e-10 | 0.34789 | 1.310677 | 6 | 27 | 1 | 1.029248e-10 | 0.52184 | 1.421031 | 6 | 28 | 0 | 1.029248e-10 | 0.41747 | -0.304407 | 6 | 29 | 0 | 1.029248e-10 | 0.33398 | -0.012364 | 6 | 30 | 1 | 5.710340e-11 | 0.33398 | 0.486298 | 6 | 31 | 0 | 5.710340e-11 | 0.26718 | -0.760891 | 6 | 32 | 0 | 5.710340e-11 | 0.21375 | -0.387976 | 6 | 33 | 0 | 5.710340e-11 | 0.17100 | -1.110459 | 6 | 34 | 1 | 3.298950e-11 | 0.25649 | 0.935146 | 6 | 35 | 1 | 2.325749e-11 | 0.25649 | 0.287735 | 6 | 36 | 1 | 1.355100e-11 | 0.25649 | 0.687208 | 6 | 37 | 1 | 1.214342e-11 | 0.25649 | 0.075899 | 6 | 38 | 1 | 4.387589e-12 | 0.25649 | 0.586001 | 6 | 39 | 0 | 4.387589e-12 | 0.20520 | -0.216961 | 6 ================================================== DFO-TR Final Report Gradient norm: 0.0 Iterations: 39 | Successful: 21 | Function evals: 44 Final objective: 0.0 Final trust radius: 0.20519526 ================================================== Results: Converged: ✓ Final objective: 0.0 Final point: [4.002238 3.183447] Distance to optimum: 5.113926 Iterations: 39 Function evaluations: 44 Success rate: 53.8% Status: PASSED ✓ ============================================================ Testing: Small Reduction Function Starting point: [1.0 1.0] Expected minimum: 0.0 at [0.0 0.0] DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 1.575000e-06 | 1.00000 | ----------- | 5 | 1 | 1 | 4.544120e-08 | 1.00000 | 0.310573 | 5 | 2 | 0 | 4.544120e-08 | 0.80000 | -0.025846 | 6 | 3 | 0 | 4.544120e-08 | 0.64000 | -0.290253 | 6 | 4 | 0 | 4.544120e-08 | 0.51200 | -0.940434 | 6 | 5 | 1 | 2.219043e-08 | 0.51200 | 0.297276 | 6 | 6 | 0 | 2.219043e-08 | 0.40960 | -1.095152 | 6 | 7 | 0 | 2.219043e-08 | 0.32768 | -0.185383 | 6 | 8 | 1 | 1.263312e-08 | 0.49152 | 1.390385 | 6 | 9 | 1 | 7.268656e-09 | 0.73728 | 2.236900 | 6 | 10 | 1 | 3.983261e-09 | 1.10592 | 1.700714 | 6 | 11 | 1 | 2.627596e-09 | 1.65888 | 1.478756 | 6 | 12 | 0 | 2.627596e-09 | 1.32710 | -0.943626 | 6 | 13 | 0 | 2.627596e-09 | 1.06168 | -12.274138 | 6 | 14 | 0 | 2.627596e-09 | 0.84935 | -7.320106 | 6 | 15 | 0 | 2.627596e-09 | 0.67948 | -4.301861 | 6 | 16 | 0 | 2.627596e-09 | 0.54358 | -2.482652 | 6 | 17 | 0 | 2.627596e-09 | 0.43487 | -1.397497 | 6 | 18 | 0 | 2.627596e-09 | 0.34789 | -0.754176 | 6 | 19 | 0 | 2.627596e-09 | 0.27831 | -0.370290 | 6 | 20 | 0 | 2.627596e-09 | 0.22265 | -0.133288 | 6 | 21 | 1 | 2.309888e-09 | 0.22265 | 0.024966 | 6 | 22 | 1 | 1.461126e-09 | 0.22265 | 0.550148 | 6 | 23 | 0 | 1.461126e-09 | 0.17812 | -12.870902 | 6 | 24 | 0 | 1.461126e-09 | 0.14250 | -10.032647 | 6 | 25 | 0 | 1.461126e-09 | 0.11400 | -8.157809 | 6 | 26 | 1 | 3.708345e-10 | 0.17100 | 0.968249 | 6 | 27 | 0 | 3.708345e-10 | 0.13680 | -14.332002 | 6 | 28 | 1 | 1.097639e-10 | 0.13680 | 0.106575 | 6 | 29 | 0 | 1.097639e-10 | 0.10944 | -3.882634 | 6 | 30 | 1 | 6.980760e-11 | 0.10944 | 0.172184 | 6 | 31 | 0 | 6.980760e-11 | 0.08755 | -2.571427 | 6 | 32 | 1 | 5.869408e-11 | 0.13132 | 1.388564 | 6 | 33 | 1 | 4.770158e-11 | 0.19699 | 3.740353 | 6 | 34 | 0 | 4.770158e-11 | 0.15759 | -1.114552 | 6 | 35 | 1 | 2.726594e-11 | 0.23638 | 1.549778 | 6 | 36 | 1 | 1.100817e-11 | 0.35458 | 1.768066 | 6 | 37 | 1 | 3.526160e-12 | 0.53187 | 0.916798 | 6 | 38 | 1 | 3.393305e-12 | 0.53187 | 0.132855 | 6 | 39 | 1 | 2.951739e-12 | 0.53187 | 0.441566 | 6 | 40 | 1 | 4.378352e-13 | 0.79780 | 1.381209 | 6 | 41 | 0 | 4.378352e-13 | 0.63824 | -1.139701 | 6 | 42 | 1 | 2.022540e-14 | 0.63824 | 0.417610 | 6 | 43 | 0 | 2.022540e-14 | 0.51059 | -0.377857 | 6 | 44 | 1 | 2.247576e-16 | 0.51059 | 0.020001 | 6 ================================================== DFO-TR Final Report Gradient norm: 0.0 Iterations: 44 | Successful: 21 | Function evals: 49 Final objective: 0.0 Final trust radius: 0.51059146 ================================================== Results: Converged: ✓ Final objective: 0.0 Final point: [2.0e-5 0.000149] Distance to optimum: 0.00015 Iterations: 44 Function evaluations: 49 Success rate: 47.7% Status: PASSED ✓ ============================================================ Testing: Rastrigin Function (Multi-modal) Note: This function has many local minima - convergence to global minimum not guaranteed DFO-TR Iteration Report | it | suc | objective | TR_radius | rho | |Y| | 0 | --- | 2.325000e+01 | 1.00000 | ----------- | 5 | 1 | 0 | 2.325000e+01 | 0.80000 | -0.012658 | 5 ================================================== DFO-TR Final Report Gradient norm: 0.0 Iterations: 1 | Successful: 0 | Function evals: 6 Final objective: 23.25 Final trust radius: 0.8 ================================================== Results: Final objective: 23.25 Final point: [1.0 1.5] Iterations: 1 Function evaluations: 6 Status: PARTIAL (algorithm ran but high final value) ============================================================ Testing: Small Initial Trust Region Status: PASSED ✓ ============================================================ Testing: Single Variable Function Status: PASSED ✓ ============================================================ Testing: Higher Dimensional Function (5D) Final objective: 0.0 Status: PASSED ✓ Test Summary: | Pass Total Time DFO-TR Solver Procedures | 50 50 1m09.3s ================================================================================ DFO-TR Comprehensive Test Suite Completed ================================================================================ Summary: - Standard functions: Sphere, Rosenbrock, 2D Quadratic, Booth - Challenging functions: Ill-conditioned, Non-symmetric, Nearly flat, Small reductions - Multi-modal: Rastrigin (local minima expected) - Edge cases: Small trust region, 1D, 5D functions The solver demonstrates robust performance across diverse optimization landscapes. Testing DFOTrustRegion tests passed Testing completed after 75.34s PkgEval succeeded after 112.37s