Skip to content

Conversation

@dpo
Copy link
Member

@dpo dpo commented Jan 28, 2026

fixes #355

Copilot AI review requested due to automatic review settings January 28, 2026 16:53
dpo added a commit to JuliaSmoothOptimizers/SolverTest.jl that referenced this pull request Jan 28, 2026
Copy link
Contributor

Copilot AI left a 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 TronSolver to 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.

dpo and others added 3 commits January 28, 2026 12:46
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
@github-actions
Copy link
Contributor

Package name latest stable
FletcherPenaltySolver
JSOSuite
PartiallySeparableNLPModels
Percival

@github-actions
Copy link
Contributor

Package name latest stable
FletcherPenaltySolver
JSOSuite
PartiallySeparableNLPModels
Percival

dpo added a commit to JuliaSmoothOptimizers/SolverTest.jl that referenced this pull request Jan 28, 2026
@dpo dpo closed this Jan 28, 2026
@dpo dpo reopened this Jan 28, 2026
@github-actions
Copy link
Contributor

Package name latest stable
FletcherPenaltySolver
JSOSuite
PartiallySeparableNLPModels
Percival

@dpo
Copy link
Member Author

dpo commented Jan 28, 2026

The failures seem to connected to the pre-release version of Julia.

@dpo dpo merged commit 0f1946c into main Jan 28, 2026
39 of 46 checks passed
@dpo dpo deleted the tron-patch-pfeas branch January 28, 2026 22:46
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.

TRON does not set stats.primal_feas

1 participant