rcognita.solvers.create_CasADi_integrator

rcognita.solvers.create_CasADi_integrator(system, state_init, action_init, max_step)

Create a CasADi integrator for a given system.

Parameters
  • system (System) – The system for which to create the integrator.

  • state_init (numpy.ndarray) – Initial state of the system.

  • action_init (numpy.ndarray) – Initial action of the system.

  • max_step (float) – Maximum step size for the integrator.

Returns

CasADi integrator for the system.

Return type

casadi.integrator