Skip to content
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

Fix slack function update in CONL, NLS module #1039

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

FreyJo
Copy link
Member

@FreyJo FreyJo commented Feb 16, 2024

No description provided.

@FreyJo FreyJo merged commit adb1244 into acados:master Feb 19, 2024
5 checks passed
@FreyJo FreyJo deleted the fix_slack_function_update branch February 19, 2024 09:37
FreyJo added a commit that referenced this pull request Feb 20, 2024
…1040)

In some places `tmp_ux` and `ux` where used in a mixed way, i.e.
`compute_fun` of constraint modules and what was fixed in #1039
- fixes bug when using globalization and cost computation
- fixes bug in globalization with slacks. Constraint was evaluated with
slack values from SQP iterate instead of values from the line search
candidate

Implementation:
- Removed all `tmp_*` pointers in SQP submodules
- Always evaluate at `ux`
- When one wants to evaluate at another iterate, these pointers have to
be temporarily set to another iterate and afterwards reset to the
nominal SQP iterate, as done in `ocp_nlp_evaluate_merit_fun` now.
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.

None yet

1 participant