OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
195 stars 64 forks source link

API Change for setting values #1072

Closed kaushikponnapalli closed 1 month ago

kaushikponnapalli commented 1 month ago

Summary

Changed API for setting values in dymos. Now use phase.set_state_vals(), phase.set_control_vals(), etc., to set initial guesses. This unifies the API across all transcriptions and simplifies the process of changing from one to the other.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

review-notebook-app[bot] commented 1 month ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

coveralls commented 1 month ago

Coverage Status

coverage: 92.15% (-0.3%) from 92.463% when pulling a0358b8bc3633ec0f4138aa6acabc238a528c520 on kaushikponnapalli:set_vals into 8a82d7afe66ff99abc136287bc0ebbcea59eefec on OpenMDAO:master.