Skip to content

Return best inner solution#388

Open
alphaville wants to merge 6 commits intomasterfrom
feature/325-best-inner-solution
Open

Return best inner solution#388
alphaville wants to merge 6 commits intomasterfrom
feature/325-best-inner-solution

Conversation

@alphaville
Copy link
Owner

@alphaville alphaville commented Mar 16, 2026

Main Changes

  • Return best PANOC half-step on early exit
  • Update GitHub PR template
  • Code optimisations: using cached values instead of recomputing

Associated Issues

Target versions

  • OpEn version 0.11.1

Checklist

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

Issues:
- addresses #325

About:
- cache the feasible half-step with the lowest FPR seen so far
- return that cached point instead of the last half-step
- report the corresponding best FPR and recomputed cost
- add tests for best-half-step caching and premature termination
@alphaville alphaville self-assigned this Mar 16, 2026
@alphaville alphaville added enhancement New feature or request rust issue related to the code Rust library labels Mar 16, 2026
@alphaville alphaville changed the title Feature/325 best inner solution Return best inner solution Mar 16, 2026
@alphaville alphaville marked this pull request as ready for review March 16, 2026 17:24
@alphaville alphaville mentioned this pull request Mar 16, 2026
5 tasks
- cache gradient and projection-distance squared norms in PANOC
- derive squared FPR values inline from norm_gamma_fpr (already computed)
- update PANOC tests accordingly
- remove the redundant  evaluation in
- add a unit test that counts cost function calls
@alphaville alphaville mentioned this pull request Mar 16, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request rust issue related to the code Rust library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Always return best solution of inner problem

1 participant