Skip to content

Dymos 0.18.0

Compare
Choose a tag to compare
@robfalck robfalck released this 21 Jan 13:56
· 361 commits to master since this release
40dfad2

Release Notes for Dymos 0.18.0

January 21, 2021

This release of Dymos brings a few improvements and bug fixes.

We've implemented introspection for boundary and path constraints such that units and shapes of the constrained quantities can be determined during the setup process and no longer are required to be specified.
The use of solve_segments to have a solver converge the dynamics and thus provide a shooting method at the optimizer has been improved. Option solve_segments can now take on values 'forward' or 'backward' to provide forward or backward shooting.
Linkage constraints will now result in an error if the quantity on each side of the linkage is governed by the optimizer (is a design variable) but is fixed in value (not allowed to be varied).

Backwards Incompatible API Changes & Deprecations

  • The command line interface is deprecated due to inconsistent behavior. #505

Enhancements

  • Changed CoerceDesvar to handle vector values for ref/ref0/scaler/adder. Carried over changes to for defect ref/defect scaler. #464
  • Changed solve_segments to allow it to be used when neither fix_initial nor fix_final are True. #490
  • Added detection of unsatisfiable linkage constraints (where quantities on both sides cannot be changed by the optimizer). #502
  • Added introspection for boundary and path constraints. #506

Bug Fixes

  • Fixed a bug with using grid refinement if one or more of the states are vector-valued. #492
  • Fixed issue where show_plots argument to run_problem is permanently changing matplotlib backend. #497
  • Fixed a bug where trajectory.simulate() would crash if trajectory were not named the common 'traj' name. #500
  • Fixed a bug that prevented restart from working with multiphase trajectories, and now include static parameters in the solution file. #510
  • Fixed a bug associated with polynomial control rate sources, and added coverage of more cases. #513
  • Fixed exception when simulating a trajectory with a parameter for which None was declared as the target for one of its phases. #515

Miscellaneous

None