csu-hmc / opty

A library for using direct collocation in the optimization of dynamic systems.
http://opty.readthedocs.io
Other
92 stars 20 forks source link

Invalid bounds are ignored without raising a warning or an error #99

Closed tjstienstra closed 1 month ago

tjstienstra commented 1 year ago

While debugging one of my own problems. I finally found out one of the reasons it was invalid, namely my bound was just being ignored as it was not directly a normal parameter. I would prefer that instead an error is raised, which can easily be done by adding an else statement here.

moorepants commented 1 year ago

Seems like a good suggestion.

moorepants commented 1 month ago

This has been fixed at some point.