-
Notifications
You must be signed in to change notification settings - Fork 15
Tron: check and record primal feasibility #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR aims to fix issue #355 by ensuring TRON computes and records primal feasibility (bound-constraint violation) in stats.primal_feas / primal residual.
Changes:
- Adds preallocated workspace in
TronSolverto compute primal feasibility. - Computes a primal feasibility norm during initialization and each iteration and writes it into execution stats.
- Updates the termination condition to require both projected-gradient optimality and primal feasibility.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
The failures seem to connected to the pre-release version of Julia. |
fixes #355