Skip to content

Fix primal scale bug in compute residual#78

Closed
LucasBoTang wants to merge 12 commits intoMIT-Lu-Lab:mainfrom
LucasBoTang:fix/compute_residual
Closed

Fix primal scale bug in compute residual#78
LucasBoTang wants to merge 12 commits intoMIT-Lu-Lab:mainfrom
LucasBoTang:fix/compute_residual

Conversation

@LucasBoTang
Copy link
Collaborator

@LucasBoTang LucasBoTang commented Feb 4, 2026

The place of

state->absolute_primal_residual /= state->constraint_bound_rescaling;

in compute_residual seems wrong.

@ZedongPeng
Copy link
Collaborator

Yeah. This is a bug that will only be triggered in the L_INF norm.

@ZedongPeng
Copy link
Collaborator

Let's create a new PR.

@ZedongPeng ZedongPeng closed this Feb 7, 2026
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.

2 participants