Skip to content

Refactor of the Radau Transcription#1233

Open
robfalck wants to merge 7 commits into
OpenMDAO:masterfrom
robfalck:radau_new_bug
Open

Refactor of the Radau Transcription#1233
robfalck wants to merge 7 commits into
OpenMDAO:masterfrom
robfalck:radau_new_bug

Conversation

@robfalck

@robfalck robfalck commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Summary

RadauNew was failing the vanderpol_delay_mpi case due to an odd sizing issue.
We found a duplicate connection both at the transcription level and within the RadauIterGroup.
Removing the transcription-level dupliation removed the sizing issue.

The behavior was such that OpenMDAO was acting as if it expected local sizes for src_indices rather than the global size. Still unclear why this error manifested in the way it did.

This refactor makes the additional boundary ODE option (defaulting it to OFF for existing behavior). In some cases having this extra ODE might improve numerical conditioning, but this implementation is true

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

@robfalck robfalck marked this pull request as draft May 7, 2026 14:47
…method.

  RadauNew (dymos/transcriptions/pseudospectral/radau_new.py) is a new Radau implementation with the following improvements over the original:

  - Tighter solve_segments loop via RadauIterGroup, enabling forward/backward shooting without a phase-level Newton solve over the full trajectory
  - Exposes initial_states:{name} and final_states:{name} as explicit phase-level variables (_has_initial_final_states = True), replacing StateInputComp
  - Removes the redundant boundary ODE system; initial/final control values and rates are sourced directly from ControlInterpComp (control_boundary_values:*, control_boundary_rates:*)
:
@robfalck robfalck changed the title Fixed a bug in the new radau transcription that caused double linkages from the ODE to the interpolation. Refactor of the Radau Transcription May 14, 2026
@coveralls

coveralls commented May 14, 2026

Copy link
Copy Markdown

Coverage Status

Coverage is 79.317%robfalck:radau_new_bug into OpenMDAO:master. No base build found for OpenMDAO:master.

@robfalck robfalck marked this pull request as ready for review May 15, 2026 13:04
@robfalck robfalck requested a review from Kenneth-T-Moore May 15, 2026 13:04
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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