brocksam / pycollo

General-purpose optimal control, trajectory optimisation and parameter optimisation using direct collocation
https://brocksam.github.io/pycollo/
MIT License
8 stars 3 forks source link

Fix bug with `me.dynamicsymbols` for initial and final state variables #89

Closed brocksam closed 1 year ago

brocksam commented 1 year ago

Auto-generated data containers for initial and final time state variables were being constructed with invalid names and without correct keys from user symbols in their mappings. This PR adds tests for these cases and fixes the bug.