Simulation step fails with shape error when parameter is an N-dimensional array
Simulation step fails with shape error when parameter is an N-dimensional array: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). Sometimes a parameter input to a Dymos ODE needs to be something other than a scalar or 1-D array. One…
The task
Sometimes a parameter input to a Dymos ODE needs to be something other than a scalar or 1-D array. One such situation might be when the ODE describes 6 degree of freedom motion, where the Moment of Inertia matrix of the body whose motion you want to simulate is a parameter for the phase and trajectory.