OpenMDAO / dymos

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

`run_problem` should allow recorder objects as arguments. #1058

Closed robfalck closed 3 months ago

robfalck commented 7 months ago

Proposed feature.

When attempting to specify the name of the file to use for a case recorder via the run_problem interface, dymos expects a string rather than a recorder object. This makes it impossible to set other options of the recorder, such as append.

The argument should be changed to accept recorder objects in addition to strings. This would preserve the current behavior but allow more detailed specification of the recorder to be used.

Example

No response