Projection on epigraph of sq. Euclidean norm: algorithmic improvements#384
Merged
alphaville merged 14 commits intomasterfrom Mar 14, 2026
Merged
Projection on epigraph of sq. Euclidean norm: algorithmic improvements#384alphaville merged 14 commits intomasterfrom
alphaville merged 14 commits intomasterfrom
Conversation
About: - Implementaiton of epigraph of sq. norm as constraint - Basic unit test - Documentation
About: - algorithmic improvements for better num. stability - better documentation
5 tasks
- 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main Changes
Ball1and other Rust constraints, better unit tests covering corner casesPriority
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
CHANGELOG(s)CHANGELOG,Cargo.tomlandVERSION)