Skip to content

Projection on epigraph of sq. Euclidean norm: algorithmic improvements#384

Merged
alphaville merged 14 commits intomasterfrom
feature/333-sqnorm2-epi-projection
Mar 14, 2026
Merged

Projection on epigraph of sq. Euclidean norm: algorithmic improvements#384
alphaville merged 14 commits intomasterfrom
feature/333-sqnorm2-epi-projection

Conversation

@alphaville
Copy link
Owner

@alphaville alphaville commented Mar 13, 2026

Main Changes

  • Algorithmic improvements for better numerical stability in the projection onto the epigraph of the squared Euclidean norm
  • More detailed documentation
  • Minor improvement in Ball1 and other Rust constraints, better unit tests covering corner cases

Priority

PRs #381 and #383 should be merged first.

Target version

This PR and #383 will be part of OpEn v0.11.0.

Associated Issues

TODOs

  • All tests must pass
  • Update CHANGELOG(s)
  • Bump versions (in CHANGELOG, Cargo.toml and VERSION)

About:
- Implementaiton of epigraph of sq. norm as constraint
- Basic unit test
- Documentation
@alphaville alphaville closed this Mar 13, 2026
About:
- algorithmic improvements for better num. stability
- better documentation
@alphaville alphaville reopened this Mar 13, 2026
@alphaville alphaville changed the title Projection on epigraph of sq. Euclidean norm Projection on epigraph of sq. Euclidean norm: algorithmic improvements Mar 13, 2026
@alphaville alphaville mentioned this pull request Mar 13, 2026
6 tasks
@alphaville alphaville mentioned this pull request Mar 13, 2026
5 tasks
@alphaville alphaville marked this pull request as ready for review March 14, 2026 15:08
- validate Rectangle bounds in new() and add a panic test
- add a simplex empty-input panic test
- fix CartesianProduct documentation and doctest behavior
- reject zero-norm normal vectors in Hyperplane::new
- assert input dimension in project()
- correct projection formula and method docs
- add panic tests for invalid normal vectors and wrong dimensions
- reject empty inputs in Sphere2::project
- assert centered projections use compatible dimensions
- add panic tests for both edge cases
- update changelog
- assert projection input dimensions explicitly
- treat singleton finite sets as convex in all dimensions
- add a panic test for wrong-dimension projection
- update changelog
- Minor clippy fixes in opengen
- preparing version 0.9.6 (update changelog)
@alphaville alphaville merged commit 75f919f into master Mar 14, 2026
9 checks passed
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