dymos icon indicating copy to clipboard operation
dymos copied to clipboard

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

Open robfalck opened this issue 1 year ago • 0 comments

Issue Type

  • [x] 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

robfalck avatar Aug 07 '22 18:08 robfalck