opensim-org / opensim-moco

Solve optimal control problems for musculoskeletal models using OpenSim and direct collocation.
https://opensim.stanford.edu/moco
Apache License 2.0
56 stars 15 forks source link

Further exploit sparsity in computing derivatives #30

Open chrisdembia opened 6 years ago

chrisdembia commented 6 years ago

See:

chrisdembia commented 6 years ago

This likely requires moving the differentiation code into its own class(es), so that we can compute finite differences for any function.

chrisdembia commented 6 years ago

A simple thing to do is for the Trapezoidal class, do not assume that initial and final time are coupled to every other variable (this is not the case in the implicit double pendulum).