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

Interaction of using a restart file with fix_final=True on states. #799

Closed
1 of 4 tasks
robfalck opened this issue Aug 7, 2022 · 0 comments · Fixed by #804
Closed
1 of 4 tasks

Interaction of using a restart file with fix_final=True on states. #799

robfalck opened this issue Aug 7, 2022 · 0 comments · Fixed by #804
Assignees

Comments

@robfalck
Copy link
Contributor

robfalck commented Aug 7, 2022

Issue Type

  • Bug
  • Enhancement
  • Docs
  • Miscellaneous

Description

When using a restart file, the initial guess of the state history is loaded from the given case. If any of the states are set to fix_final=True, the desired final state will be overridden during the restart file load.

For now, we should raise an error the user uses restart with fix_final=True on any state or control in the phase.
The error should instruct the user to use add_boundary_constraint on the state or control instead of a fix_final=True.

Example

TBD

Environment

dymos 1.5.1-dev

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 a pull request may close this issue.

2 participants