# run problem=super method=eb mode=unbounded wall_including_profiling_s=8.22
### ACCELERATED_WEIGHTING_PROFILE v2 label=eb/unbounded
summary: total_wall_s=8.219 algorithm_wall_s=5.193 profiling_wall_s=2.993 unattributed_wall_s=0.034
phases (sorted by wall; cpu/wall > 1 means multithreaded):
  name                                             wall_s      cpu_s cpu/wall  calls   %alg
  hessian.gram_upper                               3.4107    20.8173     6.10      4   65.7
  profiling.describe_problem                       1.1560     1.4283     1.24      1       
  profiling.old_vs_new_sparse_solve                0.9028     7.1039     7.87      1       
  profiling.row_scaling                            0.3805     3.0164     7.93      1       
  hessian.row_scaling_diag_product                 0.3271     4.8888    14.95      4    6.3
  profiling.transposed_products                    0.2851     2.2746     7.98      1       
  profiling.handle_creation                        0.2501     0.2316     0.93      1       
  pardiso.analysis_phase11                         0.2100     1.6698     7.95      1    4.0
  linear_system.build_penalized_upper              0.1870     1.4916     7.98      4    3.6
  setup.moment_scale                               0.1254     0.1249     1.00      1    2.4
  pardiso.numeric_factorization_phase22            0.1223     0.9513     7.78      4    2.4
  residuals.criterion                              0.1074     1.4390    13.40      4    2.1
  pardiso.solve_phase33                            0.1004     0.7808     7.78      4    1.9
  residuals.stationarity_x_lambda                  0.0849     1.0326    12.17      4    1.6
  steps.backtrack                                  0.0833     0.6650     7.98      4    1.6
  steps.candidate_moments_2x_xT_w                  0.0603     0.4779     7.92      4    1.2
  residuals.moments_xT_w                           0.0526     0.4137     7.87      4    1.0
  checks.step_sizes_xT_v                           0.0489     0.7380    15.11      4    0.9
  steps.primal_x_v                                 0.0448     0.3574     7.98      4    0.9
  steps.dual_map_x_v_exp                           0.0433     0.4042     9.34      4    0.8
  linear_system.rhs_xT_v                           0.0412     0.3276     7.95      4    0.8
  setup.validation                                 0.0296     0.2317     7.83      1    0.6
  regularization.penalty                           0.0262     0.2087     7.98      4    0.5
  steps.update                                     0.0193     0.2851    14.76      4    0.4
  bookkeeping.status_and_logging                   0.0184     0.2724    14.79      4    0.4
  profiling.describe_hessian                       0.0184     0.1463     7.96      1       
  results.assemble                                 0.0150     0.2247    14.93      1    0.3
  hessian.diagonal_floor                           0.0100     0.0798     7.97      4    0.2
  residuals.violation                              0.0071     0.1001    14.12      4    0.1
  pardiso.require_upper_triangle                   0.0048     0.0386     7.98      1    0.1
  pardiso.pattern_check                            0.0043     0.0345     7.98      4    0.1
  pardiso.release                                  0.0037     0.0568    15.33      1    0.1
  setup.normalize_and_convert                      0.0032     0.0032     1.00      1    0.1
  pardiso.check_inputs                             0.0012     0.0092     7.96      4    0.0
  pardiso.create_handle                            0.0007     0.0007     1.00      1    0.0
  io.dump                                          0.0000     0.0000     5.80      1    0.0
phase_groups_wall_s: hessian=3.748 pardiso=0.447 residuals=0.252 steps=0.251 linear_system=0.228 setup=0.158 checks=0.049 regularization=0.026 bookkeeping=0.018 results=0.015 io=0.000
per_iteration (wall_s by phase group, then notes):
  iter    bookkeeping         checks        hessian             io  linear_system        pardiso regularization      residuals        results          steps            backtrack factorization_attempts optimality_violation pardiso_perturbed_pivots pardiso_refinement_steps            penalty_r selected_primal_step
     0         0.0040         0.0100         0.9614         0.0000         0.0557         0.2716         0.0056         0.0769         0.0000         0.0618                    1                    1             0.857926                    0                    2          8.57926e-07                    1
     1         0.0045         0.0107         0.9158         0.0000         0.0566         0.0531         0.0064         0.0521         0.0000         0.0611                    1                    1              117.046                    0                    2          1.60671e-07                    1
     2         0.0049         0.0133         0.9119         0.0000         0.0577         0.0541         0.0063         0.0530         0.0000         0.0672                    1                    1          0.000590623                    0                    2                1e-12                    1
     3         0.0051         0.0149         0.9587         0.0000         0.0581         0.0680         0.0079         0.0699         0.0150         0.0608                    1                    1          2.59362e-09                    0                    2                1e-12                    1
facts:
  env.python=3.11.13
  env.platform=Linux-4.18.0-553.159.1.el8_10.x86_64-x86_64-with-glibc2.28
  env.cpu_count=64
  env.version.numpy=2.4.6
  env.version.scipy=1.17.1
  env.version.pypardiso=0.4.7
  env.version.sparse_dot_mkl=0.9.10
  env.version.numexpr=2.14.2
  env.version.mkl=2026.2.0
  env.OMP_NUM_THREADS=8
  env.MKL_NUM_THREADS=8
  env.NUMEXPR_MAX_THREADS=unset
  env.OPENBLAS_NUM_THREADS=8
  env.threadpools=threadpoolctl unavailable
  env.numexpr_threads=8
  env.mkl_max_threads=mkl-service unavailable
  problem.n_obs=1000000
  problem.n_moments=65563
  problem.is_sparse=True
  problem.x_type=csr_array
  problem.x_dtype=float64
  problem.x_format=csr
  problem.index_dtype=int64
  problem.nnz=11000000
  problem.density=0.0001678
  problem.row_nnz_mean_max=[11,11]
  problem.fixed_pattern_map_entries=66000000
  problem.column_members_min_median_max=[0,10,1000000]
  problem.empty_columns=14985
  problem.columns_with_lt5_members=10644
  problem.duplicate_columns=1138
  problem.distinct_rows=62249
  problem.distinct_row_fraction=0.06225
  problem.weights0_min_mean_max=[55.19,261.7,1083]
  problem.targets_abs_max=1
  run.method=eb
  run.mode=unbounded
  run.bounds=None
  hessian.shape=[65563,65563]
  hessian.is_sparse=True
  hessian.gram_output_type=csr_matrix
  hessian.nnz_upper=958514
  hessian.nnz_full_equivalent=1866450
  hessian.density=0.0004342
  hessian.row_nnz_median_max=[13,50578]
  hessian.rows_over_10pct_dense=17
  hessian.gram_output_sorted_indices=False
  hessian.gram_output_is_upper=True
  pardiso.analysis_count=1
  pardiso.matrix_nnz_passed=973499
  pardiso.after_analysis.ordering=3
  pardiso.after_analysis.peak_symbolic_memory_kb=86936
  pardiso.after_analysis.permanent_symbolic_memory_kb=84222
  pardiso.numeric_factorization_count=4
  pardiso.first_factorization.factor_nnz=1863844
  pardiso.first_factorization.factorization_mflops=206
  pardiso.first_factorization.numeric_factor_memory_kb=23101
  pardiso.first_factorization.parallel_factorization_mode=0
  result.converged=True
  result.n_iterations=4
  result.error_message=none
experiments:
  handle_creation: copy_shared_instance_s=3.822e-05 construct_new_instance_s=0.2497
  row_scaling: diagonal_product_s=0.07647 in_place_copy_s=0.08728 max_abs_diff=0
  old_vs_new_sparse_solve: old_symmetrize_and_penalize_s=0.07608 old_spsolve_mtype11_s=0.4003 old_factor_nnz=3504857 old_numeric_factor_memory_kb=44124 new_first_call_with_analysis_s=0.3173 new_repeat_call_s=0.09806 new_vs_old_max_rel_diff=8.66e-10 fresh_vs_in_run_max_rel_diff=9.111e-10
  transposed_products: xT_v_transpose_view_s=0.005513 xT_v_precomputed_s=0.02122 precompute_conversion_s=0.1696 x_v_s=0.00562
memory: peak_rss=1006.9MB start_peak_rss=775.7MB
  rss_jump phase=profiling.row_scaling iteration=0 increase=231.2MB
### END_PROFILE

# run problem=super method=eb mode=bounded wall_including_profiling_s=14.34
### ACCELERATED_WEIGHTING_PROFILE v2 label=eb/elastic
summary: total_wall_s=14.341 algorithm_wall_s=11.160 profiling_wall_s=3.059 unattributed_wall_s=0.122
phases (sorted by wall; cpu/wall > 1 means multithreaded):
  name                                             wall_s      cpu_s cpu/wall  calls   %alg
  newton.gram_upper                                5.9928    35.5652     5.93      7   53.7
  profiling.describe_problem                       1.2088     2.6211     2.17      1       
  profiling.old_vs_new_sparse_solve                0.8907     6.9734     7.83      1       
  newton.row_scaling_diag_product                  0.5882     7.2166    12.27      7    5.3
  profiling.row_scaling                            0.3847     2.8834     7.49      1       
  predictor.rhs_AT_v_and_Aineq_v                   0.3671     2.8487     7.76      7    3.3
  pardiso.solve_phase33                            0.3539     2.7409     7.74     14    3.2
  corrector.rhs_AT_v_and_Aineq_v                   0.3468     2.6901     7.76      7    3.1
  linear_system.build_penalized_upper              0.3250     2.5934     7.98      7    2.9
  profiling.transposed_products                    0.2889     2.3057     7.98      1       
  predictor.fraction_to_boundary                   0.2405     1.9184     7.98      7    2.2
  corrector.fraction_to_boundary                   0.2350     1.8747     7.98      7    2.1
  residuals.alternate_dual_map                     0.2259     3.3783    14.95      7    2.0
  pardiso.analysis_phase11                         0.2120     1.6872     7.96      1    1.9
  corrector.targets                                0.2018     1.6099     7.98      7    1.8
  pardiso.numeric_factorization_phase22            0.1979     1.5624     7.89      7    1.8
  profiling.centering_notes                        0.1912     1.5256     7.98      7       
  predictor.recover_r_A_v_and_Aineq_v              0.1490     1.1877     7.97      7    1.3
  corrector.recover_r_A_v_and_Aineq_v              0.1421     1.1339     7.98      7    1.3
  predictor.recover_inequality_multipliers_AineqT_v     0.1217     0.9712     7.98      7    1.1
  residuals.violation                              0.1206     1.6805    13.94      7    1.1
  corrector.recover_inequality_multipliers_AineqT_v     0.1200     0.9573     7.98      7    1.1
  steps.update                                     0.1165     0.9293     7.97      7    1.0
  newton.lhs                                       0.1022     0.8159     7.98      7    0.9
  residuals.other                                  0.0993     1.3776    13.88      7    0.9
  residuals.criterion                              0.0981     1.3890    14.17      7    0.9
  setup.A_mat                                      0.0980     0.5397     5.51      1    0.9
  setup.moment_scale                               0.0974     0.7760     7.97      1    0.9
  residuals.stationarity_A_v_and_Aineq_v           0.0871     1.2034    13.82      7    0.8
  profiling.bound_curvature_check                  0.0750     1.0259    13.68      1       
  newton.h_tilde_bound_curvature                   0.0740     1.1074    14.96      7    0.7
  corrector.recover_other                          0.0662     0.5284     7.98      7    0.6
  predictor.recover_other                          0.0659     0.5262     7.98      7    0.6
  regularization.penalty                           0.0586     0.4670     7.97      7    0.5
  predictor.complementarity                        0.0442     0.3521     7.97      7    0.4
  checks.step_sizes_AT_v                           0.0439     0.3855     8.78      7    0.4
  residuals.moments_AT_r                           0.0375     0.5153    13.76      7    0.3
  results.assemble                                 0.0369     0.5510    14.93      1    0.3
  setup.validation                                 0.0336     0.5051    15.02      1    0.3
  setup.bounds                                     0.0312     0.2371     7.59      1    0.3
  profiling.describe_hessian                       0.0196     0.1562     7.98      1       
  pardiso.pattern_check                            0.0083     0.0666     7.99      7    0.1
  pardiso.require_upper_triangle                   0.0048     0.0387     7.99      1    0.0
  pardiso.release                                  0.0035     0.0556    15.74      1    0.0
  barrier.eta_update                               0.0033     0.0267     8.06      7    0.0
  bookkeeping.status_and_logging                   0.0033     0.0619    18.92      7    0.0
  setup.normalize_and_convert                      0.0032     0.0032     1.00      1    0.0
  pardiso.check_inputs                             0.0020     0.0161     8.02      7    0.0
  pardiso.create_handle                            0.0002     0.0002     0.99      1    0.0
  linear_system.setup                              0.0001     0.0010     8.63      7    0.0
  profiling.handle_creation                        0.0000     0.0000     1.01      1       
  io.dump                                          0.0000     0.0000     5.80      1    0.0
phase_groups_wall_s: newton=6.757 corrector=1.112 predictor=0.988 pardiso=0.783 residuals=0.668 linear_system=0.325 setup=0.263 steps=0.117 regularization=0.059 checks=0.044 results=0.037 barrier=0.003 bookkeeping=0.003 io=0.000
per_iteration (wall_s by phase group, then notes):
  iter        barrier    bookkeeping         checks      corrector             io  linear_system         newton        pardiso      predictor regularization      residuals        results          steps     affine_dual_step   affine_primal_step dual_limit_li0_lu1_lv2     dual_step_length                  eta factorization_attempts                 mu_s optimality_violation pardiso_perturbed_pivots pardiso_refinement_steps primal_limit_u0_v1_s2   primal_step_length              sigma_s              sigma_u              sigma_v
     0         0.0005         0.0005         0.0061         0.1582         0.0000         0.0463         0.9508         0.2959         0.1445         0.0104         0.0937         0.0000         0.0174             0.202606             0.789775                   -1                    1                  7.5                    1                 0.05              70.7159                    0                    2                    0             0.824551             0.464812            0.0107387            0.0107427
     1         0.0005         0.0004         0.0059         0.1601         0.0000         0.0464         0.9704         0.0786         0.1397         0.0076         0.0955         0.0000         0.0154             0.832377             0.907808                    0             0.964704                  7.5                    1            0.0327948              55.7585                    0                    2                    0             0.974985           0.00376768          0.000801974          0.000802028
     2         0.0005         0.0004         0.0053         0.1602         0.0000         0.0461         0.9749         0.0829         0.1444         0.0085         0.0972         0.0000         0.0155              0.95166             0.996381                    0             0.992674                  7.5                    1           0.00149029              2.66224                    0                    2                    1             0.994937          0.000114487          4.86279e-08           4.8624e-08
     3         0.0005         0.0005         0.0055         0.1589         0.0000         0.0465         0.9699         0.0847         0.1507         0.0091         0.0964         0.0000         0.0192             0.998558             0.999974                    0                0.995                  7.5                    1          1.11179e-05            0.0200952                    0                    2                    1             0.994995          3.01735e-09          1.84527e-14           1.8469e-14
     4         0.0005         0.0005         0.0054         0.1618         0.0000         0.0460         0.9650         0.0783         0.1342         0.0077         0.0987         0.0000         0.0162             0.999992             0.999159                    0                0.995                  7.5                    1          5.55918e-08          0.000100519                    0                    2                    1             0.994459           5.4729e-16          5.92727e-10          5.95545e-10
     5         0.0005         0.0004         0.0052         0.1530         0.0000         0.0476         0.9599         0.0778         0.1371         0.0077         0.0936         0.0000         0.0165                    1             0.997612                    0                0.995                  7.5                    1          2.77959e-10          5.02673e-07                    0                    2                    0             0.994775          9.32821e-23          1.30809e-08          1.41589e-08
     6         0.0005         0.0005         0.0106         0.1597         0.0000         0.0462         0.9665         0.0844         0.1377         0.0077         0.0932         0.0369         0.0163                    1             0.996957                    0                0.995                  7.5                    1          1.38979e-12          2.51369e-09                    0                    2                    0             0.994734          1.33045e-29          2.56472e-08          3.10792e-08
facts:
  env.python=3.11.13
  env.platform=Linux-4.18.0-553.159.1.el8_10.x86_64-x86_64-with-glibc2.28
  env.cpu_count=64
  env.version.numpy=2.4.6
  env.version.scipy=1.17.1
  env.version.pypardiso=0.4.7
  env.version.sparse_dot_mkl=0.9.10
  env.version.numexpr=2.14.2
  env.version.mkl=2026.2.0
  env.OMP_NUM_THREADS=8
  env.MKL_NUM_THREADS=8
  env.NUMEXPR_MAX_THREADS=unset
  env.OPENBLAS_NUM_THREADS=8
  env.threadpools=threadpoolctl unavailable
  env.numexpr_threads=8
  env.mkl_max_threads=mkl-service unavailable
  problem.n_obs=1000000
  problem.n_moments=65563
  problem.is_sparse=True
  problem.x_type=csr_array
  problem.x_dtype=float64
  problem.x_format=csr
  problem.index_dtype=int64
  problem.nnz=11000000
  problem.density=0.0001678
  problem.row_nnz_mean_max=[11,11]
  problem.fixed_pattern_map_entries=66000000
  problem.column_members_min_median_max=[0,10,1000000]
  problem.empty_columns=14985
  problem.columns_with_lt5_members=10644
  problem.duplicate_columns=1138
  problem.distinct_rows=62249
  problem.distinct_row_fraction=0.06225
  problem.weights0_min_mean_max=[55.19,261.7,1083]
  problem.targets_abs_max=1
  run.method=eb
  run.mode=elastic
  run.bounds=[0,None]
  elastic.n_inequalities=1000000
  elastic_hessian.shape=[65563,65563]
  elastic_hessian.is_sparse=True
  elastic_hessian.gram_output_type=csr_matrix
  elastic_hessian.nnz_upper=958514
  elastic_hessian.nnz_full_equivalent=1866450
  elastic_hessian.density=0.0004342
  elastic_hessian.row_nnz_median_max=[13,50578]
  elastic_hessian.rows_over_10pct_dense=17
  elastic_hessian.gram_output_sorted_indices=False
  elastic_hessian.gram_output_is_upper=True
  pardiso.analysis_count=1
  pardiso.matrix_nnz_passed=973499
  pardiso.after_analysis.ordering=3
  pardiso.after_analysis.peak_symbolic_memory_kb=86936
  pardiso.after_analysis.permanent_symbolic_memory_kb=84222
  pardiso.numeric_factorization_count=7
  pardiso.first_factorization.factor_nnz=1863844
  pardiso.first_factorization.factorization_mflops=206
  pardiso.first_factorization.numeric_factor_memory_kb=23101
  pardiso.first_factorization.parallel_factorization_mode=0
  result.converged=True
  result.n_iterations=7
  result.error_message=none
experiments:
  handle_creation: copy_shared_instance_s=3.822e-05 construct_new_instance_s=0.2497
  bound_curvature_check: previous_chain_dot_diagonal_s=0.06605 max_rel_diff=0
  row_scaling: diagonal_product_s=0.07735 in_place_copy_s=0.08754 max_abs_diff=0
  old_vs_new_sparse_solve: old_symmetrize_and_penalize_s=0.07702 old_spsolve_mtype11_s=0.3943 old_factor_nnz=3504857 old_numeric_factor_memory_kb=44124 new_first_call_with_analysis_s=0.3103 new_repeat_call_s=0.09859 new_vs_old_max_rel_diff=1.97e-11 fresh_vs_in_run_max_rel_diff=1.954e-12
  transposed_products: xT_v_transpose_view_s=0.005201 xT_v_precomputed_s=0.0211 precompute_conversion_s=0.1752 x_v_s=0.005537
memory: peak_rss=1.2GB start_peak_rss=1006.9MB
  rss_jump phase=profiling.row_scaling iteration=0 increase=247.1MB
### END_PROFILE

# run problem=super method=greg mode=unbounded wall_including_profiling_s=4.19
### ACCELERATED_WEIGHTING_PROFILE v2 label=greg/unbounded
summary: total_wall_s=4.194 algorithm_wall_s=1.752 profiling_wall_s=2.422 unattributed_wall_s=0.020
phases (sorted by wall; cpu/wall > 1 means multithreaded):
  name                                             wall_s      cpu_s cpu/wall  calls   %alg
  profiling.describe_problem                       1.2362     2.0870     1.69      1       
  profiling.old_vs_new_sparse_solve                0.8855     6.9867     7.89      1       
  hessian.greg_precompute_gram                     0.8373     5.0241     6.00      1   47.8
  profiling.transposed_products                    0.2809     2.2411     7.98      1       
  pardiso.analysis_phase11                         0.2067     1.7357     8.40      1   11.8
  setup.moment_scale                               0.1174     0.1170     1.00      1    6.7
  hessian.greg_precompute_row_scaling              0.0992     0.5320     5.36      1    5.7
  linear_system.build_penalized_upper              0.0951     1.4209    14.95      2    5.4
  pardiso.numeric_factorization_phase22            0.0568     0.6485    11.41      2    3.2
  pardiso.solve_phase33                            0.0498     0.4468     8.97      2    2.8
  setup.validation                                 0.0354     0.5339    15.07      1    2.0
  residuals.stationarity_x_lambda                  0.0329     0.4090    12.43      3    1.9
  steps.candidate_moments_2x_xT_w                  0.0270     0.2152     7.98      2    1.5
  steps.dual_map_x_v_exp                           0.0213     0.1696     7.97      2    1.2
  steps.primal_x_v                                 0.0211     0.1686     7.98      2    1.2
  residuals.moments_xT_w                           0.0202     0.2589    12.79      3    1.2
  checks.step_sizes_xT_v                           0.0193     0.2868    14.83      2    1.1
  profiling.describe_hessian                       0.0190     0.2843    14.93      1       
  linear_system.rhs_xT_v                           0.0189     0.2764    14.62      2    1.1
  results.assemble                                 0.0144     0.2123    14.76      1    0.8
  residuals.criterion                              0.0144     0.1775    12.35      3    0.8
  bookkeeping.status_and_logging                   0.0124     0.1795    14.45      3    0.7
  regularization.penalty                           0.0117     0.1770    15.14      2    0.7
  steps.update                                     0.0100     0.1463    14.58      2    0.6
  steps.backtrack                                  0.0070     0.0561     7.99      2    0.4
  pardiso.require_upper_triangle                   0.0051     0.0756    14.79      1    0.3
  residuals.violation                              0.0050     0.0681    13.51      3    0.3
  hessian.diagonal_floor                           0.0049     0.0810    16.52      2    0.3
  pardiso.release                                  0.0035     0.0558    15.74      1    0.2
  setup.normalize_and_convert                      0.0030     0.0030     1.00      1    0.2
  pardiso.pattern_check                            0.0012     0.0234    19.75      2    0.1
  pardiso.check_inputs                             0.0005     0.0111    21.47      2    0.0
  pardiso.create_handle                            0.0002     0.0002     1.00      1    0.0
  profiling.handle_creation                        0.0000     0.0000     1.01      1       
  io.dump                                          0.0000     0.0001    21.82      1    0.0
phase_groups_wall_s: hessian=0.941 pardiso=0.324 setup=0.156 linear_system=0.114 steps=0.086 residuals=0.073 checks=0.019 results=0.014 bookkeeping=0.012 regularization=0.012 io=0.000
per_iteration (wall_s by phase group, then notes):
  iter    bookkeeping         checks        hessian             io  linear_system        pardiso regularization      residuals        results          steps            backtrack factorization_attempts optimality_violation pardiso_perturbed_pivots pardiso_refinement_steps            penalty_r selected_primal_step
     0         0.0039         0.0093         0.0026         0.0000         0.0576         0.2661         0.0058         0.0251         0.0000         0.0431                    1                    1             0.857926                    0                    2          8.57926e-07                    1
     1         0.0043         0.0100         0.0023         0.0000         0.0564         0.0541         0.0059         0.0236         0.0000         0.0433                    1                    1          1.67457e-07                    0                    2                1e-12                    0
     2         0.0043         0.0000         0.0000         0.0000         0.0000         0.0035         0.0000         0.0238         0.0144         0.0000                  nan                  nan          7.76876e-14                  nan                  nan                  nan                  nan
facts:
  env.python=3.11.13
  env.platform=Linux-4.18.0-553.159.1.el8_10.x86_64-x86_64-with-glibc2.28
  env.cpu_count=64
  env.version.numpy=2.4.6
  env.version.scipy=1.17.1
  env.version.pypardiso=0.4.7
  env.version.sparse_dot_mkl=0.9.10
  env.version.numexpr=2.14.2
  env.version.mkl=2026.2.0
  env.OMP_NUM_THREADS=8
  env.MKL_NUM_THREADS=8
  env.NUMEXPR_MAX_THREADS=unset
  env.OPENBLAS_NUM_THREADS=8
  env.threadpools=threadpoolctl unavailable
  env.numexpr_threads=8
  env.mkl_max_threads=mkl-service unavailable
  problem.n_obs=1000000
  problem.n_moments=65563
  problem.is_sparse=True
  problem.x_type=csr_array
  problem.x_dtype=float64
  problem.x_format=csr
  problem.index_dtype=int64
  problem.nnz=11000000
  problem.density=0.0001678
  problem.row_nnz_mean_max=[11,11]
  problem.fixed_pattern_map_entries=66000000
  problem.column_members_min_median_max=[0,10,1000000]
  problem.empty_columns=14985
  problem.columns_with_lt5_members=10644
  problem.duplicate_columns=1138
  problem.distinct_rows=62249
  problem.distinct_row_fraction=0.06225
  problem.weights0_min_mean_max=[55.19,261.7,1083]
  problem.targets_abs_max=1
  run.method=greg
  run.mode=unbounded
  run.bounds=None
  hessian.shape=[65563,65563]
  hessian.is_sparse=True
  hessian.gram_output_type=csr_matrix
  hessian.nnz_upper=958514
  hessian.nnz_full_equivalent=1866450
  hessian.density=0.0004342
  hessian.row_nnz_median_max=[13,50578]
  hessian.rows_over_10pct_dense=17
  hessian.gram_output_sorted_indices=False
  hessian.gram_output_is_upper=True
  pardiso.analysis_count=1
  pardiso.matrix_nnz_passed=973499
  pardiso.after_analysis.ordering=3
  pardiso.after_analysis.peak_symbolic_memory_kb=86936
  pardiso.after_analysis.permanent_symbolic_memory_kb=84222
  pardiso.numeric_factorization_count=2
  pardiso.first_factorization.factor_nnz=1863844
  pardiso.first_factorization.factorization_mflops=206
  pardiso.first_factorization.numeric_factor_memory_kb=23101
  pardiso.first_factorization.parallel_factorization_mode=0
  result.converged=True
  result.n_iterations=2
  result.error_message=none
experiments:
  handle_creation: copy_shared_instance_s=3.822e-05 construct_new_instance_s=0.2497
  old_vs_new_sparse_solve: old_symmetrize_and_penalize_s=0.07311 old_spsolve_mtype11_s=0.3893 old_factor_nnz=3504857 old_numeric_factor_memory_kb=44124 new_first_call_with_analysis_s=0.312 new_repeat_call_s=0.1005 new_vs_old_max_rel_diff=4.41e-10 fresh_vs_in_run_max_rel_diff=9.32e-10
  transposed_products: xT_v_transpose_view_s=0.00485 xT_v_precomputed_s=0.02083 precompute_conversion_s=0.1693 x_v_s=0.005426
memory: peak_rss=1.2GB start_peak_rss=1.2GB
### END_PROFILE

# run problem=super method=greg mode=bounded wall_including_profiling_s=14.21
### ACCELERATED_WEIGHTING_PROFILE v2 label=greg/elastic
summary: total_wall_s=14.210 algorithm_wall_s=11.024 profiling_wall_s=3.065 unattributed_wall_s=0.122
phases (sorted by wall; cpu/wall > 1 means multithreaded):
  name                                             wall_s      cpu_s cpu/wall  calls   %alg
  newton.gram_upper                                5.9737    35.8268     6.00      7   54.2
  profiling.describe_problem                       1.2132     2.6563     2.19      1       
  profiling.old_vs_new_sparse_solve                0.8872     6.9251     7.81      1       
  newton.row_scaling_diag_product                  0.5872     7.3754    12.56      7    5.3
  profiling.row_scaling                            0.3868     2.8912     7.48      1       
  corrector.rhs_AT_v_and_Aineq_v                   0.3540     2.7426     7.75      7    3.2
  pardiso.solve_phase33                            0.3502     2.7199     7.77     14    3.2
  predictor.rhs_AT_v_and_Aineq_v                   0.3492     2.7069     7.75      7    3.2
  linear_system.build_penalized_upper              0.3241     2.5849     7.98      7    2.9
  profiling.transposed_products                    0.2883     2.2981     7.97      1       
  predictor.fraction_to_boundary                   0.2408     1.9203     7.97      7    2.2
  corrector.fraction_to_boundary                   0.2391     1.9064     7.97      7    2.2
  pardiso.analysis_phase11                         0.2078     1.6520     7.95      1    1.9
  residuals.alternate_dual_map                     0.2037     3.0448    14.95      7    1.8
  corrector.targets                                0.1983     1.5809     7.97      7    1.8
  profiling.centering_notes                        0.1903     1.5175     7.97      7       
  pardiso.numeric_factorization_phase22            0.1874     1.4945     7.97      7    1.7
  predictor.recover_r_A_v_and_Aineq_v              0.1439     1.1470     7.97      7    1.3
  corrector.recover_r_A_v_and_Aineq_v              0.1437     1.1459     7.97      7    1.3
  predictor.recover_inequality_multipliers_AineqT_v     0.1210     0.9647     7.97      7    1.1
  residuals.violation                              0.1195     1.6577    13.87      7    1.1
  corrector.recover_inequality_multipliers_AineqT_v     0.1193     0.9516     7.97      7    1.1
  steps.update                                     0.1108     0.8833     7.97      7    1.0
  residuals.other                                  0.1012     1.4062    13.90      7    0.9
  newton.lhs                                       0.0988     0.7885     7.98      7    0.9
  setup.A_mat                                      0.0976     0.5385     5.52      1    0.9
  setup.moment_scale                               0.0966     0.7698     7.97      1    0.9
  residuals.stationarity_A_v_and_Aineq_v           0.0904     1.2320    13.63      7    0.8
  profiling.bound_curvature_check                  0.0806     1.0463    12.98      1       
  newton.h_tilde_bound_curvature                   0.0771     1.1588    15.04      7    0.7
  corrector.recover_other                          0.0653     0.5209     7.98      7    0.6
  predictor.recover_other                          0.0646     0.5155     7.98      7    0.6
  regularization.penalty                           0.0555     0.4433     7.98      7    0.5
  residuals.criterion                              0.0543     0.8075    14.88      7    0.5
  checks.step_sizes_AT_v                           0.0463     0.4100     8.86      7    0.4
  residuals.moments_AT_r                           0.0399     0.5482    13.74      7    0.4
  results.assemble                                 0.0362     0.5382    14.87      1    0.3
  setup.validation                                 0.0339     0.5074    14.98      1    0.3
  predictor.complementarity                        0.0336     0.2675     7.97      7    0.3
  setup.bounds                                     0.0321     0.2444     7.62      1    0.3
  profiling.describe_hessian                       0.0187     0.1494     7.98      1       
  pardiso.pattern_check                            0.0072     0.0578     7.99      7    0.1
  pardiso.require_upper_triangle                   0.0045     0.0363     7.98      1    0.0
  bookkeeping.status_and_logging                   0.0034     0.0479    14.19      7    0.0
  barrier.eta_update                               0.0032     0.0256     8.01      7    0.0
  setup.normalize_and_convert                      0.0032     0.0032     1.00      1    0.0
  pardiso.release                                  0.0032     0.0460    14.42      1    0.0
  pardiso.check_inputs                             0.0017     0.0140     8.03      7    0.0
  pardiso.create_handle                            0.0002     0.0002     0.97      1    0.0
  linear_system.setup                              0.0001     0.0003     6.54      7    0.0
  profiling.handle_creation                        0.0000     0.0000     1.00      1       
  io.dump                                          0.0000     0.0000     0.99      1    0.0
phase_groups_wall_s: newton=6.737 corrector=1.120 predictor=0.953 pardiso=0.762 residuals=0.609 linear_system=0.324 setup=0.263 steps=0.111 regularization=0.056 checks=0.046 results=0.036 bookkeeping=0.003 barrier=0.003 io=0.000
per_iteration (wall_s by phase group, then notes):
  iter        barrier    bookkeeping         checks      corrector             io  linear_system         newton        pardiso      predictor regularization      residuals        results          steps     affine_dual_step   affine_primal_step dual_limit_li0_lu1_lv2     dual_step_length                  eta factorization_attempts                 mu_s optimality_violation pardiso_perturbed_pivots pardiso_refinement_steps primal_limit_u0_v1_s2   primal_step_length              sigma_s              sigma_u              sigma_v
     0         0.0004         0.0005         0.0058         0.1599         0.0000         0.0459         0.9723         0.2907         0.1434         0.0084         0.0953         0.0000         0.0165             0.202606             0.789775                   -1                    1                  7.5                    1                 0.05              70.7159                    0                    2                    0             0.824551             0.464812            0.0107387            0.0107427
     1         0.0005         0.0005         0.0059         0.1563         0.0000         0.0472         0.9532         0.0811         0.1386         0.0077         0.0853         0.0000         0.0157             0.818245             0.809234                    0             0.946566                  7.5                    1            0.0327948              53.6489                    0                    2                    0             0.989039           0.00496381           0.00707041           0.00707561
     2         0.0005         0.0006         0.0058         0.1572         0.0000         0.0461         0.9883         0.0766         0.1334         0.0076         0.0851         0.0000         0.0152              0.95001             0.994605                    0             0.993314                  7.5                    1           0.00210715              3.36563                    0                    2                    1             0.994931          0.000131852          1.59787e-07          1.59999e-07
     3         0.0004         0.0004         0.0057         0.1582         0.0000         0.0461         0.9450         0.0761         0.1320         0.0075         0.0881         0.0000         0.0153             0.999327             0.999964                    0             0.994997                  7.5                    1          1.45208e-05            0.0228604                    0                    2                    0              0.99499          3.28707e-10          4.56482e-14          4.57571e-14
     4         0.0005         0.0005         0.0058         0.1690         0.0000         0.0455         0.9368         0.0786         0.1348         0.0085         0.0845         0.0000         0.0167             0.999997             0.998578                    0                0.995                  7.5                    1          7.26524e-08          0.000114378                    0                    2                    0             0.994293          4.35933e-17           2.8681e-09          2.87955e-09
     5         0.0005         0.0004         0.0058         0.1602         0.0000         0.0475         0.9862         0.0778         0.1351         0.0083         0.0854         0.0000         0.0163                    1             0.997112                    0                0.995                  7.5                    1          3.63262e-10          5.70976e-07                    0                    2                    0             0.994753          8.10489e-24          2.33868e-08          2.47902e-08
     6         0.0004         0.0005         0.0115         0.1589         0.0000         0.0458         0.9549         0.0812         0.1357         0.0076         0.0851         0.0362         0.0152                    1             0.996872                    0                0.995                  7.5                    1          1.81631e-12           2.8536e-09                    0                    2                    0             0.994691          1.17072e-30          2.87284e-08          3.28608e-08
facts:
  env.python=3.11.13
  env.platform=Linux-4.18.0-553.159.1.el8_10.x86_64-x86_64-with-glibc2.28
  env.cpu_count=64
  env.version.numpy=2.4.6
  env.version.scipy=1.17.1
  env.version.pypardiso=0.4.7
  env.version.sparse_dot_mkl=0.9.10
  env.version.numexpr=2.14.2
  env.version.mkl=2026.2.0
  env.OMP_NUM_THREADS=8
  env.MKL_NUM_THREADS=8
  env.NUMEXPR_MAX_THREADS=unset
  env.OPENBLAS_NUM_THREADS=8
  env.threadpools=threadpoolctl unavailable
  env.numexpr_threads=8
  env.mkl_max_threads=mkl-service unavailable
  problem.n_obs=1000000
  problem.n_moments=65563
  problem.is_sparse=True
  problem.x_type=csr_array
  problem.x_dtype=float64
  problem.x_format=csr
  problem.index_dtype=int64
  problem.nnz=11000000
  problem.density=0.0001678
  problem.row_nnz_mean_max=[11,11]
  problem.fixed_pattern_map_entries=66000000
  problem.column_members_min_median_max=[0,10,1000000]
  problem.empty_columns=14985
  problem.columns_with_lt5_members=10644
  problem.duplicate_columns=1138
  problem.distinct_rows=62249
  problem.distinct_row_fraction=0.06225
  problem.weights0_min_mean_max=[55.19,261.7,1083]
  problem.targets_abs_max=1
  run.method=greg
  run.mode=elastic
  run.bounds=[0,None]
  elastic.n_inequalities=1000000
  elastic_hessian.shape=[65563,65563]
  elastic_hessian.is_sparse=True
  elastic_hessian.gram_output_type=csr_matrix
  elastic_hessian.nnz_upper=958514
  elastic_hessian.nnz_full_equivalent=1866450
  elastic_hessian.density=0.0004342
  elastic_hessian.row_nnz_median_max=[13,50578]
  elastic_hessian.rows_over_10pct_dense=17
  elastic_hessian.gram_output_sorted_indices=False
  elastic_hessian.gram_output_is_upper=True
  pardiso.analysis_count=1
  pardiso.matrix_nnz_passed=973499
  pardiso.after_analysis.ordering=3
  pardiso.after_analysis.peak_symbolic_memory_kb=86936
  pardiso.after_analysis.permanent_symbolic_memory_kb=84222
  pardiso.numeric_factorization_count=7
  pardiso.first_factorization.factor_nnz=1863844
  pardiso.first_factorization.factorization_mflops=206
  pardiso.first_factorization.numeric_factor_memory_kb=23101
  pardiso.first_factorization.parallel_factorization_mode=0
  result.converged=True
  result.n_iterations=7
  result.error_message=none
experiments:
  handle_creation: copy_shared_instance_s=3.822e-05 construct_new_instance_s=0.2497
  bound_curvature_check: previous_chain_dot_diagonal_s=0.07004 max_rel_diff=0
  row_scaling: diagonal_product_s=0.07666 in_place_copy_s=0.08814 max_abs_diff=0
  old_vs_new_sparse_solve: old_symmetrize_and_penalize_s=0.07693 old_spsolve_mtype11_s=0.3921 old_factor_nnz=3504857 old_numeric_factor_memory_kb=44124 new_first_call_with_analysis_s=0.3093 new_repeat_call_s=0.09802 new_vs_old_max_rel_diff=2.118e-11 fresh_vs_in_run_max_rel_diff=1.737e-13
  transposed_products: xT_v_transpose_view_s=0.005087 xT_v_precomputed_s=0.02111 precompute_conversion_s=0.1714 x_v_s=0.005523
memory: peak_rss=1.2GB start_peak_rss=1.2GB
### END_PROFILE

