Skip to content

Expose Anderson acceleration stats in Python info#208

Merged
bodono merged 1 commit into
masterfrom
plumb-aa-stats-python
Apr 25, 2026
Merged

Expose Anderson acceleration stats in Python info#208
bodono merged 1 commit into
masterfrom
plumb-aa-stats-python

Conversation

@bodono

@bodono bodono commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • update scs_source to the landed cvxgrp/scs master commit containing the shared AaStats plumbing from Expose Anderson acceleration stats in solve info cvxgrp/scs#386
  • expose detailed AA diagnostics as sol["info"]["aa_stats"]
  • add Python coverage for aa_stats keys and disabled-acceleration defaults
  • mention aa_stats in the README example

Tests

  • /tmp/scs-python-aa-venv/bin/python -m pip uninstall -y scs
  • /tmp/scs-python-aa-venv/bin/python -m pip install .
  • /tmp/scs-python-aa-venv/bin/python -m pytest -q test/test_scs_coverage.py -k "aa_stats or info_dict_has_expected_keys or all_info_keys_present or accel_steps_nonnegative"
  • /tmp/scs-python-aa-venv/bin/python -m pytest -q test/test_solve_random_cone_prob_accelerate.py::test_solve_infeasible
  • cmake -S scs_source -B /tmp/scs-aa-cmake -DBUILD_TESTING=ON -DUSE_LAPACK=ON
  • cmake --build /tmp/scs-aa-cmake --parallel 4
  • ctest --test-dir /tmp/scs-aa-cmake --output-on-failure

@bodono bodono force-pushed the plumb-aa-stats-python branch from 990be32 to 72f3240 Compare April 25, 2026 14:19
@bodono bodono force-pushed the plumb-aa-stats-python branch from 72f3240 to ae984b9 Compare April 25, 2026 14:50
@bodono bodono merged commit 73682e7 into master Apr 25, 2026
35 checks passed
@bodono bodono deleted the plumb-aa-stats-python branch April 25, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant