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.
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.