8000 Detect Nan and Inf in merit function based line search by FreyJo · Pull Request #1166 · acados/acados · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Detect Nan and Inf in merit function based line search #1166

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

Merged
merged 10 commits into from
Jul 24, 2024

Conversation

FreyJo
Copy link
Member
@FreyJo FreyJo commented Jul 24, 2024

This PR adds Nan and Inf detection in merit function based line search. If Nan/inf is encountered during the evaluation of the merit function, the step size is decreased. If Nan/inf is encountered during the early termination check, no second-order corrections are performed.

Follow-up: backtrack if new linearization results in NaN or infeasible QP.

@FreyJo FreyJo requested a review from sandmaennchen July 24, 2024 10:59
@sandmaennchen sandmaennchen merged commit fc14fb1 into acados:master Jul 24, 2024
10 checks passed
@sandmaennchen sandmaennchen deleted the nan_detection branch July 24, 2024 11:55
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
0