8000 Stagewise translate by dirkpr · Pull Request #1481 · acados/acados · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Stagewise translate #1481

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

< 8000 /div>
Merged
merged 3 commits into from
Mar 27, 2025
Merged

Stagewise translate #1481

merged 3 commits into from
Mar 27, 2025

Conversation

dirkpr
Copy link
Contributor
@dirkpr dirkpr commented Mar 26, 2025

Refactor the external cost translation into three specialized methods:

  • translate_cost_0_term_to_external (initial)
  • translate_cost_term_to_external (intermediate)
  • translate_cost_e_term_to_external (terminal)

This modular approach simplifies translation based on yref_0, yref, yref_e and W_0, W, W_e definitions without requiring direct handling of parameters (p, p_values, p_global, p_global_values).

@dirkpr dirkpr requested a review from FreyJo March 26, 2025 16:16
@FreyJo FreyJo merged commit d421545 into acados:main Mar 27, 2025
14 checks passed
@FreyJo FreyJo deleted the stagewise_translate branch March 27, 2025 12:38
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