opty
opty copied to clipboard
Instance constraints should also be able to contain non state functions
determine_free_index
in _find_closest_free_index
assumes that the free variables that are time varying used in the instance constraints are by definition states. This may not actually be the case. A simple example is a torque that should be periodic or something.