OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
212 stars 67 forks source link

API Change for setting values #1072

Closed kaushikponnapalli closed 5 months ago

kaushikponnapalli commented 6 months 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 6 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

coveralls commented 5 months ago

Coverage Status

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