Skip to content

smr_alignment: Improve MetricAlignmentOptimizer#20

Merged
s-heppner merged 1 commit intomainfrom
Fix/metric_alignment
Nov 2, 2025
Merged

smr_alignment: Improve MetricAlignmentOptimizer#20
s-heppner merged 1 commit intomainfrom
Fix/metric_alignment

Conversation

@s-heppner
Copy link
Copy Markdown
Owner

This adds several improvements to the MetricAlignmentOptimizer that I realized as I was experimenting on real world data.

  • Add timing + run stats,
  • Make solver optional (to let cvxpy decide which one to use)
  • Apply unified score as working weight (which aligns the applied edge weight with the objective actually optimized, seems like a good idea to me... (The old way obviously was a bug))
  • Keep pre-optimization weight for reference

This adds several improvements to the `MetricAlignmentOptimizer`
that I realized as I was experimenting on real world data.

- Add timing + run stats,
- Make solver optional (to let `cvxpy` decide which one to use)
- Apply unified score as working weight (which aligns the applied
  edge weight with the objective actually optimized, seems like a
  good idea to me... (The old way obviously was a bug))
- Keep pre-optimization weight for reference
@s-heppner s-heppner force-pushed the Fix/metric_alignment branch from 715e39a to 1ef7904 Compare November 2, 2025 21:38
@s-heppner s-heppner merged commit 85805be into main Nov 2, 2025
9 checks passed
@s-heppner s-heppner deleted the Fix/metric_alignment branch November 2, 2025 21:39
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